Skip to content
Performance Marketing Hub
Analytics, Tracking & Privacy

UTM Builder Guide: How to Build Tagged URLs and Name Them So Reports Stay Clean

A UTM builder is a tool that appends utm_source, utm_medium, utm_campaign and optional tags to a landing page URL, so GA4 can credit the visit to the right source, medium and campaign. The builder is the easy part: a fixed, lowercase naming convention decides whether the tagged traffic lands in the right channel.

Maxim Baeten
By Freelance digital performance marketer
Updated 7 min read

Key takeaways

  • A UTM builder adds utm_source, utm_medium and utm_campaign, plus optional tags such as utm_id, utm_term and utm_content, to a landing page URL so GA4 can attribute the visit to a source, medium and campaign.
  • Google's free Campaign URL Builder marks website URL, campaign source and campaign medium as required fields and asks for a campaign name or a campaign ID.
  • GA4 treats UTM values as case sensitive, so utm_source=Google and utm_source=google show up as two separate sources in reports.
  • GA4 default channels are assigned from fixed source and medium values, so a medium such as social_paid or newsletter can land paid social or email clicks in the wrong channel.
  • Google Ads auto-tagging is on by default for new accounts and GA4 gives it priority over manual tags, so Google Ads links need no utm_source, utm_medium or utm_campaign.

A UTM builder is a tool that adds campaign tags such as utm_source, utm_medium and utm_campaign to a landing page URL, so Google Analytics 4 can credit each visit to the right source, medium and campaign. Google's free Campaign URL Builder tags one link at a time, while spreadsheets and ad platforms tag at scale.

The tool you pick matters less than the values you type into it. GA4 sorts tagged traffic into channels with fixed rules, so a creative medium name can quietly move paid clicks into the wrong channel. This guide covers the parameters, the steps, the builder options and a naming convention that holds. It is part of our analytics, tracking and privacy hub.

What does a UTM builder do, and which parameters does it add?

A UTM builder takes a destination URL and a few campaign values and returns one tagged link with those values as query parameters. GA4 reads the parameters when the visitor lands and stores them as the session's source, medium and campaign. Without tags, GA4 relies only on the referrer, or counts the visit as Direct.

UTM parameters are query string tags that start with utm_ and describe where a click came from. Google's URL builder documentation lists nine of them:

  • utm_source: the referrer, such as google, newsletter4 or billboard.
  • utm_medium: the marketing medium, such as cpc, banner or email.
  • utm_campaign: the product, slogan or promo, such as spring_sale.
  • utm_id: a campaign ID. Google says to use the same IDs you use when you upload campaign data.
  • utm_term and utm_content: the paid keyword, and a value that separates creatives or links in one message.
  • utm_source_platform: the platform that sends the traffic, for example Search Ads 360 or Display & Video 360.
  • utm_creative_format and utm_marketing_tactic: creative type and targeting. Google states that GA4 does not report either one yet.

Google says you "should always use utm_source, utm_medium, and utm_campaign", and that missing tags show up as "(not set)" in reports.

How do you add UTM parameters to a URL with Google's Campaign URL Builder?

To add UTM parameters to a URL, open Google's free Campaign URL Builder, paste the landing page URL, fill in source, medium and a campaign name or ID, then copy the generated URL. The tool builds the query string for you, so you never have to type ampersands or question marks by hand.

The field labels below come from the tool's open source code on GitHub, as of October 2026.

  1. Paste the landing page. Enter the full address in "website URL", including https://. The tool warns you if the URL is invalid or points to an app store.
  2. Set the source. Type the referrer in "campaign source", for example linkedin or newsletter. This field is required.
  3. Set the medium. Type the channel in "campaign medium", for example paid_social or email. This field is required too.
  4. Name the campaign. Fill in "campaign name", "campaign ID" or both. The helper text says one of the two is required.
  5. Add detail only where it helps. Use "campaign content" to tell two links in one email apart.
  6. Copy the generated URL. Use the copy button next to "generated URL". Leave "Set campaign parameters in the fragment portion of the URL" unchecked, since the tool itself labels that option "not recommended".

Which UTM builder fits your team?

The right UTM builder depends on how many links you tag and how many people tag them. Google's Campaign URL Builder suits one person tagging a few links. A shared spreadsheet suits teams, because it can enforce a fixed list of values. Ad and email platforms suit recurring campaigns, because they can tag every link automatically.

OptionFitsEnforces a naming conventionCost
Google Campaign URL BuilderOne person, a handful of linksNo, free text fieldsFree
Shared spreadsheet templateTeams tagging many links by handYes, with dropdowns and formulasFree with Google Sheets or Excel
Builders inside ad platformsPaid social, Microsoft AdvertisingPartly, with dynamic valuesIncluded in the platform
Builders inside email toolsNewsletters and automationsPartly, with default valuesIncluded in the email tool
Dedicated link management toolsAgencies and large teamsYes, with rules and approvalsPaid, prices vary by vendor
UTM builder options compared on fit, control and cost, as of October 2026.

Platform builders differ in what they fill in for you. Meta's URL tags accept dynamic values such as {{campaign.name}} and {{ad.name}}, but the name is a snapshot from when the ad was first published. Constant Contact can add utm_source=constant_contact once you switch on its UTM tracking toggle. For email, connect tagging to your email automation workflows so every automated message carries the same values.

How should you name UTM parameters so GA4 channels stay clean?

A clean UTM naming convention uses lowercase values from a fixed list, one source per platform and one medium per channel, chosen so each medium matches a GA4 default channel rule. GA4 assigns channels from those values, so the convention is what decides whether a click lands in Paid Social, Email or Unassigned.

Google's default channel group rules are fixed and "can't be edited".

