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 article helpful?
Yes
No