UTMs in practice: how to tag ad links without losing data

What each UTM parameter is, a naming standard that keeps your reports clean and the most common mistakes when tagging paid campaign links.

2 min read

UTMs are parameters you add to the end of a link to say where a visit came from. They don’t change the page: they just leave a label your analytics tool can read. Used well, they answer the most important question for anyone running ads: which campaign brought this visitor?

The five parameters

  • utm_source: who sent the visit (facebook, google, newsletter).
  • utm_medium: the kind of channel (cpc, email, social, organic).
  • utm_campaign: the campaign name (december-launch).
  • utm_content: the variation of the ad or link (video-01, blue-banner).
  • utm_term: the keyword, in search campaigns.
https://yourdomain.com/offer?utm_source=facebook&utm_medium=cpc&utm_campaign=december-launch&utm_content=video-01

A naming standard that stays tidy

The biggest problem with UTMs isn’t technical: it’s everyone writing them differently. A month later you have Facebook, facebook, fb and meta as four separate sources in your report. Agree on a short standard and write it down.

  1. Everything in lowercase, with no accents and no spaces.
  2. Hyphens to separate words (black-friday), never a space or %20.
  3. A closed list of values for utm_source and utm_medium.
  4. A campaign name that states the goal and the period (lead-gen-2026-12).
TipKeep a simple spreadsheet with the allowed values. Whoever builds ads copies from it, and the report stays clean with no extra effort.

Dynamic parameters from ad platforms

Ad platforms fill in some values on their own at the moment of the click, such as the campaign or ad ID. That saves manual typing and guarantees the name matches what is in the platform. Check the platform’s documentation to see which variables it accepts in the URL parameters field.

Most common mistakes

  • A redirect that drops the query string: the visit arrives without a label. Test the final link and check that the parameters survived.
  • UTMs on internal links: tagging links inside your own site starts a new session and erases the real source.
  • Two ? in the same URL: if the link already has parameters, the next ones are added with &.
  • Names that change mid-campaign: the history splits into two rows and comparing becomes impossible.

How to check before publishing

Open the final link in a private window, make sure the address bar keeps the parameters and check, in your analytics tool’s real-time report, that the visit shows up with the right source. It takes a minute and saves a week of lost data. To learn what to do with those numbers afterwards, see how to read traffic metrics.

Frequently asked questions

Do UTMs hurt my ads or SEO?

No. The parameters only identify where a visit came from. To avoid duplicate pages in search, keep the page’s canonical tag pointing to the URL without parameters.

Do I need all five parameters?

No. utm_source, utm_medium and utm_campaign cover most cases. utm_content and utm_term help when you are testing creatives or keywords.

Does capitalization matter?

It does. Most tools treat Facebook and facebook as two different sources. Pick lowercase and stick with it.

UTMs in practice: how to tag ad links without losing data | CloakLayer