MODE
Marketing8 min read

A UTM Naming Convention That Keeps Your Analytics Clean

How to design UTM source, medium and campaign rules that group correctly in GA4, avoid duplicate rows like Email and email, and survive a team of people tagging links.

Published September 24, 2026 · By Sudip Bhowmick

Open a campaign report after a year of tagging links by hand and you will find newsletter, Newsletter, news-letter and email_newsletter all listed as separate sources. The tags work, but the data is unusable because nobody agreed on a vocabulary. A short written convention, enforced by a generator, fixes this permanently. Here is a practical one you can adopt this week.

What Each Parameter Should Mean

Analytics tools read five standard tags. Three of them are the backbone and should always be present.

  • ▸utm_source: where the visit came from, such as a platform or a publisher: newsletter, linkedin, google, partner_name.
  • ▸utm_medium: the type of channel: email, cpc, social, referral, affiliate.
  • ▸utm_campaign: the initiative the link belongs to: spring_launch_2026, black_friday.
  • ▸utm_content: which link or creative inside the campaign, used to compare two buttons or two ad variants.
  • ▸utm_term: the paid keyword, relevant mostly for search ads.

The common confusion is between source and medium. A useful test is that the medium answers what kind of channel it is, and the source answers which specific one. LinkedIn is a source, social is the medium.

Use Mediums That GA4 Understands

Google Analytics 4 sorts traffic into default channel groups using rules on source and medium. If your medium values do not match those rules, your traffic lands in Unassigned or Other instead of the channel you intended.

  • ▸Email traffic is recognized when the medium is email.
  • ▸Paid search needs a medium such as cpc or ppc.
  • ▸Organic social is recognized for a medium such as social with a known social network as the source.
  • ▸Paid social uses a source from a social network together with a medium that starts with paid or contains cp, such as paid_social or cpc.
  • ▸Display traffic is recognized by mediums such as display or banner.

Check the current definitions in your own property settings before you standardize, because the default grouping rules can change.

The Formatting Rules

  • ▸Lowercase everything. Analytics values are case sensitive, so Email and email are different rows.
  • ▸Use underscores instead of spaces. A space becomes %20 or a plus sign in the link and is harder to read in reports.
  • ▸Use one separator style only. Choose underscores and never mix them with hyphens.
  • ▸Keep names short and descriptive, and avoid dates unless the campaign genuinely repeats, in which case put the year or quarter at the end.
  • ▸Never put personal data in a tag. Email addresses and names in a URL end up in analytics, logs and shared screenshots.
  • ▸Do not use UTM tags on links inside your own site. They start a new session and replace the real traffic source.

Keep a Shared Dictionary

A convention only works if people can look values up. Keep a small spreadsheet with three tabs: allowed sources, allowed mediums with their meaning, and a campaign register with the owner, start date and the final URL. Anyone creating a link picks from the lists instead of inventing values. When a new source is needed, it is added to the list first.

Use a Generator, Not Hand Typing

Typing parameters by hand guarantees typos. A generator that lowercases values, replaces spaces and keeps existing query parameters removes most mistakes. The UTM Generator on this site does that and warns you when source, medium or campaign is missing. For printed material, build the tagged URL first and then create the QR code from it so the printed code carries the tracking.

Cleaning Up Existing Data

You cannot rewrite history in analytics, but you can repair the reporting. Create a mapping table that sends every messy variant to its clean value and apply it in your reporting tool or data warehouse. Going forward, audit the live links once a quarter by exporting source and medium values and sorting them. Duplicates and one-off typos stand out immediately.

Conclusion

A good UTM convention is small: three required tags, a closed list of mediums that match how your analytics groups channels, lowercase and underscores everywhere, and a shared dictionary. Generate links with a tool instead of typing them, avoid tagging internal links, and map old messy values so past reports are readable too.

Free Tool

Open the UTM Generator

Try It Free →