> AI agents: this is one page of nextanalytica's docs. The full index for agents: https://nextanalytica.app/llms.txt

# UTM tags

> What UTM tags are, the parameters and which ones to always set, naming rules that keep reports clean, and how to read campaigns by UTM with your agent.

Updated: 2026-11-29

UTM tags are parameters you add to a link so analytics knows which campaign a visit came from. `https://example.com/?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale` tells it: from the newsletter, by email, for the spring sale. Always set `utm_source`, `utm_medium` and `utm_campaign`. [nextanalytica](/) reads them from the page a visit lands on, sorts the visit into a channel and lets your agent compare campaigns by visits, conversions and revenue.

We checked Google's [campaign URL guide](https://support.google.com/analytics/answer/10917952) on November 29, 2026.

## What are the UTM parameters?

| Parameter | What it says | Example |
| --- | --- | --- |
| `utm_source` | Who sent the visit | `google`, `newsletter`, `linkedin` |
| `utm_medium` | The kind of link | `cpc`, `email`, `social` |
| `utm_campaign` | The campaign | `spring_sale` |
| `utm_term` | The paid keyword | `web analytics` |
| `utm_content` | Which creative or link | `hero_button` |
| `utm_id` | The campaign's ID | `1234` |

Google lists a few more for its own products, such as `utm_source_platform`. The first three are the ones to set on every tagged link.

## How should you name them?

- **Use lowercase.** Google Analytics treats values as case sensitive: `Google` and `google` are two sources there.
- **Pick one word per thing** and keep it: `email`, never `e-mail` or `Email` next to it.
- **Use the medium your tools expect.** `cpc` and `paid` read as paid traffic, `email` as email, `social` as organic social, so the visit lands in the right channel.
- **Don't tag internal links.** A UTM on a link inside your own site credits your own link as the campaign, instead of where the visitor really came from.

## How does nextanalytica use UTM tags?

Every visit gets a channel from its ad click id, its UTM tags and its referrer, in that order. A `utm_medium` such as `cpc` makes it paid; `email` makes it email; a source that names an AI assistant, such as `utm_source=chatgpt`, puts it in the AI assistants channel. Your agent can then break visits, conversions and revenue down by `utm_source`, `utm_medium`, `utm_campaign` and `utm_term`.

Ask your agent:

- "Which campaigns brought sign-ups this month?"
- "Compare the spring_sale emails: visits, conversions and revenue."
- "Which UTM sources have visits but no conversions?"

Ad platforms that add their own click id, such as Google Ads' `gclid` or ChatGPT Ads' `oppref`, are counted as paid even without UTM tags.

## Next steps

- [Revenue tracking](/docs/learn/revenue-tracking)
- [How to check your website traffic](/docs/learn/check-website-traffic)
- [What the tag collects](/docs/tracking)
- [ChatGPT Ads conversion tracking](/docs/tracking/chatgpt-ads-conversion-tracking)
- [How to track website traffic](/docs/learn/track-website-traffic)
- [Google Analytics scopes](/docs/learn/google-analytics-scopes)

Canonical address: https://nextanalytica.app/docs/learn/utm-tags
