StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Where to put analytics code (http://www.studiopress.com/support/showthread.php?t=8592)

novoads 05-08-2009 01:26 PM

Where to put analytics code
 
I have Crazyegg and was wondering where I should put the analytics code?

Its supposed to go right before the </body> but I dont see this in the index.php or home.php files. Where should it go and in which file? I'd like to put it on the home page.

Thanks!

Debra 05-08-2009 02:27 PM

Re: Where to put analytics code
 
you will find </body> in footer.php

fritzwenzel 06-22-2009 09:37 AM

Re: Where to put analytics code
 
This was very helpful to me, a novice at this stuff. But I am wondering - does pasting the analytics code just once in the footer php just before the body tag cover me for all of my pages, or will that only track the home page? Seems like it would track each page, but I need to be sure - I have some 50 pages on my site, and I would want each tracked separately. Please advise, anybody. Many thanks.

CharlesClarkson 06-22-2009 10:05 AM

Re: Where to put analytics code
 
Quote:

Originally Posted by fritzwenzel
This was very helpful to me, a novice at this stuff. But I am wondering - does pasting the analytics code just once in the footer php just before the body tag cover me for all of my pages, ...

Yes. The </body> has to be on every page and it is only located in the footer.php file.


HTH,


All times are GMT -5. The time now is 05:05 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.