Sign inGet started
Learn

UTM tags

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

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

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 on November 29, 2026.

What are the UTM parameters?

ParameterWhat it saysExample
utm_sourceWho sent the visitgoogle, newsletter, linkedin
utm_mediumThe kind of linkcpc, email, social
utm_campaignThe campaignspring_sale
utm_termThe paid keywordweb analytics
utm_contentWhich creative or linkhero_button
utm_idThe campaign's ID1234

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

Related
  • How to check your website traffic: Four ways to check your website's traffic, from analytics to Search Console and server logs, what each one counts, and how to ask your agent instead.
  • Bounce rate: What bounce rate means, how it's calculated in nextanalytica and in GA4, why the two differ, and how to find the pages people leave.
  • Revenue tracking: Track revenue on your website so every order ties to the visit, channel and campaign it came from, from the browser, your server or WooCommerce.
  • Attribution models: How your agent credits each order to the visits before it, by last click, first click or linear, with ROAS by ad account and LTV by channel.
  • ROAS by ad: How your agent shows spend, orders, revenue and ROAS for each Meta and Google ad, and the one setting Meta needs so a visit names its ad.
  • How to track website traffic: How to set up website tracking that tells you where visitors come from and what they do: the tag, events, UTM tags, consent, search data and AI crawlers.
Still have questions?
Was this page useful?