UTM parameters are five optional pieces of text added to a link so that analytics can tell where a visit came from. They are simple enough that everyone uses them and almost no one agrees on how. Six months later the report has Newsletter, newsletter, news-letter and email_newsletter, all meaning the same thing, all counted separately.
The fix is not a smarter tool. It is a short convention, written down, that everyone follows.
The five parameters
A tagged link looks like this:
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=2026-11-launch
| Parameter | Answers | Example |
|---|---|---|
utm_source |
Where did the visitor come from? | newsletter, linkedin, google |
utm_medium |
What kind of channel was it? | email, social, cpc, referral |
utm_campaign |
Which initiative was it part of? | 2026-11-launch |
utm_term |
Which paid keyword triggered it? | json-formatter |
utm_content |
Which variant or placement was it? | header-button, variant-b |
Source, medium and campaign are the working three. Term is for paid search. Content is for telling apart two links to the same page in the same campaign, such as an A/B test or a button against a text link.
Google documents how analytics reads these in its guide to URL builders and campaign data.
The convention
Write these rules down once and put them where the whole team will see them.
- Lowercase, always. Values are case-sensitive in reports, so
LinkedInandlinkedinappear as two rows. - Hyphens or underscores, never spaces. Pick one and keep it. Spaces become
%20in the URL and look different in every tool. - A fixed list of mediums. Use a short, agreed set:
email,social,cpc,referral,affiliate,qr. Do not invent new ones per campaign. - Sources are specific, mediums are general.
linkedinis a source;socialis its medium.newsletteris a source;emailis its medium. - Campaign names carry a date or an ID.
2026-11-launchsorts and ages well.big-salecollides with last year's. - No personal data. Tagged URLs are logged, copied, shared and sometimes indexed. Never put an email address or a name in one.
The medium rule matters beyond tidiness. Analytics groups traffic into default channels by looking at source and medium, and conventional values such as email, cpc and social map neatly onto those groups. A made-up medium can land in an "unassigned" bucket where the traffic is hard to find.
The convention applied
Here is how the same rules look across five common placements, all for one campaign:
| Placement | utm_source |
utm_medium |
|---|---|---|
| Email newsletter | newsletter |
email |
| LinkedIn post | linkedin |
social |
| Paid search ad | google |
cpc |
| Link on a partner's site | partner-name |
referral |
| QR code on a poster | poster-spring |
qr |
One caution about that last row. Mediums outside the conventional set, such as qr, fall into "Unassigned" in the default channel grouping unless you define a custom channel group for them. Decide that when you adopt the convention, so the traffic has somewhere sensible to land.
The mistakes that corrupt reports
Tagging links inside your own site. UTM tags describe how a visitor arrived. Put them on an internal link and you can overwrite the real source with your own homepage banner. Internal clicks should be tracked as events, not as campaigns.
Putting the tags after a #. The part of a URL after # is a fragment and is not sent to the server. Parameters must come before it: …/pricing?utm_source=x#plans, not …/pricing#plans?utm_source=x.
Using ? when the URL already has one. If the link is already …/search?q=json, the first UTM parameter needs &, not a second ?. A link builder handles this for you; hand-editing is where it goes wrong.
Letting redirects strip the query string. A shortener or a redirect that drops parameters silently removes the attribution, and the visit is filed under "direct". Click your own tagged links in a private window and check what arrives.
Letting tagged URLs get indexed. If a tagged link is shared widely, search engines may find …?utm_source=x as a separate URL for the same content. A canonical tag pointing at the clean URL tells them which version to keep. Every page on this site carries a canonical tag that points at its clean URL.
Not encoding special characters. An ampersand or a plus sign inside a value breaks the parameter. The URL encoder shows you what a value looks like once it is safe to put in a link.
Print and QR codes
A QR code on a poster, a flyer or packaging is a link with no referrer at all. Without a UTM tag its scans look like direct traffic. Tag the destination with a dedicated medium such as qr and a campaign that names the placement, then generate the code from that finished URL with the QR code generator. Test it by scanning the printed result, not just the preview. For the safety side of QR codes, see what quishing looks like.
Building them consistently
The UTM link builder assembles the URL for you and keeps the parameter format consistent, which removes the hand-editing mistakes above. It cannot enforce your naming convention, though. That part is a decision, and the best time to make it is before the first campaign, not after the reports are already split. If your campaign names double as URL paths or filenames, the slug generator turns a title into a clean, lowercase, hyphenated form.