Set up tracking for Dynamic Search Ads

Tracking your Dynamic Search Ads work similar to the tracking with ValueTrack parameters, but with one key difference - the Dynamic Search Ads landing page URL is dynamically generated. When you set up tracking, you can send potential customers to a specific landing page that has extra information in the URL, like the Dynamic ad target that triggered your ad or the type of device that the person who clicked your ad was using.

For example, if your final URL is and you wish to send people to the tracking template for your Dynamic Search Ad should include the ValueTrack parameters {lpurl}?tracking=123. The {lpurl} will be replaced by the dynamic landing page URL.

This article explains how to set up tracking for your Dynamic Search Ads (DSAs).

Create your tracking template

You can add a tracking template for your Dynamic Search Ads on the account, campaign, ad group, or Dynamic ad target level. Keep in mind that Google Ads will use the most specific one. For example, if you have a tracking template on the ad group level and on the Dynamic ad target level, the Dynamic ad target tracking template will be used.

In order to use tracking in your Dynamic ad groups, you will have to create a tracking template. You'll also need a ValueTrack parameter to populate your landing page. The ValueTrack parameter can return landing page addresses in a few different formats so check how your tracking software formats tracking URLs.

Once you have the correct format, replace the landing page URL in your third-party tracking URL with the recommended ValueTrack parameter to create a tracking template.

Your example landing page URL:

Your landing page URL with its tracking details Key features Recommended ValueTrack parameter Tracking template Doesn’t encode Landing page URL, ends with “tracking” string {lpurl} {lpurl}?device={device}&tracking=xyz


Third-party tracking URL Key features Recommended ValueTrack parameter Tracking template url= search%3Fcategory%3Dphones Encodes ?, =, ", #, \t, ', and [space] of Landing page URL, ends with search query {lpurl}{lpurl} url=https%3A%2F%2F %2Fsearch%3Fcategory%3Dphones Encodes :, /, ? and = of Landing page URL, ends with search query {escapedlpurl}{escapedlpurl} Landing page URL not included None, this format isn't supported. N/A

If you're using a third-party tracking software, you'll need to test if it's compatible with your Dynamic Search Ads in Google Ads. As a rule of thumb, Dynamic Search Ads work with third-party software if you can see the landing page within the software's tracking URL.

Example tracking URL Compatible?

Compatible. You can see the Landing page URL in the tracking URL.

Your Google Ads tracking template would be{lpurl}

Not compatible. You can’t see the Landing page URL in the tracking URL.

You cannot create a tracking template containing {lpurl}

If you don’t see the landing page URL within your software’s tracking URL, your software is not compatible with Dynamic Search Ads.

Our system will check your tracking templates and landing page links to confirm that they lead people who click your ad to the expected page. Google Ads will use the domain that you have provided to generate and test your links. If your final landing pages don't load successfully, then your ad may be disapproved.


Before you begin, you may have to add the "Tracking template" column to your table:

  1. Click Dynamic ad targets from the page menu on the left.
  2. Click the column icon Columns above the statistics table.
  3. Click Attributes, and then select Tracking template.
  4. Click Apply.

Set up tracking for your Dynamic ad target

  1. Click on the Dynamic ad targets page menu.
  2. Hover over any entry in the new “Tracking template” column, and click when the pencil appears.
  3. Enter {lpurl}, a question mark and then any ValueTrack parameters that you want to use, separated by ampersands (&). For example, if you want to use the {targetid} parameter, your tracking template would be: {lpurl}?targetid={targetid}
  4. Click Save.

Bear in mind

If your tracking templates include ValueTrack parameters that indicate keyword information, like the parameter {keyword}, then those parameters will be blank for Dynamic Search Ads, since Dynamic Search Ads do not use keywords. To help identify which target triggered the ad, we recommend using the parameter {targetID}.
Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Clear search
Close search
Google apps
Main menu
Search Help Centre