Start for free

Google Ads UTM builder

UTM tags for Google Ads in one minute: pick the campaign type and ValueTrack parameters, copy the Final URL suffix — and see which GA4 channel the clicks will land in.

1
2
Campaign type
3
UTM tags — click a {parameter} to insert it; Google fills it in on every click
Type the campaign name, or use {campaignid} (always correct, but a number), or {_campaign} — a custom parameter you set once per campaign.
4Extra parameters for your CRM or analytics (optional)
Many campaigns at onceOne suffix per campaign — a CSV for Google Ads Editor

Uses the tags above; each line becomes utm_campaign. In Google Ads Editor: Account → Import → From file (columns Campaign and Final URL suffix).

All ValueTrack parametersWhat Google can put into your links — click to copy
ParameterWhat you getExampleWorks in
Campaign ID20481234567All campaigns
Ad group ID153412345678Search, Display, Video, Shopping
Ad ID678901234567Search, Display, Video
The keyword that matched the search (Search) or the content (Display)running shoesSearch, Display
Keyword match type: e exact, p phrase, b broadeSearch
ID of the keyword (kwd-), audience (aud-), dynamic ad target (dsa-) or product partition (pla-)kwd-123456789Search, Display, Shopping
Where the click came from: g Google Search, s search partners, d Display, ytv YouTube, vp video partners, x Performance MaxgAll campaigns
Device: m mobile, t tablet, c computermAll campaigns
Phone or tablet modelApple+iPhoneDisplay
The website or app where the ad was shownexample.comDisplay, Video
ID of the place where the click happened (Google’s geo target IDs)1012820All campaigns
ID of the place the person searched for1012820Search, Shopping
ID of the asset (sitelink, callout…) that was clicked31234567890Search
Product ID from your Merchant Center feedsku-1042Shopping, Performance Max
online or localonlineShopping
The final URL — only at the start of a tracking templatehttps://your-shop.com/saleTracking template
Your own custom parameter, e.g. {_campaign} — you set its value in each campaignspring-saleWhere you define it

How to add UTM parameters to Google Ads

  1. Choose the campaign type — the builder fills in utm_source and utm_medium the way Google Analytics 4 expects.
  2. Name the campaign, and pick the ValueTrack parameters you want: {keyword} for the search term that matched, {creative} for the ad, {campaignid} for the campaign.
  3. Copy the Final URL suffix and paste it in Google Ads: campaign → Settings → Campaign URL options → Final URL suffix. To tag every campaign at once, use Admin → Account settings → Tracking.
  4. Click your ad’s preview (or use “Test” next to the URL options) and check that the page opens with the tags.

Final URL suffix or tracking template?

The Final URL suffix is added to the end of your landing page address, after a ? or an & — Google takes care of which one. It is the simplest way to add UTM tags, and changing it at account, campaign or ad group level doesn’t send ads back to review.

A tracking template starts with {lpurl} (your final URL) and is meant for third-party trackers that redirect the click. If you don’t use such a tracker, you don’t need a template. Don’t put the same UTM tags in both places.

ValueTrack parameters in UTM tags

ValueTrack parameters are placeholders in curly brackets. On every click Google replaces them with real values, so one suffix works for all keywords and ads:

The full list with examples is in the table above the article.

Recommended setup by campaign type

Auto-tagging (gclid) and UTM tags

Keep auto-tagging on — Google Ads adds gclid to every click and uses it for conversions and bidding. When Google Ads is linked to Google Analytics 4, GA4 usually takes the campaign data from gclid, and your UTM tags show up next to it. UTM tags still matter: your CRM, your shop, Matomo, Plausible or any other tool sees only UTM tags, not gclid — and they keep working if auto-tagging is ever switched off.

Why Google Ads traffic shows as “Unassigned” in GA4

GA4 sorts visits into channels by utm_source and utm_medium. Tags like utm_source=Google Ads or utm_medium=paid-search-ads don’t match its rules and end up in “Unassigned”. Use google and cpc — the builder shows which channel your tags will land in before you publish them.

Rules that keep reports clean

  1. Always lowercase — “Google” and “google” are counted separately.
  2. No spaces: use dashes.
  3. One naming rule for the whole team, for example 2026-12_black-friday_lv.
  4. Don’t tag links between pages of your own website.

Questions and answers

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

For Google Analytics 4 linked to Google Ads, auto-tagging is enough. UTM tags are for everything else — your CRM, shop, other analytics tools — and they make links readable when you share them.

Where do I paste the Final URL suffix?

In the campaign: Settings → Campaign URL options → Final URL suffix. For the whole account: Admin → Account settings → Tracking. A suffix set lower down (ad group, ad, keyword) wins over one set higher up.

Will changing the suffix reset my ads or learning?

No. Changing the Final URL suffix or tracking template at account, campaign or ad group level doesn’t send ads back to review and keeps their statistics.

Can I use the campaign name instead of the ID?

There is no ValueTrack parameter for the campaign name. Type the name in utm_campaign for each campaign, or create a custom parameter {_campaign} in every campaign and use it in one account-level suffix.

Why is {keyword} empty in Performance Max?

Performance Max doesn’t report a keyword per click. Use {campaignid}, and {network} if you want to see where the click came from.

Is anything sent to your server?

No. The tags are built in your browser. Nothing you type leaves your computer.