Back to the Blog
Essay

What Are UTMs and How to Use Them to Track Your Marketing

What are UTMs? They're tags you bolt onto a URL to track which campaign sent a visitor. Here's how they work and how to use them without wrecking your data.

By Sean Gowing
Mar 2, 20237 min read

You spent the budget. The traffic showed up. And when the boss asks which campaign actually drove it, the honest answer is a shrug. That shrug is the problem UTMs exist to kill.

So, what are UTMs? UTMs are short tags you add to the end of a link so your analytics can tell where a visitor came from — which source, which medium, which campaign. Click a tagged link, and that information rides along into Google Analytics, where you can finally see what worked instead of guessing. The name is a leftover from Urchin Tracking Module, the analytics company Google bought back in 2005. Nobody says "Urchin" anymore. We just say UTMs and move on.

Need a tagged link right now? Use our free campaign URL builder to generate clean UTM codes for Google Analytics in seconds, no sign-up, runs in your browser.

Here's the thing most "what are UTMs" guides skip: a UTM is only as good as the discipline behind it. Tag sloppily and you don't get insight, you get a (Other) bucket full of orphaned traffic and a slightly worse understanding of your own marketing than you had before. We'll get to that. First, the mechanics.

What are UTMs, exactly?

A UTM is a parameter you append to a URL. Plain link goes in, tagged link comes out:

/?utm_source=newsletter&utm_medium=email&utm_campaign=spring-launch

Everything after the ? is the tracking payload. Each utm_* parameter answers one question for your analytics. There are five of them, and only the first three matter most of the time:

  • utm_source — where the traffic came from. The specific origin: newsletter, google, linkedin.
  • utm_medium — the type of channel: email, cpc, social, referral.
  • utm_campaign — the specific push: spring-launch, black-friday, q3-webinar.
  • utm_term — the paid keyword (optional, mostly for search ads).
  • utm_content — which version of the link (optional, great for A/B tests: hero-button vs footer-link).

Source, medium, campaign. Get those three right and consistent, and you've done 90% of the job.

How do UTMs actually work?

When someone clicks a tagged link, the browser carries those parameters to your site as part of the URL. Your analytics platform — Google Analytics, most likely — reads them on the way in and files the session under the source, medium, and campaign you specified. No tags, no story: the visit lands in a generic bucket and you never learn what sent it.

That's the whole trick. UTMs don't do anything to your website. They're just labels you've pre-written so the analytics has something to sort by. The work isn't technical. The work is being consistent enough that email always means email and never Email, e-mail, or eml.

How to use UTMs to track your marketing

UTMs earn their keep on inbound links — the ones pointing at your site from somewhere else. Email blasts, social posts, paid ads, partner placements, that QR code on a conference banner. Anywhere a click crosses from someone else's turf onto yours, a UTM tells you who sent it.

Here's the operator workflow, minus the fluff:

  1. Decide what you're actually trying to learn. "Which channel drives demos" is a real question. "Track everything" is not a plan, it's a future mess. Pick the decision the data needs to inform, then tag for that.
  2. Use one builder, every time. Our campaign URL builder does the encoding for you so you're not hand-typing parameters and fat-fingering an ampersand at 11pm. Bookmark it. Make the whole team use it.
  3. Lock your naming convention before you tag anything. Lowercase. Hyphens, not spaces. A short list of approved mediums (email, cpc, social, referral) that nobody is allowed to freelance on. Write it down. This one document prevents more attribution pain than any tool.
  4. Test the link before it ships. Click your own tagged URL, then check that the session shows up under the right source and medium in GA4's real-time report. Two minutes now beats a week of confused reporting later.
  5. Read the report and actually change something. Once a month, open the traffic-acquisition view, sort by campaign, and cut what isn't pulling its weight. UTM data you never act on is just decorative.

The mistakes that quietly wreck your data

I've cleaned up enough broken attribution to spot the patterns from across the room. Three of them do almost all the damage.

Tagging your own internal links. This is the big one. If you put a UTM on a link that goes from one page of your site to another, you overwrite the real source — the campaign that originally brought that person in — with your internal label. You've just told Google the visitor came from your own footer button. Only ever tag inbound links. People do this constantly, and it silently corrupts the one number they care about.

Inconsistent values. Facebook, facebook, and FB are three different sources as far as analytics is concerned. So your real Facebook traffic gets shredded into three smaller piles, none of which tells the truth. This is also how good data ends up in the (Other) channel bucket — Google can't group an off-spec medium, so it gives up and dumps it there, where it never comes back. Consistency beats cleverness, every single time. We dug into exactly why in our breakdown of UTM formats and how they impact your pipeline.

Letting the tags die at the door. A visitor lands on your tagged page, then navigates around, then converts on a form three pages later — and by then the UTMs are long gone from the URL. If you're not capturing them on arrival, your form fill shows up as "direct" and the campaign gets zero credit. The fix is to grab the UTMs on landing and carry them through. We wrote up the Webflow version in capturing UTMs and passing them to a form, and the cross-domain case in persisting UTMs to a subdomain or other website.

Get those three wrong and it doesn't matter how diligently you tag — your attribution is fiction. Get them right and a UTM goes from a string of gibberish to a straight line from click to closed-won. If you want that line wired end to end — capture, persistence, and a CRM that actually believes the data — that's the whole point of our conversion tracking and analytics service.

Frequently asked questions

What's the difference between a UTM link and a regular link? A regular link just points to a page. A UTM link does the same thing but carries extra parameters that tell your analytics where the click came from. To the visitor they're identical; to your reporting, one is a data point and the other is a black hole.

Do UTMs work with any analytics platform? They were built for Google Analytics and work flawlessly there. Most other platforms — including many CRMs and marketing tools — also read utm_* parameters, but always confirm before you build a whole campaign on the assumption. A wrong assumption about field mapping is how an entire attribution chain quietly breaks.

Are UTMs bad for SEO? No, as long as you only use them on inbound links and not on the internal links search engines crawl. Tagging internal navigation can create duplicate URLs and muddy your crawl. Set a canonical tag and keep UTMs off your own internal links and you're fine.

How often should I look at my UTM data? Monthly is a sensible floor for most teams — enough cadence to spot a campaign that's tanking without obsessing over daily noise. The real rule isn't frequency, it's action: if you check the report and never change a thing based on it, you're collecting data for sport.

Do I have to tag every single campaign? No, and you shouldn't try. Tag the channels and campaigns whose performance will actually change a decision. Tagging everything "just in case" is how you end up with a thousand one-off campaign names and a report nobody can read.

Can I just type UTMs by hand? You can, and you'll eventually drop a character or use a capital letter where you meant lowercase, and that one typo will quietly split your data. Use a builder and a written naming convention instead. Let the tool do the encoding so you can do the thinking.

The bottom line

UTMs are dead simple to add and weirdly easy to ruin. The mechanics take five minutes; the discipline is the whole game. Tag only inbound links, lock a naming convention, never tag internal navigation, and make sure the tags survive the journey from landing page to conversion. Do that, and "which campaign drove this" stops being a shrug and starts being a number you can trust — and a number you trust is worth more than a fast one you don't.

Want this for your team?

Send us a brief and we'll come back with a fixed-price plan in 48 hours.