Guide · UTM tracking
How UTM Parameters Work, With Real Examples
What the five UTM parameters mean, how analytics tools read them, real examples for email, social and ads, and the mistakes that send tagged traffic to direct.
· 3 min read
UTM parameters are tags you add to a link so your analytics knows where a click came from. They're the reason a newsletter click shows up as "newsletter" instead of "direct". Here is how they work.
What they look like
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=november-launch
Everything after ? is the query string. Your page loads normally; the analytics script reads the tags and records them with the visit.
The five parameters
| Parameter | Answers | Examples |
|---|---|---|
utm_source | Who sent the click? | newsletter, x, linkedin, producthunt |
utm_medium | What kind of channel? | email, social, cpc, referral |
utm_campaign | Which push? | november-launch, black-friday |
utm_term | Which keyword or audience? | revenue-analytics |
utm_content | Which link or creative? | header-button, video-ad-2 |
Source, medium and campaign are the ones to use every time. Term and content are optional detail.
How analytics tools read them
- 1ClickThe link carries utm_ tags
- 2LandingThe analytics script reads the tags from the URL on the first page
- 3VisitThe visit is recorded with that source, medium and campaign
- 4ReportThe visit, and any revenue it leads to, appears under those values
Two details matter:
- Tags are read on the landing page. If a redirect drops them before the page loads, they're lost.
- Tags describe one visit. If the person comes back later from somewhere else, that later visit has its own source.
Real examples
Newsletter: ?utm_source=newsletter&utm_medium=email&utm_campaign=issue-42
X post: ?utm_source=x&utm_medium=social&utm_campaign=launch-thread
Podcast show notes: ?utm_source=founder-podcast&utm_medium=audio&utm_campaign=ep-118
Google Ads: ?utm_source=google&utm_medium=cpc&utm_campaign=brand (setting it up in Google Ads)
Meta ads: dynamic parameters for Facebook and Instagram
What not to tag
- Links between your own pages. It overwrites the visitor's real source.
- Links where you can't control the URL, such as organic search results.
- Personal data. Never put emails or names in UTM values.
Why tagged traffic still shows as direct
Redirects that drop the query string, apps that rewrite links, and typos are the usual causes. The full checklist.
UTM tags and revenue
Tags tell you where visits came from. To know which campaign made money, payments must be joined to those visits. In DataFair, campaigns appear with revenue next to visitors, so issue-42 vs issue-43 becomes a revenue question, not a click question. A naming scheme helps: UTM best practices.
Related guide: Revenue attribution for every payment provider.
Questions
- Are UTM parameters case-sensitive?
- Treat them as case-sensitive. Many tools count "Email" and "email" as different values, so use lowercase everywhere.
- Do UTM parameters affect SEO?
- Not if your pages declare a canonical URL, which tells search engines the tagged and untagged URLs are the same page.
- Do I need all five UTM parameters?
- No. Use source, medium and campaign on every tagged link. Add term and content when you need finer detail.