Integrating Google Analytics

Google Analytics is a powerful tool that helps you keep track of how people use your website. It provides information about your users, such as where they're coming from, how long they stay, and how they move through your website.

With AdWords, the focus is on getting users to your website, but that's only half the battle: Google Analytics fills the gap by providing insight into what users do once they arrive. When using both together, you can track things like which ads lead to the most clicks and conversions, so you can optimize your campaigns to focus on your best-performing ads.


Setup involves linking your Analytics and AdWords accounts, and turning on auto-tagging.

Linking Google Analytics and AdWords

If you use the same login for both your Google Analytics account and your AdWords account, they are already linked. Otherwise, you'll need to manually link them according to these directions.

This one-time setup cannot be performed via the API, so you'll need to log in to the AdWords web interface to link the accounts.

Linking goes both ways, so in addition to getting Analytics data in your AdWords account, you'll also be able to access AdWords data in your Google Analytics account.

Turning on auto-tagging

Auto-tagging is an account-wide feature that applies to all ads and campaigns in your account. When enabled, tracking information is added to the URL so the landing page can determine which specific ad was clicked. With this information, Google Analytics can understand the relationship between a given visit to your landing page and the ad that triggered that view from AdWords.

When using Google Analytics with your AdWords account, it's essential to turn on auto-tagging, if you haven't already. This is done by setting the boolean value in the Customer class within CustomerService to true. Auto-tagging can also be enabled via the AdWords web interface.


Once you've successfully linked your AdWords and Google Analytics accounts and imported the Analytics data into AdWords reports through the AdWords web interface, the additional Analytics columns begin appearing in your AdWords reports. These columns show statistics about what users do on your website after clicking an ad. These statistics aren't just for your landing page, but for your site as a whole. The table below describes the four Google Analytics columns in the AdWords API.

Column Description
BounceRate The percentage of clicks that hit your site, but didn't do anything else; they just landed and left.
AverageTimeOnSite Average time users were on your site after clicking an ad.
AveragePageviews Average number of pages on your website users visited after clicking an ad.
PercentNewVisitors An estimate of the percentage of users clicking an ad who have never visited your site before.

The API supports all Analytics report types. Analytics columns are available in these reports, so you can break down the data at whatever level you like within your account. To ensure the columns are correctly populated, verify your setup steps from Add Google Analytics Data to AdWords Reports.

Analytics API

Linking your AdWords and Google Analytics accounts allows you to see some basic statistics from Google Analytics, but it also allows you to fetch AdWords-specific data using the Google Analytics API.

Once you sign up for the Google Analytics API, you can use it to run queries that fetch AdWords data using the Core Reporting API. You can get fields like CampaignID, AdGroupID, and CriterionID to match up data from Google Analytics with its source in AdWords. You can read about how to set up and make these requests in the Google Analytics article on AdWords integrations. We also provide a list of AdWords dimensions available in the Google Analytics API.


Note that remarketing via the AdWords API is independent from remarketing set up in Google Analytics+AdWords accounts. You cannot share remarketing lists between the two, and each method has its own reporting. For more information about remarketing in Google Analytics+AdWords, read these two articles:


Send feedback about...

AdWords API
AdWords API
Need help? Visit our support page.