Trafficutm_sourceutm_mediumGA4 default channel
Paid LinkedIn or Meta adslinkedin, facebook, instagrampaid_social or cpcPaid Social
Organic social postslinkedin, facebooksocialOrganic Social
Newsletter and automationsnewsletter, hubspotemailEmail
Partner or affiliate linkspartner nameaffiliateAffiliates
Banner and programmaticnetwork namedisplayDisplay
SMS messagessmssmsSMS
Fixed source and medium values that land in the intended GA4 default channel.

Worked example, hypothetical. A team tags LinkedIn ads with utm_medium=social_paid. Paid Social requires a medium that matches ^(.*cp.*|ppc|retargeting|paid.*)$. The value social_paid contains no "cp" and does not start with "paid", so the clicks fall through to Organic Social. In the same account, utm_medium=newsletter misses the Email rule, which needs email, e-mail, e_mail or e mail as source or medium.

Channel rules ignore case, but reports do not. Google notes that utm_source=google differs from utm_source=Google, so mixed spellings split one source into several rows.

When should you skip UTM parameters?

Skip UTM parameters wherever another system already identifies the click, or where a tag would overwrite better data. The three main cases are Google Ads with auto-tagging, links between pages of your own site, and clicks from AI assistants and other platforms that add their own tags.

  • Google Ads with auto-tagging. Auto-tagging adds a gclid to each click and "is turned on by default for new accounts". GA4 gives it priority over manual tags, with no override option. Google's traffic-source documentation adds that only manual utm_content and utm_term still fill their own dimensions. For extra detail, use ValueTrack parameters such as {campaignid}, {keyword} and {device} in the tracking template. Tracking setup is the first area a Google Ads audit should check.
  • Microsoft Advertising with UTM auto-tagging. PPC Land reported in June 2026, ahead of the planned September 2, 2026 start, that Microsoft Advertising's auto-tags would differ by campaign type, for example msads with cpm for Audience ads. Do not stack your own tags on top.
  • Internal links. A tag on a homepage banner tells GA4 that a new campaign started and pushes the real source out of the attribution.
  • AI assistant clicks. Assistants add their own tags. Read how Gemini referral traffic is tagged before you write rules around it.

To check a tagged link, click it yourself, open the GA4 Realtime report, and confirm the source, medium and campaign appear as typed. Then check the "Traffic acquisition" report a day later and confirm the sessions sit in the intended default channel, not in Unassigned or Organic Social.

Four checks catch most errors:

  • Test every template once. One test click per source and medium pair is enough.
  • Read the right dimension. Google says UTM parameters are omitted from "Landing page + query string" and "Page path + query string". Look for the full tagged URL in "Page location".
  • Watch Unassigned. A rising Unassigned channel almost always means new mediums that match no rule.
  • Mind redirects. Short links and redirects must keep the query string intact, or the tags never reach the page.

GA4's attribution models can only credit the channels your tags put clicks in.

Common mistakes with UTM builders and naming conventions

Most UTM problems come from the people and processes around a UTM builder, not from the builder itself. The same few mistakes split one source into several rows, push paid clicks into organic channels or erase the real referrer, and each one has a fix that a shared value list or a platform setting can enforce.

  • Typing values freehand. People spell sources differently. Fix it with dropdowns of approved values in a shared spreadsheet.
  • Inventing mediums. Values like social_paid, newsletter or influencer match no GA4 channel rule or the wrong one. Map every medium to a channel before you use it.
  • Mixing case. Facebook and facebook split one source. Use lowercase everywhere.
  • Tagging Google Ads by hand. Auto-tagging already wins in GA4, so manual tags only add noise. Use ValueTrack for extra detail.
  • Tagging internal links. Internal tags erase the real source. Track internal clicks as events.
  • Relying on name macros after renames. Meta's name macros keep the name from first publish. Use ID macros such as {{campaign.id}} when you rename campaigns often.
  • Expecting AI tags to stay stable. Search Engine Roundtable reported on October 14, 2026 that ChatGPT links lost their utm_source=chatgpt.com tag, and updated the story when the tag came back after what was described as a bug. Background is in the ChatGPT referral traffic guide.

FAQ

Which UTM parameters do I actually need on a link?

Use utm_source, utm_medium and utm_campaign on every tagged link, because Google says those three should always be set and missing ones show up as (not set). Add utm_content when one message has several links or creatives, and utm_id if you import campaign data. Skip utm_creative_format and utm_marketing_tactic for GA4, because Google says GA4 does not report them yet.

Is the Google Analytics campaign URL builder free?

Yes. Google's Campaign URL Builder is a free web tool on the Google Analytics Demos and Tools site. It builds one URL at a time, so teams that tag many links usually move to a shared spreadsheet or to the tagging fields inside their ad and email platforms.

Should I add UTM parameters to my Google Ads ads if auto-tagging is on?

Usually not. With auto-tagging, Google Ads adds a gclid to each click and GA4 uses the auto-tagged values for source, medium and campaign, even if UTM tags are also present. Only utm_content and utm_term still fill their manual dimensions, so add those if you want extra detail in GA4.

Can I use UTM parameters on links inside my own website?

No. A UTM tag on an internal link, such as a homepage banner, tells GA4 that the visit came from a new campaign and pushes the real external source out of the attribution. Track internal promotions with an event or a click trigger in Google Tag Manager instead.

Do capital letters matter in UTM parameters?

Yes, for reporting. GA4 shows utm_source=Facebook and utm_source=facebook as two separate rows, even though the default channel rules themselves ignore case. Pick lowercase for every value and enforce it in your builder or spreadsheet.

Sources and further reading

Maxim Baeten
Written byMaxim Baeten

Digital performance marketer from Belgium, specialised in lead generation for B2B (SaaS) software companies. Full-time freelancer since January 2019.