About AdSense in Analytics
AdSense lets you earn money by using a Google display tool on your website to host third-party ads that are relevant to your audience.In this article:
Manage your AdSense and Analytics integration
If you use AdSense, you can link an AdSense account to Analytics so you can use Analytics to give context to your AdSense data and get a better understanding of your performance. You must use the same email address in Analytics and AdSense to link your accounts, and have edit or admin permission in both accounts.
For each property, you can decide which views to use for reporting.
If you want to maintain your Analytics account without AdSense data, you can also disable AdSense reporting in Analytics.
To manage these settings:
- Sign in to your Analytics account.
- Select the Admin tab.
- Navigate to your account and property.
- In the PROPERTY column, click AdSense Linking.
Data discrepancies between AdSense and Analytics
If you see significant data discrepancies between the reports in your AdSense account and those in the AdSense section of Analytics, keep in mind these points:
- Analytics only records data for AdSense content ad units, and doesn't include link units, search boxes, mobile ads, or any other AdSense products.
- You must include Analytics tracking code on every webpage running AdSense for content ad units to match in both Analytics and AdSense reports.
If your tracking code and account are set up correctly, and you see data discrepancies in your AdSense and Analytics reports, it might be caused by one of the following:
- Iframes: AdSense uses an iframe to serve ads. Browsers that don't support the <iframe> tag don't report an impression in Analytics. This can result in Analytics counting more pageviews than AdSense counts impressions.
- Security or other blocking software: Software that can block content, like firewalls, ad blockers, or other 3rd party image blockers, can also block AdSense impressions. Users with these kinds of installations are still counted in Analytics, but AdSense impressions and data won't be counted in your Analytics reports.
- New AdSense/Analytics integration: It can take up to 24 hours after you link your AdSense and Analytics accounts before data is collected. If you've recently configured your AdSense or Analytics code, or recently linked your accounts, wait at least 24 hours before data appears in your reports. AdSense data that was collected before you linked your accounts cannot appear in Analytics.
- Timezone settings: If the timezones in your Analytics and AdSense accounts don't match, each product aggregates data into different time periods for the same displayed date in the reports. Edit a property to change the timezone in Analytics.
- Analytics view filters: Analytics lets you create different reporting views. You can add filters to views to exclude specific data, so you can customize the data you see in your reports. AdSense data associated with sessions that are filtered out of an Analytics view are also excluded from all the Analytics reports in that view. Learn more about filters in Analytics.
- Missing Analytics data: If any Analytics data isn't collected, like if the tracking code didn't execute, the AdSense data associated with that missing Analytics data is also not reported in Analytics.
For more information on AdSense please refer to the following articles: