S.EE Blog

How to Create an Urchin Tracking Module (UTM) Naming Convention for Your Team

Build a consistent UTM naming convention, avoid internal campaign tags and personal data, and reconcile inconsistent values in historical reports.

David10 min read
How to Build a UTM Convention

Open your analytics and look at the list of traffic sources. If you see facebook, Facebook, fb, FB-ads and meta as five separate rows, you've found the problem with UTM parameters.

They're not complicated. Campaign parameters appended to a URL, read by analytics tools to describe where a visitor came from. The difficulty is that they're free text written by humans in a hurry, and analytics platforms treat two spellings of the same thing as two different things forever.

#Start with an agreed vocabulary

If you need the parameters explained, read what a UTM tracking link is first. For a team convention, agree the values people are allowed to use: source identifies the sender or platform, medium the channel, campaign the initiative, and content the placement or variant.

Use Google's campaign parameter documentation to confirm how your reporting tool reads those values. The task here is keeping everyone's choices consistent after launch.

#Why conventions fail

Three failure modes account for nearly all fragmented data, and they're all mechanical rather than conceptual.

Case sensitivity is the first and most destructive. Analytics tools treat Facebook and facebook as different values, so one person's capitalization habit creates a permanent parallel row in every source, medium and campaign report. GA4 channel rules can group some variants together while raw source, medium, and campaign dimensions remain separate.

Vocabulary drift is the second. Without an agreed list, people invent values that mean the same thing. email, e-mail, newsletter and mail all appear, and your email channel is now split four ways across a year of data.

Ad-hoc construction is the third. Someone needs a tracked link in a hurry, types the parameters by hand, misspells one, and nobody notices until the campaign is over. A tag that's wrong is worse than a tag that's missing, because untagged traffic falls back to referral, organic or direct depending on what the browser passes along, while wrong traffic silently joins the wrong bucket.

Fixing these after the fact is tedious and lossy. Preventing them costs one short document and one agreed list.

#The rules worth enforcing

Six rules handle almost everything.

  • Use lowercase consistently for UTM values your team creates. For example, Facebook and facebook can appear as separate sources in analytics even when both links reach the same page. Keep the destination URL's capitalization unchanged.

  • One separator, consistently. Hyphens are the common choice and underscores work equally well; what matters is that everyone uses the same one. Never spaces, which become %20 and look broken wherever they're displayed.

  • A fixed vocabulary for source and medium. Medium especially should be a closed list of six or eight values, because it does most of the work in GA4's default channel grouping, alongside source. Values GA4 doesn't recognize, such as qr or print, land in Unassigned unless you add a custom channel group for them. Source can be longer, and it should still be a list rather than free text.

  • A dated or structured campaign name. Something like 2026-q1-spring-sale sorts chronologically and stays unambiguous when the same campaign name comes round again next year.

  • No personal data, ever. UTM parameters end up in server logs, third-party tags on the page, analytics exports and shared screenshots, and Google Analytics' own policy requires URLs sent to it to be free of personal data. An email address or customer ID in a URL is a data protection problem waiting to be noticed.

  • No UTMs on internal links. This one deserves its own section.

Putting UTM parameters on links between pages of your own site is a common and quietly damaging mistake.

Campaign parameters describe external acquisition. Internal UTMs can contaminate attribution and campaign reporting, even though GA4 does not start a new session merely because campaign values change. Use interaction events for internal banners and navigation.

If you want to measure how internal elements perform, measure them as events or interactions rather than as campaigns. For journeys across your own domains, assess cross-domain measurement first. A domain change alone does not make a visit a new acquisition.

#A convention that fits on one page

A workable spec is short enough that nobody needs to look it up twice.

ParameterRuleApproved values
utm_sourceLowercase, hyphenated, from the listgoogle, linkedin, instagram, newsletter, partner-name
utm_mediumLowercase, closed list onlycpc, social, email, affiliate, referral, qr, print
utm_campaignyyyy-qn-short-name2026-q1-spring-sale
utm_contentLowercase, describes the varianthero-button, footer-link, creative-a
utm_termPaid search keywords onlyas supplied by the ad platform

Publish it where the people writing links actually work, not in a wiki nobody opens. Pin it in the channel, put it at the top of the shared sheet, attach it to the campaign template.

The rule that makes conventions stick is that the easy path has to be the correct one. If building a properly tagged link takes longer than typing one by hand, people will type one by hand.

#Assign an owner and a change process

