Clear search
Close search
Google apps
Main menu

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?
Sign in to AdSense

Sign in to AdSense to see help for your account

Don't have an AdSense account? Sign Up for AdSense!