• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to insert in the right way Google Analytics code

#1
[eluser]bob rock[/eluser]
Hi all,

It's first time I'm working with this framework. It has been installed in my web site from a third part.

I have inserted GA code in all php files in a folder called /application/views

There's a folder calld /application/controllers in which there are files with the same name of files in /application/views folder (for ex. virtual_tour.php). I haven't touched them. I'm afraid to make some mistakes and to break the web site. Now GA is tracking but I don't if I'm losing some contacts.

Does anybody know if I need to put GA code alsi in php files in /application/controllers ?

Thanks and ciao
Roberto

#2
[eluser]Aken[/eluser]
No, they only go in view files.

#3
[eluser]bob rock[/eluser]
[quote author="Aken" date="1341777829"]No, they only go in view files.[/quote]

Thanks Aken, very fast reply.
Ciao


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.