Skip to content


How to Link Multiple Analytics Domains to AdSense Account

I had some trouble linking many domains to the same AdSense account.

Here’s how to do it.

Google Analytics code (before closing HEAD tag or BODY tag)

<script type="text/javascript">
window.google_analytics_uacct = "UA-YOUR-ANALYTICS-ID";</script>

And then insert your regular AdSense Code

<script type="text/javascript"><!--
google_ad_client = "pub-
YOUR-ADSENSE-PUBLISHER-ID";
google_ad_slot = "";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>

Finally, your Analytics tracking code.

<script type="text/javascript">
var analyticsFileTypes = [''];
var analyticsEventTracking = 'enabled';
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-YOUR-ANALYTICS-ACCOUNT-ID']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>

Currently, Google doesn’t allow you to link multiple analytics accounts to one AdSense account.
If you want to track AdSense data over multiple domains, you have to create individual profiles for each domain, within your main linked account.

Popular Tags

  • link adsense to multiple analytics
  • link adsense to google analytics multiple domains
  • multiple google accounts for adsense and analytics
  • linking adsense to multiple domain site
  • link adsense to multiple analytics account
  • link adsense analytics multiple profiles
  • linking AdSense account to Analytics additional domain
  • linking adsense account to multiple domins
  • linking adsense to analytics for multiple domains
  • linking adsense to multiple analytics accounts

Posted in Analytics.

Tagged with , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.