Set up the code to track your AdSense sites in Analytics
To see AdSense reporting in Analytics for a webpage, that webpage must contain:
- The AdSense code used to show ads
- The Analytics tracking code
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:
- The Analytics tracking code, placed just before the closing </head> tag
- The AdSense ad code, between the <body> and </body> tags
Was this helpful?
How can we improve it?