Name one owner for the approved source and medium lists, with a backup for campaign deadlines. The owner approves new values, records why they were added, and tells the team before a convention changes. Avoid quietly replacing an old name mid-campaign.

Use a shared link register with columns for destination, source, medium, campaign, content, placement, owner, launch date, and approval status. Have a template assemble the query string and encode values correctly. Do not overwrite an existing destination query string when appending parameters.

Before a link is published, check that its values are approved, its destination is correct, no personal data appears in the URL, and the full redirect chain preserves the intended tags. Complete a test visit using the same consent state and analytics configuration you expect in production. Record whether it appears in the reporting system, allowing for its processing delay.

Properly tagged URLs are long and ugly, which creates a second problem: they're unpleasant to share and easy to mangle.

Shortening solves it without losing the tags. The destination keeps its full UTM string, so your analytics see everything, while the thing you paste into a post, an SMS or a slide is short and readable. Put that short link on your own domain and it's branded as well as compact.

There's a measurement benefit too. The short link's own click data is recorded server-side at the redirect, which means you get a count even for visitors whose browser blocks the analytics script on the destination. That doesn't replace destination analytics, and it does give you a second, more resilient number to sanity-check against, particularly when a visitor's privacy settings interfere with the first one.

Using a short link per placement also gives you a natural unit of comparison that doesn't depend on getting utm_content right every time.

#Cleaning up data you already have

If the fragmentation already exists, the fix is three passes.

  1. Inventory. Export the distinct values of utm_source, utm_medium and utm_campaign over the last year. Sorting them alphabetically makes near-duplicates cluster together, and the list is usually both shorter and worse than people expect.

  2. Map. Decide the canonical value for each cluster and write the mapping down. Most analytics platforms can't rewrite historical values, so this map is how you interpret old reports rather than how you repair them, and it's what you apply in a spreadsheet or warehouse export. In GA4, a custom channel group is the exception worth knowing about, since it applies to past data as well as new.

  3. Enforce going forward. Fix the templates, the ad platform settings and the automation that generates links, then set a date from which the convention applies and note it, so a year from now someone comparing periods knows why the shape changed.

Then audit occasionally. A quarterly look at distinct values catches drift while it's still three rows rather than thirty.

#Wrapping up

A UTM convention is a shared vocabulary, and a vocabulary only works if everyone uses the same words. Lowercase everything, fix the separator, close the list for medium, structure campaign names with a date, keep personal data out, and never tag internal links.

Then make the correct path the easy one, with a template and a short link that hides the long URL, and audit the distinct values a few times a year. That's the whole discipline, and it's the difference between reports you act on and reports you argue about.

Thanks for reading! If you want tagged links that are short enough to share and tracked from the moment someone clicks, S.EE offers URL shortening, custom domains, QR codes and real-time click analytics in one place.

Ready to get started? Create your first tracked link or view pricing to see what fits your campaigns.

#Frequently asked questions about UTM conventions

##What's the difference between utm_source and utm_medium?

Source is the specific place traffic came from, like linkedin or newsletter. Medium is the category of traffic, like social or email. Analytics tools use medium to group traffic into channels, which is why it should be a short closed list rather than free text.

##Are UTM parameters case sensitive?

Yes, and it's the most common cause of fragmented data. Facebook and facebook become two separate rows that never merge, so the simplest rule worth enforcing is lowercase everywhere.

No. Internal campaign tags can contaminate attribution and campaign reports. Measure internal interactions as events, and use cross-domain measurement where appropriate for journeys across your own sites.

##How do I handle long UTM URLs in social posts?

Shorten them. The destination keeps the full parameter string so analytics still receive everything, while the link you actually share stays short and readable. On your own domain it's branded as well, which can help readers recognize the sender without guaranteeing more clicks.

##Can I fix UTM data that's already inconsistent?

Not usually in the analytics platform itself, since historical values generally can't be rewritten. What works is mapping the variants to canonical values so you can interpret old reports correctly, applying that mapping in exports, then enforcing the convention from a stated date forward.

##Is it safe to put customer identifiers in UTM parameters?

No. Parameters appear in logs, third-party tags, analytics exports and anything anyone screenshots, so personal data in a URL spreads further than intended. Keep identifiers out of UTMs entirely and use a non-identifying variant label instead.

Keep reading

What Is a UTM Tracking Link?

What Is a UTM Tracking Link?

UTM tracking links let you see exactly where your website traffic is coming from. Here's how they work, where they came from, and how to build them correctly.

10 min read