Use Google Analytics with AdSense

Set up the code to track your AdSense sites in Analytics

To see AdSense reporting in Analytics for a webpage, that webpage must contain:

Please note that the order of the code snippets is very important. We recommend that you place the snippets in your webpage's HTML in the following order:

  1. The Analytics tracking code, placed just before the closing </head> tag
  2. The AdSense ad code, between the <body> and </body> tags

Was this helpful?

How can we improve it?
true
Unlock your revenue with personalized tips today!

Visit the Optimization tips for AdSense page to see personalized suggestions to maximize your revenue.

Unlock now