PHP Question...
PHP Question...
Out of context: Reply #7
- Started
- Last post
- 9 Responses
- FredMcWoozy0
where is the best place to add google analytics to a php site?
I can't view the analytics to pick up. I have the script in the footer.php file. should i put it somewhere else?
Google says after the <body> tag but i can't find the body tag.
- google told me to do itFredMcWoozy
- do a text search in your .php files for "</body>" and put it after thatbigtrickIII
- analytics doesn't pick it up when its after the </body> tagFredMcWoozy
- you can put it anywhere really, they just recommend at the end so hitting google servers doesn't slow your page loadacescence
- just before the closing body tagacescence
- ill try again. its not showing up in the statsFredMcWoozy