Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

UTM Parameters for Google Ads: Final URL Suffix, Tracking Templates and ValueTrack

Google Ads gives you three places to put tracking: the final URL, the final URL suffix and the tracking template. This guide explains which to use for UTM parameters, lists the ValueTrack parameters that fill them dynamically, and clears up how manual tags and auto-tagging work together.

The EndFrame Team6 min read

You want campaign, keyword and ad information on every Google Ads click, but you do not want to edit hundreds of final URLs to get it. Google Ads has a built-in way to add parameters once and fill them dynamically, but it also has three overlapping fields, a parameter language called ValueTrack, and auto-tagging running in the background. This guide explains which field to use for UTM parameters, what to put in it, and how it all works with the gclid. For the broader decision about auto-tagging itself, see our comparison of auto-tagging and manual UTM tagging.

Final URL, final URL suffix and tracking template

FieldWhat it doesUse it for UTMs?
Final URLThe landing page the ad points toNo: keep it clean so tracking changes never mean editing ads
Final URL suffixParameters appended to the landing page URLYes: the standard place for UTMs
Tracking templateA tracking URL that wraps the landing page, must contain {lpurl}Only if a third-party tracker needs it
Custom parametersYour own named values, such as {_campaign}Yes: to feed readable values into the suffix

Google documents that these URL options can be set at account, campaign, ad group, ad, keyword and sitelink level, and that the most specific level wins when more than one is set. Changes at account, campaign and ad group level apply without sending ads back for review; changes at ad, keyword and sitelink level go through review. That is the practical reason to set your suffix once at account level and override it only where you must.

Parallel tracking changes how templates behave

With parallel tracking, Google sends the visitor straight to the final URL while the tracking URL is requested in the background. Google lists parallel tracking as mandatory for Search, Shopping, Display, Video and Performance Max campaigns. In practice this means anything the visitor's browser must see, including your UTMs, belongs in the final URL suffix, because the suffix is what ends up on the landing page. A tracking template is only for a separate measurement tool that records the click on its own server.

The ValueTrack parameters worth using

ValueTrack parameters are placeholders in curly brackets that Google replaces at click time. The ones most useful for UTMs, as described in Google's reference at the time of writing:

  • {campaignid}: the campaign ID. Ideal for utm_id.
  • {adgroupid}: the ad group ID.
  • {creative}: a unique ID for the ad. Good for utm_content.
  • {keyword}: the keyword in your account that matched the search. Blank for Dynamic Search Ads, Performance Max and AI Max matches without a keyword.
  • {matchtype}: e for exact, p for phrase, b for broad.
  • {network}: where the click came from, for example g for Google Search, s for search partners, d for Display, ytv for YouTube and x for Performance Max traffic.
  • {device}: m for mobile, t for tablet, c for computer.
  • {placement}: the content site where the ad was clicked, for keyword-targeted campaigns.

{lpurl} and its variants work only in the tracking template, because they insert the final URL into a tracking URL. They are not needed in the suffix. Google also notes that {ignore} can be used only in the final URL. Everything else in the list above can go in a final URL, a tracking template or a custom parameter, and in practice the suffix is where most advertisers put them, because one string then covers every ad in the account.

A final URL suffix you can copy

Set this at account level, in Admin, Account settings, under the tracking options, in the Final URL suffix field:

utm_source=google&utm_medium=cpc&utm_campaign={_campaign}&utm_id={campaignid}&utm_term={keyword}&utm_content={creative}

Google does not offer a campaign name ValueTrack parameter in its reference, so the template uses a custom parameter, {_campaign}, that you define on each campaign under its URL options with a lower case, hyphenated value. If maintaining that is too much work, drop utm_campaign and rely on utm_id with the campaign ID, which you can map to names in reports or a spreadsheet. Lower case matters: UTM values are case sensitive, so Brand and brand become two campaigns.

Performance Max, Shopping and campaign-level overrides

One account-level suffix will not suit every campaign type equally. Performance Max and Dynamic Search Ads have no keyword for most clicks, so {keyword} arrives empty and utm_term is blank; that is expected, not a fault. {network} returns x for all Performance Max traffic, so it cannot tell you whether a click came from Search, YouTube or Display inside that campaign. If you need a different structure for one campaign type, set a campaign-level suffix on those campaigns. Because the most specific level wins, the campaign suffix replaces the account suffix entirely rather than adding to it, so copy the full string and change only what you need.

The same rule catches people out in reverse. An old ad-level or ad group-level suffix, left over from a previous agency or a one-off test, silently overrides your new account-level value for those ads. Before relying on the account suffix, add the tracking columns to your campaign, ad group and ad tables and look for anything set at a lower level.

How UTMs and auto-tagging work together

Auto-tagging adds a click identifier, the gclid, to every click. Our guide to gclid, gbraid and wbraid explains the identifiers in detail. When a click carries both a gclid and UTM parameters, and the Google Ads account is linked to GA4, GA4 uses the auto-tagging data for source, medium and campaign by default. Your UTMs do not break anything; GA4 simply prefers the gclid unless you change that behaviour.

So why add UTMs at all? Because GA4 is not the only system reading the landing URL. Your CRM, form tool, call tracking and any first-party tracker read UTM values directly and cannot resolve a gclid on their own. A suffix gives every one of those tools the campaign and keyword in plain text, while GA4 and Google Ads keep using the gclid. Leave auto-tagging switched on: the gclid is what Google Ads and a linked GA4 property use to tie each click to its campaign.

Testing before the change goes live

  1. 1Save the suffix at account level and check that no campaign, ad group or ad has its own suffix that would override it.
  2. 2Click a live ad in a private window, or use the ad preview tool, and confirm the parameters appear with real values, not literal brackets.
  3. 3Check that your site's redirects keep the query string; a trailing slash redirect is a common place to lose it.
  4. 4Confirm in GA4 Realtime that the session appears as google / cpc with the expected campaign.

If parameters disappear somewhere between the click and the report, our checklist for UTM parameters not showing in GA4 goes through the causes in order.

Where the UTMs end up

A consistent suffix means every lead form, CRM record and analytics tool knows the campaign and keyword behind a visit, even when it cannot read the gclid. EndFrame's first-party tracker captures both the UTM values and the click ID when the visitor lands and keeps them on the lead record. It does not upload conversions to Google Ads; it sends server-side conversions to GA4, Meta, TikTok and a webhook, which you can use to feed a CRM or your own import process.

Frequently asked questions

Do I need UTM parameters if auto-tagging is on?

Not for GA4, if the Google Ads account is linked: GA4 classifies auto-tagged clicks from the gclid. You need UTMs when other tools, such as a CRM, a form tool or a non-Google analytics product, have to know which campaign a visit came from, because those tools cannot read the gclid.

Is there a ValueTrack parameter for campaign name?

The ValueTrack reference lists {campaignid}, the campaign ID, rather than a campaign name parameter. To send a readable name, create a custom parameter such as {_campaign} at campaign level and reference it in your suffix, or use the ID and look names up later.

What is the difference between a tracking template and a final URL suffix?

A tracking template defines a tracking URL, usually a third-party redirect, and must include a URL insertion parameter such as {lpurl}. A final URL suffix is simply appended to the landing page URL. For plain UTM parameters the suffix is the right place.

Why does GA4 show my Google Ads campaign as (not set)?

Usually because the clicks are auto-tagged but the Google Ads account is not linked to the GA4 property, so GA4 cannot look up the campaign behind the gclid. Link the accounts in GA4 admin, and allow time for data to process.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading