Comment on SEO AdSense WordPress Theme by Héctor.
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
More Comments by Héctor
AdSense Theme Options
Adding Google Analytics AdSense Tracking Code
Hi David,
I upgraded to 6.2. At the same time changed domain (two changes at the same time… bad), anyways, when I try to use Google Analytics for checking Adsense reports for the same blog (new theme + new domain)… I …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
AdSense Ads Plugin
David,
I do not want to throw in more features requests at this time, just was thinking about a plugin once I used for “controlling” when Adsense ads showed up on my blog. The reasoning behind that plugin was that regular …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Google Analytics WordPress Widget Works
It works well, thanks Dave.
Héctor …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Google Analytics Widget
Thanks
I added the widget. I have to wait.
Thanks
Héctor …
Continue Reading Stallion AdSense Theme