Set up tracking for a Shopping campaign

As of October 31, 2018, only a small group of click measurement providers have been approved to measure specific ad interaction events on Google-hosted properties for Showcase Shopping ads, local inventory ads (LIA), and Model Automotive ads. To make sure your ads don't serve without measurement, the Google Ads team has paused all ad groups making third-party calls to unapproved providers. 

Unless you have authorized your account to continue running the impacted ads, previously created ads will be paused to prevent them from serving without measurement.

Learn more about measuring ad interactions on Google-hosted pages with click measurement providers

You can use dynamic tracking URLs to track the traffic coming to your website from Google Shopping. To do this, you'll need to use the ads_redirect attribute in your product data to tell us where to send your traffic. Once you've set up this attribute, a user who clicks on your ad will be taken to the location in the ads_redirect attribute instead of the ones you set in the link or mobile_link attributes. Learn more about the ads_redirect attribute

You can also use Google Ads tracking templates for your Shopping campaigns to specify additional tracking information. For example, you can add custom parameters or ValueTrack parameters to your tracking templates.

We recommend that you use the {unescapedlpurl} ValueTrack parameter in your tracking template. ValueTrack parameters work with third-party tracking software and Google Analytics to help you fine-tune your campaigns for better performance.

Instructions

Add dynamic tracking templates to your product group

  1. Sign in to your Google Ads account.
  2. On the Campaigns page, click the campaign you want to edit.
  3. Click Product groups from the page menu.
  4. Click the columns Columns icon .
  5. Expand the Attributes section, and then check the boxes next to Custom parameter and Tracking template.
  6. Click Apply to save your changes.
  7. If the product group that you want to edit has subdivisions, expand it to see those subdivisions.
  8. For each subdivision in the Tracking template or Custom parameter column, click the pencil iconEdit, to add custom parameters and tracking templates

Add dynamic tracking templates to your Shopping campaign

  1. Sign in to your Google Ads account.
  2. On the Campaigns page, click the campaign you want to edit.
  3. Click Settings on the page menu.
  4. Under Shopping campaign settings, click Additional settings.
  5. Click Campaign URL options and then add tracking template information and custom parameters.
  6. Click Save once you’re done.

 

Examples of product group and campaign tracking templates

Here are some examples of how to use the ValueTrack parameters. In all cases, we'll refer to the 'ads redirect' attribute specified in your product data. However, if there is no 'ads redirect' attribute specified in your product data, we'll refer to the URL from the 'link' attribute.

Using redirects with your tracking templates

If you'd like to work with redirects in your tracking templates, here are some examples of how your product group and campaign tracking templates could be set up.

Example

If your "ads redirect" attribute indicates the following URL:

https://www.retailer-example.com/electronics-televisions-3.php

and you want your URLs to serve as the following:

https://www.semtracker-example.com/media/redir.php?prof=12&camp=345&affcode=kw67&cid=890&networkType=search&url[]=https://www.example.com/electronics-televisions-3.php

then you can set your tracking template as follows:

https://www.semtracker-example.com/media/redir.php?prof=12&camp=345&affcode=kw67&cid=890&networkType=search&url[]={unescapedlpurl}

Tracking templates can be defined at the account, campaign, ad group, and product group level. Learn more about tracking templates

Using custom parameters with your tracking templates

If you'd like to use custom parameters with your tracking templates, learn more about managing tracking and redirects.

Keep in mind

If you add tracking templates on multiple levels, Google Ads will use the most specific one. For example, if you have an ad group and product tracking template, the product group tracking template will be used.

If your tracking templates include ValueTrack parameters that indicate keyword information, like the parameter {keyword}, then those parameters will be blank for Shopping ads. That's because Shopping ads use product groups and not keywords to show your ads.

Related links

Was this helpful?
How can we improve it?