Tag Docket

Platform pack

UTM parameters for Google Ads

Where the tracking goes in Google Ads, what its dynamic values fill, the rules the pack checks, and a worked link. Read from the Google Ads pack, version 2026.09.1.

Documentation page monitored Verified September 28, 2026

Where the tracking goes

In Google Ads, the pack puts UTM parameters in Final URL suffix. The pack also knows about: Final URL, Tracking template, Custom parameters.

The platform’s own click ID parameter is gclid. The pack records that GA4 derives campaign data from it.

Source values the pack recognizes for this platform: google, googleads, google_ads, adwords.

Google Ads macros (dynamic values)

Dynamic insertion means the platform replaces a token with the real value, such as a campaign ID, when the ad is clicked. Tag Docket leaves these tokens untouched. Syntax: single braces.

Token What it fills Recommended for Valid in Note
{campaignid} Campaign ID utm_id Final URL, Tracking template, Custom parameters
{adgroupid} Ad group ID Final URL, Tracking template, Custom parameters
{creative} Ad ID utm_content Final URL, Tracking template, Custom parameters
{keyword} Matching keyword utm_term Final URL, Tracking template, Custom parameters Blank for AI Max, DSA and Performance Max
{matchtype} e exact, p phrase, b broad, a AI Max Final URL, Tracking template, Custom parameters
{network} g search, s partners, d display, ytv YouTube, x Performance Max Final URL, Tracking template, Custom parameters
{device} m mobile, t tablet, c computer Final URL, Tracking template, Custom parameters
{devicemodel} Device model Final URL, Tracking template, Custom parameters Display only
{placement} Placement criterion Final URL, Tracking template, Custom parameters
{target} Placement category Final URL, Tracking template, Custom parameters
{targetid} Keyword, DSA, remarketing or product partition ID Final URL, Tracking template, Custom parameters
{loc_physical_ms} Geographic click location ID Final URL, Tracking template, Custom parameters
{loc_interest_ms} Location of interest ID Final URL, Tracking template, Custom parameters
{gclid} Google click identifier Final URL, Tracking template, Custom parameters Limited in Performance Max
{feeditemid} Feed or legacy asset ID Final URL, Tracking template, Custom parameters
{extensionid} Asset ID Final URL, Tracking template, Custom parameters
{random} Random 64-bit integer Final URL, Tracking template, Custom parameters
{ignore} Marks tracking as non-substantive Final URL
{ifmobile:} Value when clicked on mobile Final URL, Tracking template, Custom parameters
{ifnotmobile:} Value when clicked on desktop or tablet Final URL, Tracking template, Custom parameters
{ifsearch:} Value when clicked on Search Final URL, Tracking template, Custom parameters
{ifcontent:} Value when clicked on Display Final URL, Tracking template, Custom parameters
{lpurl} Final URL, escaped unless first in the template Tracking template
{unescapedlpurl} Final URL, never escaped Tracking template
{escapedlpurl} Final URL with : / ? = % escaped Tracking template
{lpurl+2} Final URL escaped twice Tracking template
{lpurl+3} Final URL escaped three times Tracking template

Which UTM field each value is for

Google Ads fills these in when the ad is clicked (ValueTrack). With auto-tagging on, GA4 already gets campaign data from the gclid, so these mainly help other tools that read UTMs. {keyword} is empty for Display and Demand Gen, which have no keywords.

  • utm_id={campaignid}. The Google Ads campaign ID.
  • utm_term={keyword}. The keyword that matched — the classic use of utm_term.
  • utm_content={creative}. The ad (creative) ID, so GA4 can tell ads apart.

Source, medium and campaign stay your own values, from your naming convention.

Rules and pitfalls

The pack checks a link against these before it is minted.

  • Blocks

    Parallel tracking is the only click measurement method, so the tracking template loads in the background and never reaches the browser. GA4 reads UTMs from the landing page URL, so a UTM set only here is not read.

  • Warns

    {lpurl} is inserted unescaped only at the very start of a template. Anywhere else Google escapes ? = " # tab ' and space, so moving the token silently changes the encoding of every URL in the account.

  • Advises

    With auto-tagging on, GA4 takes source, medium and campaign from gclid, not from these UTMs. Only utm_content and utm_term reach reporting, as Manual Ad Content and Manual Term.

A worked example

Built from the base preset’s convention: lowercase, _ between parts, utm_source={platform}, utm_medium={channel} and utm_campaign={season}_{offer}_{service}. Here the platform is google, the channel is cpc (Paid search) and the campaign is spring26_freeestimate_roofing.

Parameters for Final URL suffix:

utm_source=google&utm_medium=cpc&utm_campaign=spring26_freeestimate_roofing

With the pack’s recommended values added:

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

On a plain landing-page link, the same three values read:

https://example.com/free-estimate?utm_source=google&utm_medium=cpc&utm_campaign=spring26_freeestimate_roofing

Where GA4 files it. Medium cpc lands in: Paid Search for search engines, Paid Other otherwise. See every medium and its GA4 channel.

For Google Ads, the pack notes that GA4 derives campaign data from the click ID, so see the rules above before expecting these values in channel reports.

How this pack is monitored

Documentation page monitored. The help page is fetched and only the parameter table is fingerprinted, so unrelated edits do not raise alarms.

The pack is verified (last verified September 28, 2026). Version 2026.09.1, effective September 28, 2026. Source: support.google.com/google-ads/answer/6305348.

Related

Questions

Where do I put UTM parameters in Google Ads?
Tag Docket's Google Ads pack puts them in Final URL suffix. Google Ads fills these in when the ad is clicked (ValueTrack). With auto-tagging on, GA4 already gets campaign data from the gclid, so these mainly help other tools that read UTMs. {keyword} is empty for Display and Demand Gen, which have no keywords.
Does Google Ads have dynamic URL macros?
The pack lists 27 ({campaignid}, {adgroupid}, {creative}, {keyword}, and more). The single braces syntax is the platform's own, and Tag Docket passes it through unchanged.
Is the Google Ads pack verified, and how is it monitored?
Verified on September 28, 2026. Documentation page monitored: The help page is fetched and only the parameter table is fingerprinted, so unrelated edits do not raise alarms.

Bring the spreadsheet. We’ll show you the registry.

Start a free trial, no card needed. Your team signs in with an email link, no passwords.