For Analytics to display details about keywords and costs from your linked Google Ads account, you need to do one of the following:
- Enable auto-tagging. This is the recommended approach and ensures that you get the most detailed Google Ads data.
- Manually tag all your keyword final URLs with tracking variables. You should only do this in the special case outlined below.
How auto-tagging works
Auto-tagging automatically imports Google Ads data into Analytics. Combining Google Ads data with the rich post-click information provided by Analytics allows you to see what happened on your site after people clicked on your ads.
When you enable auto-tagging, a parameter called gclid is added to your landing page URL when a user clicks over to your site from an ad. For example, if your site is www.example.com, when a user clicks on your ad it appears in the address bar as:
www.example.com/?gclid=123xyz
Enable auto-tagging
To enable/disable auto-tagging:
- In your Google Ads account, click the Admin icon .
- Click Account settings.
- Click the Auto-tagging section. If the box next to “Tag the URL that people click through from my ad” is checked, auto-tagging is on. To turn it off, uncheck the box and click Save.
Learn more about the Benefits of auto-tagging.
Special case
Your website doesn't allow arbitrary URL parameters
A small percentage of websites do not allow arbitrary URL parameters and serve an error page when auto-tagging is turned on. Consult with your webmaster to find out if this is the case, or you can perform a brief test to see if your website allows arbitrary parameters. If you get an error, you may need to ask your webmaster to allow arbitrary URL parameters.
To check if an arbitrary URL parameter can be persisted to your landing page, follow these instructions:
- Copy the landing page URL from your Google Ads Landing pages page and paste into your browser.
- Add a test URL parameter manually.
- Navigate to the page by pressing enter.
- Check to see if the parameter you entered is still present in the URL box and the page loads successfully.
Example
example.com/foo?bar=Tester123
example2.com/foo?page=123&bar=Tester123
If allowing URL parameters is not a workable solution, you can tag your links manually. However, manual tagging can be time consuming and will only allow you to see a subset of Google Ads data.
Use caution when manually tagging your links. Tag your actual final URLs with parameters. If you try to use a redirect from a final URL to another URL + parameters, your Google Ads data won't be transmitted to Analytics.