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
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.
| Parameter | Answers | Good values | Avoid |
|---|---|---|---|
utm_source | Where is the link? | newsletter, linkedin, x, producthunt, partner_acme | Email Blast, fb-ads-v2 |
utm_medium | What kind of traffic? | email, social, paid_social, cpc, referral, ai | newsletter-march, link |
utm_campaign | Which push? | 2026_11_launch, black_friday, onboarding_day3 | test, campaign1 |
utm_content | Which link or variant? | header_button, ps_line, video_a | Long descriptions |
utm_term | Which paid keyword? | revenue_analytics | Use 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_medium | Use for | Graytower channel |
|---|---|---|
email | Newsletters, lifecycle emails, outreach | |
social | Organic posts on any social network | Social |
paid_social | Paid ads on social networks | Paid social |
cpc | Paid search ads | Paid search (or Paid social for social sources) |
referral | Partners, directories, guest posts | Referral |
ai | Links in AI-facing content you control | AI |
organic | Rarely needed; search engines are detected automatically | Organic 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
https://yourapp.com/{page}?utm_source={where}&utm_medium={type}&utm_campaign={yyyy_mm_name}Examples:
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_storeKeep 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
- Inconsistent case and separators.
LinkedIn,linkedin, andlinked-in. Lowercase and underscores everywhere. - Tagging internal links. A banner on your blog linking to
/pricing?utm_source=blogcan overwrite the visitor's real source. Use custom events for internal clicks instead (custom events). - Redirects that drop parameters. Link shorteners and
httptohttpsredirects sometimes strip the query string. Click your own link and check the final URL. - Missing medium. A link with only
utm_sourcecannot be assigned a channel. Always includeutm_medium. - Reusing campaign names across years.
black_fridayfrom 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.