Adsense Tracking for Mutiple Domains in Google Analytics
When I decided to show Google Ads to one of my blogs, I could not find the way to track my Adsense earnings for that particular blog with Google analytics because I already added one domain to my Analytics account. Normally, when you add the first domain to Google analytics, it starts tracking your Adsense by default-you do not have to do anything. The problem arise when one need to add the second domain for tracking his earnings. However, with the help of a little search Google revealed me some useful information on how to add multiple Adsense domains to your Google analytics in order to tracking all of your earnings spread across different domains. Here I will explain my scenario in details: I had two blogs-the first one with Adsense tracking enabled (it is done by analytics by default) and the other one without it. The second domain that I wanted to track my earnings was not my primary domain. Usually, Google analytics will let you track the primary domain’s Adsense earnings without any hassle, which is basically part of the default settings. The scenarios described below are applicable to those analytics accounts which need to track the secondary domain for Adsense earnings.
My Scenario: I had already added one domain to my analytics account to monitor my Adsense earnings and wanted to add the second one, but I could not find a way to do so . If that is your case too, then you have to add your second domain in question to analytics and next open the tracking profile. You can open your tracking profile by clicking on the edit button under the website profile of that domain. A new window called profile setting will come up, and on the top right side-just below checking status- there is an edit option, click on it. When you click on the edit you will see a new window open up will some options: one such option is enable Adsense tracking. Just enable it and then copy the code. Remember that this code is not the code you pasted on your blog for tracking visitors’ data. Rather, this is the code which will help you to track only the Adsense earning details of your second blog or domain. Normally, add this code at the top of your blog code. In my case, I used this code in my WordPress blog’s post.php file because I only show ads in my posts, not in the front page or index page. In case you show ads on your home page you can add these codes at the beginning of the index.php file..
So, the things that you have to do to enable Adsence tracking for your second domain are:
- At first logon to your analytic account and add your blog for tracking.
- Secondly, add the extra code given by Analytic to your own blog (at the beginning of the page where you want to show your ads)
- Finally, to check that if your Adsence tracking is working fine, you need to click on the content option of your analytic (on the left sidebar) and then click on Adsense.
Note: I’ve implemented all these settings with Analytics’ older version because I found that one has much easier to use interface. If you are using the new version, then you can switch back to your old version only for this purpose can then come back to the new version when you’ve implemented the tracking code.
If you are using the new version of Google analytics, then you can get the extra snippet for Adsense tracing by from the Admin section. To get this tracking snippet, log on to your Analytics account, then on the rigth side click on "Admin". next, click on the profile name under the section "Name"; then click on "Data Sources". after that click on "Adsense. Under "Usage in Analytics" click on the down arrow and select the domian that you want to track for your Adsense earnings. Now, click on "code sinppet" and add this code just after th <body> tag section of your blog. By visiting the Adsense page in your analytics,you can check if your code is working or not.
If everything is fine then you will see the blank data fields in the content section of your dashboard-which means that you have successfully installed the tracking code to track Adsense earnings for your secondary domain. For more clarification you can check out Google Analytic help page.
The other useful articles about Adsense tracking in multiple domains are: