# UTM parameters: a practical guide with naming conventions

The CrispStats team · Published 2026-11-16 · Updated 2026-11-29

**TL;DR:** UTM parameters are tags you add to the end of a link so your analytics knows which campaign a visit came from. Use three on every link you publish yourself: utm_source (where), utm_medium (what kind of channel) and utm_campaign (why). Write them in lowercase with hyphens, keep a short list of allowed values, and never put them on links inside your own site.

UTM parameters are tags on a link, such as `utm_source`, `utm_medium` and `utm_campaign`, that name the campaign a visit came from. A browser tells your site very little about where a visitor came from: at best the address of the previous page, and often nothing. A link in an email client, a chat app or a PDF arrives with no [referrer](/glossary/referrer) at all, and your analytics files it as [direct traffic](/glossary/direct-traffic).

[UTM parameters](/glossary/utm-parameters) fix that for the links you control. They are plain query parameters. They do nothing to the page; they only label the visit.

## What are the five UTM parameters?

| Parameter | Answers | Examples | Use it |
| --- | --- | --- | --- |
| `utm_source` | Where is the link placed? | `newsletter`, `google`, `linkedin`, `partner-acme` | Always |
| `utm_medium` | What kind of channel is it? | `email`, `cpc`, `social`, `affiliate`, `display` | Always |
| `utm_campaign` | Which effort is it part of? | `2026-11-launch`, `black-friday`, `weekly-digest` | Always |
| `utm_content` | Which link or creative? | `header-button`, `footer-link`, `video-a` | When one message has several links or versions |
| `utm_term` | Which keyword? | `cookieless-analytics` | Paid search only |

A tagged link looks like this:

```
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=2026-11-launch&utm_content=header-button
```

Read it as a sentence: this visit came from the newsletter, which is an email channel, as part of the November launch, through the button in the header.

## A naming convention you can copy

The parameters are free text, which is the problem. Most analytics tools treat values as case-sensitive, so `Email`, `email` and `e-mail` become three rows that each look small. A convention is just a short list of rules everyone follows.

- **Lowercase only.** No exceptions, so nobody has to remember them.
- **Hyphens between words.** No spaces (they turn into `%20` or `+`) and no mixing of hyphens and underscores.
- **Source is a name, medium is a category.** `linkedin` is a source. `social` is a medium. If you are unsure which is which, the medium is the one with only a handful of possible values.
- **A closed list of mediums.** Pick them once and do not invent new ones per campaign.
- **Campaign names that sort.** Start with a date or a quarter if campaigns repeat: `2026-11-launch`, `2026-q4-webinar`.
- **Nothing personal.** Never put an email address, a name or a customer id in a UTM value. It ends up in URLs, logs and reports.

### Mediums worth standardising

| Medium | Use for | Typical sources |
| --- | --- | --- |
| `email` | Newsletters and automated emails | `newsletter`, `onboarding`, `receipt` |
| `cpc` | Paid clicks on search or social | `google`, `bing`, `meta`, `linkedin` |
| `social` | Unpaid posts and profile links | `x`, `linkedin`, `reddit`, `youtube` |
| `affiliate` | Partners paid per sale | `partner-acme` |
| `display` | Banner and sponsorship placements | `podcast-xyz`, `newsletter-sponsor` |
| `referral` | Guest posts, directories, launch sites | `producthunt`, `guest-post-acme` |
| `offline` | QR codes, print, slides | `conference-badge`, `flyer` |

Seven mediums cover most teams; if you need an eighth, add it to the table before you use it, not after. The [UTM builder](/tools/utm-builder) has presets for the common ones, shows how the finished link will be classified, and has a bulk mode that tags a whole list of addresses at once. The full per-channel list and the campaign pattern are in [UTM naming conventions](/blog/utm-naming-conventions). Copy that when you write the shared doc. The notes above are the short version.

## How does the medium decide the channel?

Analytics tools group visits into a small set of [channels](/glossary/traffic-channel): paid, email, social, organic search and so on. For tagged links, `utm_medium` is usually what picks the channel, and each tool has its own list of values it recognises. A medium outside that list falls back to something generic.

In CrispStats the rules are checked in this order:

| If the visit has | Channel |
| --- | --- |
| A paid `utm_medium` such as `cpc`, `ppc`, `paid`, `paid_social`, `cpm`, `retargeting` or `ads`, or an ad click id such as `gclid` or `msclkid` | Paid |
| `utm_medium` of `email`, `e-mail`, `newsletter` or `mail` | Email |
| `utm_medium` of `affiliate`, `affiliates`, `partner` or `referral-program` | Affiliate |
| `utm_medium` of `display`, `banner` or `interstitial` | Display |
| A referrer or `utm_source` that names an AI assistant | AI assistants |
| A search engine referrer | Organic search |
| A social network referrer | Social |
| A video site referrer | Video |
| Any other referrer, or any other `utm_source` | Referral |
| None of the above | Direct |

Two things follow from that order. A paid tag always wins, so an ad on a social network is counted as Paid, not Social (GA4 splits the two into [paid social](/glossary/paid-social) and [organic social](/glossary/organic-social)). And `utm_medium=social` is not on any list: an unpaid social post is recognised as social by its referrer, and if the click arrives without one (many mobile apps strip it) the visit is filed as a referral under the source name you gave. Your tag still tells you exactly which post it was.

You can test any combination before you publish it with the [traffic source classifier](/tools/traffic-source-classifier).

## What are the most common UTM mistakes?

### Tagging links inside your own site

This is the expensive one. A UTM tag on an internal banner or menu link tells your analytics that a new campaign visit has started. The visitor who arrived from Google is relabelled as coming from `homepage-banner`, and the sale is credited to your own banner instead of the search that found you. Use UTMs only on links that point to your site from somewhere else. To measure an internal button, send a [custom event](/glossary/custom-event).

