How to insert in the right way Google Analytics code - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: How to insert in the right way Google Analytics code (/showthread.php?tid=53032) |
How to insert in the right way Google Analytics code - El Forum - 07-08-2012 [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 How to insert in the right way Google Analytics code - El Forum - 07-08-2012 [eluser]Aken[/eluser] No, they only go in view files. How to insert in the right way Google Analytics code - El Forum - 07-08-2012 [eluser]bob rock[/eluser] [quote author="Aken" date="1341777829"]No, they only go in view files.[/quote] Thanks Aken, very fast reply. Ciao |