Playbook 3 min read

UTM parameters for SaaS: a naming convention that survives all the way to revenue

A practical UTM naming convention for SaaS teams: which parameters to use, allowed values for source and medium, a copy-ready template, and the mistakes that split your revenue reports.

By Graytower team

TL;DR

Use utm_source for where the link lives, utm_medium for the type of traffic, and utm_campaign for the specific push, all lowercase with underscores. Fix a short list of allowed mediums (email, social, paid_social, cpc, referral, ai, partner) so every link lands in the right channel. Never tag internal links, and keep one shared sheet of approved values so revenue reports do not split across spellings.

Key takeaways

  • utm_source = where the link is, utm_medium = what kind of traffic, utm_campaign = which push. Everything else is optional.
  • Lowercase, underscores, no spaces. “Newsletter”, “newsletter”, and “news-letter” become three rows in many tools.
  • Pick a fixed list of mediums; the medium decides the channel your revenue is grouped under.
  • Never put UTMs on links within your own site: it can overwrite the real source of a session.
  • Tag links in places that strip referrers: email, chat apps, PDFs, QR codes, and AI-facing content.
On this page
  1. What each UTM parameter is for
  2. Pick a fixed list of mediums
  3. A copy-ready template
  4. Where tagging matters most
  5. Mistakes that split your revenue
  6. How UTMs connect to revenue
  7. FAQ

What each UTM parameter is for

Short answer

Use three parameters on every link you share: utm_source (where the link lives, like newsletter or linkedin), utm_medium (the type of traffic, like email or cpc), and utm_campaign (the specific push, like 2026_11_launch). Write them in lowercase with underscores, choose mediums from a fixed list, and never tag links within your own site.

ParameterAnswersGood valuesAvoid
utm_sourceWhere is the link?newsletter, linkedin, x, producthunt, partner_acmeEmail Blast, fb-ads-v2
utm_mediumWhat kind of traffic?email, social, paid_social, cpc, referral, ainewsletter-march, link
utm_campaignWhich push?2026_11_launch, black_friday, onboarding_day3test, campaign1
utm_contentWhich link or variant?header_button, ps_line, video_aLong descriptions
utm_termWhich paid keyword?revenue_analyticsUse only for search ads

The common error is mixing roles: putting the campaign name in the medium, or the platform in the campaign. The medium is what decides the channel, and channel is where most revenue reports start.

Pick a fixed list of mediums

Channels are only as clean as your mediums. Agree on this list and do not add to it casually:

utm_mediumUse forGraytower channel
emailNewsletters, lifecycle emails, outreachEmail
socialOrganic posts on any social networkSocial
paid_socialPaid ads on social networksPaid social
cpcPaid search adsPaid search (or Paid social for social sources)
referralPartners, directories, guest postsReferral
aiLinks in AI-facing content you controlAI
organicRarely needed; search engines are detected automaticallyOrganic search

Anything outside the list lands in Other, which is where revenue goes to become unreadable. The full mapping is in the campaign links docs.

A copy-ready template

Plain text
https://yourapp.com/{page}?utm_source={where}&utm_medium={type}&utm_campaign={yyyy_mm_name}

Examples:

Plain text
https://yourapp.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=2026_11_pricing_updatehttps://yourapp.com/?utm_source=linkedin&utm_medium=social&utm_campaign=2026_11_launch&utm_content=founder_posthttps://yourapp.com/compare?utm_source=custom_gpt&utm_medium=ai&utm_campaign=gpt_store

Keep a shared sheet with columns for date, URL, source, medium, campaign, content, owner, and channel. It takes ten minutes to set up and prevents months of split reports.

Where tagging matters most

Tag links wherever the referrer is likely to disappear:

  • Email. Most email clients and webmail hide the referring page, so untagged clicks look like Direct.
  • Chat apps and DMs. Slack, WhatsApp, Discord, and iMessage often strip referrers.
  • PDFs, slide decks, and QR codes. There is no referring page at all.
  • Social apps. In-app browsers frequently drop the referrer.
  • AI-facing content you control. llms.txt, GPT instructions, MCP tool descriptions, and integration listings. See tracking revenue from AI assistants.

You do not need to tag organic search results or backlinks you do not control; analytics detects those from the referrer.

Mistakes that split your revenue

  1. Inconsistent case and separators. LinkedIn, linkedin, and linked-in. Lowercase and underscores everywhere.
  2. Tagging internal links. A banner on your blog linking to /pricing?utm_source=blog can overwrite the visitor's real source. Use custom events for internal clicks instead (custom events).
  3. Redirects that drop parameters. Link shorteners and http to https redirects sometimes strip the query string. Click your own link and check the final URL.
  4. Missing medium. A link with only utm_source cannot be assigned a channel. Always include utm_medium.
  5. Reusing campaign names across years. black_friday from 2025 and 2026 merge. Prefix with the year.

How UTMs connect to revenue

A UTM describes one visit. Revenue attribution needs that visit to be linked to a later payment. With a first-known-source rule, the tags on a visitor's earliest recorded session decide the source credited for their payments, even if they return directly weeks later. That is why clean tags on top-of-funnel links matter more than tags on the final email before checkout. For the full chain, read how SaaS revenue attribution works, then compare channels by revenue per visitor.

Frequently asked questions

What are the five UTM parameters?

utm_source (where the link is placed), utm_medium (the type of traffic, such as email or cpc), utm_campaign (the specific campaign), utm_term (the paid keyword), and utm_content (which link or ad variant).

Are UTM parameters case-sensitive?

In many analytics tools, yes, so “Newsletter” and “newsletter” are reported separately. Graytower lowercases values, but it is still best practice to write everything in lowercase so all your tools agree.

Should I use UTM parameters on internal links?

No. Tagging links between your own pages can start a new session or overwrite the original source, which moves credit away from the channel that actually brought the visitor.

Do UTM parameters affect SEO?

Not when used on links you share elsewhere. Search engines handle parameters via canonical tags. Avoid placing UTM-tagged URLs in your own sitemap or internal navigation.

Written by the Graytower team

We build Graytower, revenue analytics that links Stripe payments to the visits behind them. Product claims here are checked against our documentation; claims about other tools are dated and link to their sources.