### Swapping source and medium

`utm_source=email&utm_medium=newsletter` reads fine to a human and wrong to a report. Source is the specific place, medium is the category.

### Putting the tags after a fragment

Query parameters must come before any `#`. In `example.com/docs#install?utm_source=x` the tag is part of the fragment and is never sent to the server. The correct form is `example.com/docs?utm_source=x#install`.

### Forgetting that tags travel

When a reader copies your newsletter link and posts it in a forum, every click from the forum still says `utm_medium=email`. You cannot prevent this. Just remember it when a campaign keeps getting visits weeks after it ended.

### Tagging what does not need it

Organic search and most website-to-website links already carry a referrer. Tagging them adds nothing. Spend the effort on email, ads, apps, QR codes and social profiles, where the referrer is missing or too vague.

> **Test one click.** Before a campaign goes out, click your own tagged link once and find the visit in your realtime view. It takes thirty seconds and catches typos, broken redirects that drop the query string, and tags pasted after a fragment.

## A worked example

Say you announce a feature in three places. Three links, one campaign name:

```
# Newsletter button
https://example.com/blog/funnels?utm_source=newsletter&utm_medium=email&utm_campaign=2026-11-funnels&utm_content=main-button

# LinkedIn post
https://example.com/blog/funnels?utm_source=linkedin&utm_medium=social&utm_campaign=2026-11-funnels

# Search ad
https://example.com/funnels?utm_source=google&utm_medium=cpc&utm_campaign=2026-11-funnels&utm_term=funnel-analytics
```

A week later, filtering on the campaign `2026-11-funnels` shows the whole launch. Splitting by source shows that, for instance, the newsletter sent 400 visitors and 12 signups while the ad sent 900 visitors and 9. That is a 3% [conversion rate](/glossary/conversion-rate) against 1%, which is the comparison you tagged the links to get.

## Which UTM mistakes show up in the report?

The notes above explain each failure. This is the same list as a check against a link. The allowed spellings are not copied again here: the campaign pattern and the per-channel list are in [UTM naming conventions](/blog/utm-naming-conventions).

| Mistake | What the report does | What to do |
| --- | --- | --- |
| UTM tags on a link inside your own site | The visit is relabelled with your banner or menu | Tag only links that point in from somewhere else |
| Source and medium swapped | The channel falls through to a generic bucket | Source is the place, medium is the category |
| Capitals or spaces in a value | One campaign becomes several rows | Lowercase, hyphens, no spaces |
| Tags placed after a `#` | The tags never arrive, so the visit looks untagged | Put the query string before any fragment |
| A redirect or shortener drops the query | The visit arrives with no tags and often counts as direct | Click the final address and read it |
| A medium invented for one campaign | Some tools file it as unassigned or referral | Use the closed list in the naming convention |
| A name or email address in a value | Personal data lands in URLs, logs and reports | Campaign names only, never a person |

## How do you check a UTM link before you send it?

Paste the finished link into the [UTM checker](/tools/utm-checker). It marks a missing source, medium or campaign, and it warns when a value has a capital letter or a space. It does not change the link.

For a list, paste one link or one campaign name per line into the [UTM naming checker](/tools/utm-naming-checker). It lowercases each value and turns spaces into underscores. It leaves hyphens as hyphens, so `summer-sale` and `summer_sale` stay two names. It does not know your closed list of mediums. That list, and the campaign pattern, is [UTM naming conventions](/blog/utm-naming-conventions). Build new links in the [UTM builder](/tools/utm-builder), then click one and confirm the visit in your realtime view.

## How CrispStats uses UTM parameters

CrispStats reads UTM tags from the landing URL of each visit, and source and medium choose the channel by the rules in the table above. The worked example is one click away: filter the dashboard to the campaign, then split it by source or by `utm_content` to compare the newsletter button with the ad, with visitors, conversions and conversion rate on each row.

A visit that arrives through a different campaign starts a new session, which is exactly what goes wrong when an internal banner is tagged: your own banner becomes the session's source. Payments are a separate matter: with [revenue attribution](/features/revenue-attribution) connected, money goes to the first source known for the visitor, so a later tagged click does not take the credit. Campaign reports are on every plan and in the trial, and the counting rules are in the [metrics docs](https://docs.crispstats.com/concepts/metrics).

## Frequently asked questions

### Are UTM parameters case-sensitive?

In most analytics tools, yes: Email and email are reported as two different values. Writing every value in lowercase avoids the problem.

### Which UTM parameters are required?

None are technically required, but a link without utm_source is rarely useful. In practice, set source, medium and campaign on every link, add content when one message contains several links, and use term only for paid search keywords.

### Should I use UTM parameters on internal links?

No. A UTM tag on a link within your own site makes analytics treat the click as a new campaign visit, which overwrites the original source of the visitor. Measure internal clicks with events instead.

### Do UTM parameters affect SEO?

They create extra URLs for the same page. A canonical link on the page pointing to the clean URL tells search engines which version to index, and most site platforms add one by default. UTM tags belong on links you share, not on links in your own navigation or sitemap.

### How do I check a UTM link for mistakes?

Paste the link into a UTM checker and look for a missing source, medium or campaign, and for capital letters or spaces. Click the link yourself and confirm the tags are still in the address after any redirect. Check mediums and campaign names against your written list, rather than inventing a new spelling per send.

### What is the difference between utm_content and utm_term?

utm_content tells links or creatives apart inside one message, such as a header button and a footer link. utm_term is the paid search keyword. Most links need source, medium and campaign. Add content when one message has several links. Use term for paid search only.
