Comment on SEO AdSense WordPress Theme by Héctor.

AdSense Publisher ID Hi Dave,

greetings. I wonder how is the best way to implement “Adsense Tracking” from Google Analytics for secondary domains.

Details:
I can use GAnalytics for tracking details of Adsense activity for my Primary Adsense domain (I just added my PUB-number in the right field of “Stallion SEO Theme : Main Options” section). I works great.**

However, I cannot track the same Adsense details for my secondary domain (Using GAnalytics, I can track website activity, but no Adsense details).

I search Google, and it explains that I need to do the following:

From my GAnalytics > All Accounts > Select my account > Data Sources > Adsense. There, I see my secondary domain, and there is a window called:

Secondary Adsense domains

It says:
In order to report data on secondary AdSense domains, a code snippet must be added to every webpage in the domain where tracking is desired.

The snippet’s specific instruction reads:
Add HTML code to secondary AdSense domains.
The following code must be added to the top of every webpage of that contains AdSense ads.

This is the snippet

window.google_analytics_uacct = “UA-xxxxxxx-xx”;

The questions are:
– Where is the best part to add this snippet?
– Since, the snippet contains my PUB-number… do I need to remove my PUB-number from “Stallion SEO Theme : Main Options” section** to avoid duplicity of statistics?

In my previous themes, no Stallion, I used to add snippets to the header.php, but with Stallion, I’m not sure for two reasons:
a) I’m not sure if I need to remove my PUB-number as explained above **
b) I’m not sure where in the php files, I should put the snippet without damaging the great work you have done coding Stallion.

Thanks in advance for your help

Héctor