Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Extra Code for Tracking Adsense in Google Analytics - All pages?

5:34 pm on Jan 22, 2009 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2003
posts: 309
votes: 0

The instructions for the extra snippet of code to track Adsense says to add the snippet to "a" page. What exactly does that mean? Can I add it to my header thus having it show up on "all" pages without causing trouble or am I limited to adding it to one page. It is for a wordpress site.

Thanks in advance.

12:06 am on Jan 23, 2009 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 61

the analytics code must be on each page you want tracked.
otherwise there is no signal to tell GA what has been served.
i would also suggest putting any tracking codes in your footer to improve page load and rendering times.