Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   [SOLVED] Google analytics in footer (http://forum.bytesforall.com/showthread.php?t=847)

ninjaraul Mar 18, 2009 07:45 AM

[SOLVED] Google analytics in footer
 
Hi, I've embedded the new analytics script in my footer.php, immediately preceding the </body> tag. Unfortunately, google is not picking up the connection and indicates that I haven't installed the code.

"View source" in Firefox shows the right stuff, right where it should be. So...I'm a bit stumped.

The link is http://www.kioskninjas.com/blog . Any advice or pointers are much appreciated!

ninjaraul Mar 18, 2009 09:15 AM

Well, I seem to have resolved it. Google provides this code:

Code:

try {
var pageTracker = _gat._getTracker("whatever");
pageTracker._trackPageview();
} catch(err) {}</script>

but in the help refers to the same code without the error trapping. I removed the try / catch bits and it's hooked up now. Off to tell google, I guess.

yosh66 Jul 8, 2009 10:42 AM

where do you add those code you got from google?

adding with the Google analytics code?

donna Aug 9, 2009 01:14 AM

Quote:

Originally Posted by yosh66 (Post 9738)
where do you add those code you got from google?

adding with the Google analytics code?

The instructions on where to put the code are in this thread http://forum.bytesforall.com/showthr...analytics+code


All times are GMT -6. The time now is 01:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.