HomeTools › UTM Builder
FREE TOOL · PERFORMANCE MARKETING

UTM Campaign URL Builder

Generate clean, consistent UTM-tagged links — with a check for medium values GA4 won't recognise, so your traffic doesn't land in "Unassigned."

By the Digital Hangover team · Updated August 2026 · Free, no signup

Build your link

The page you're sending traffic to.
Where the traffic is coming from — e.g. facebook, newsletter, google
The marketing channel type — e.g. cpc, email, social, referral
Identifies this specific promotion or push — e.g. diwali_2026_leadgen
Paid search keyword this ad targets, if relevant.
Differentiates two links or ads pointing at the same URL — e.g. carousel_ad vs video_ad
Fill in the required fields above

Generated entirely in your browser. Only the finished link is saved — locally, in this browser — for the history list below; nothing is sent to us.

Your last 10 links

Saved in this browser only, so a refresh mid-session doesn't lose them. Clear your browser data and this list clears too.

Nothing generated yet this session.

Quick answer: UTM parameters are tags you add to a URL — utm_source, utm_medium, utm_campaign, and optionally utm_term and utm_content — so analytics tools like GA4 can tell you exactly where a visit came from. Source, medium and campaign are effectively required; term and content are for extra detail within one campaign.

How to use this builder

  1. Paste the destination URL — the exact page the link should land on.
  2. Fill in source, medium and campaign. These three are what every analytics tool actually uses to classify the visit.
  3. Watch the medium field. If you type a value GA4's default channel grouping won't recognise, a note appears — not an error, just a flag worth a second look.
  4. Add term or content only if this link needs that extra detail — a paid search keyword, or a way to tell two ads on the same campaign apart.
  5. Copy the link. It's also saved to your history below in case you're building several for the same campaign.

Why the medium value is the one that actually matters

Source and campaign are free text — GA4 will store whatever you type. Medium is different: GA4's default channel grouping tries to match your medium value against a known set to decide whether a session counts as Paid Search, Organic Social, Email, Referral, or one of a handful of other channels. Type something it doesn't recognise — "Facebook Ads" instead of "cpc" or "social", say — and the session doesn't fail to track, it just lands in the wrong channel, or in "Unassigned", in every report you or a client pulls afterward.

Channel you wantMedium values GA4 recognises
Paid Searchcpc, ppc, paidsearch
Paid Socialpaid-social, paidsocial
Organic Socialsocial, social-network, social-media, sm, social network
Emailemail, e-mail, e_mail, e mail
Referralreferral
Affiliatesaffiliate
Displaydisplay, banner, expandable, interstitial, cpm

This is GA4's own default set — it isn't exhaustive, and you can build custom channel groupings on top of it. But if you have no reason to deviate, matching the default list means your reports classify traffic correctly without any extra configuration.

Rules worth knowing before you tag a link

  • Be consistent, every time. "Facebook", "facebook" and "FB" register as three different sources to GA4. Pick a convention — we use all lowercase, underscores instead of spaces — and never deviate.
  • Never tag internal links. A UTM-tagged link between two pages on your own site starts a new session in GA4, which corrupts your source data. UTM tags are for links you send off-site: ads, emails, social posts, partner sites.
  • Avoid spaces in values. Some platforms encode them, some don't, and the inconsistency shows up as inconsistent-looking data later. Use hyphens or underscores instead.
  • Agree on the convention across your team before the campaign launches, not after. Retagging live links after the fact means losing continuity in the data you already collected.

Once your links are tagged and traffic is flowing, the reporting side of this lives in GA4 — our GA4 setup guide covers getting the property configured correctly in the first place, and conversion tracking covers making sure the visits this tool tags actually count as something once they land.

Key takeaways: Source, medium and campaign are the three values that matter most — medium especially, since it drives GA4's channel classification. Stay consistent in casing and spelling, never tag internal links, and agree on a naming convention with your team before a campaign goes live, not after.
Beyond the link

We manage the campaigns these links report on

A clean UTM link only matters if someone is watching what it reports back.

Explore performance marketing →