Free Tools / Google Ads Tracking Template Builder

Google Ads Tracking Template Builder

Build a final URL suffix or tracking template with UTM and ValueTrack parameters, so every Google Ads click arrives with the keyword, ad and device attached.

Runs in your browser. Nothing you type is sent or stored.Free, no sign-up, no email

Choose your parameters

Tick the parameters you want. Values in braces are ValueTrack parameters, which Google Ads fills in on each click. You can edit any value.

Your tracking setup

Sample values only. Google Ads fills in the real values on each click.

Unsure whether your Google Ads tracking is set up correctly? Talk it through with a Marquee specialist.

Book a free call

Final URL suffix or tracking template?

Both add tracking information to the landing page address of your ads. The final URL suffix is simply added to the end of your final URL. It is the easiest choice when you only need parameters such as UTMs. A tracking template builds the whole landing page address and is needed when clicks go through a third-party tracking service first. A template must contain {lpurl}, which Google Ads replaces with your final URL.

You can set either at account, campaign or ad group level. Changing them does not send your ads back for review.

ValueTrack parameters in this tool

  • {campaignid} and {adgroupid}: the IDs of the campaign and ad group.
  • {keyword}: the keyword that matched the search. It is blank for keywordless matches.
  • {matchtype}: the keyword match type, shown as e (exact), p (phrase), b (broad) or a (AI Max keywordless).
  • {creative}: the unique ID of the ad.
  • {network}: where the click came from, such as g for Google search or s for search partners.
  • {device}: m for mobile, t for tablet or c for computer.
  • {targetid}, {placement} and {loc_physical_ms}: the targeting criterion, the site of a Display or video click, and the ID of the clicker’s location.

Not every parameter works in every campaign type. Performance Max, for example, supports {campaignid} and {device} but not {keyword}, and Demand Gen does not support {keyword} or {network}.

Source: Google Ads Help, Set up tracking with ValueTrack parameters.

How to add it in Google Ads

  1. Build your suffix or template above and copy it.
  2. In Google Ads, open the account, campaign or ad group settings and find the tracking section for campaign URL options.
  3. Paste it into the final URL suffix or tracking template field and save.
  4. Click an ad preview or use the test option in Google Ads to check that the landing page still loads.

Frequently asked questions

Do I still need auto-tagging?

Yes. Auto-tagging adds the gclid parameter that Google Ads and Google Analytics use for conversion tracking. The suffix and template add information on top for your other tools.

Why use the campaign ID instead of the campaign name?

ValueTrack has no parameter for the campaign name, so the ID is the dynamic option. You can type a fixed campaign name instead at campaign level, or match IDs to names in your reports.

Can a tracking template break my landing pages?

It can if it is written wrongly, for example without {lpurl} or with a stray character. Test a click after you save, and keep the final URL suffix where you only need parameters, because it is simpler.