Skip to content
Urlzee

UTM Naming Conventions That Keep Reports Clean

By Urlzee Team · Published · 6 min read

A UTM naming convention is a short written set of rules for what goes in each tag: always lowercase, one separator, a fixed list of mediums, an agreed list of sources, and a pattern for campaign names. Followed consistently, it stops one campaign appearing as five slightly different rows in your reports.

Why do UTM naming conventions matter?

Analytics tools compare UTM values as exact text. They don't know that Facebook, facebook and fb mean the same thing, so each gets its own row with its own share of the numbers.

Suppose three people tag links for one promotion:

utm_source=Newsletter&utm_medium=Email&utm_campaign=Spring Sale
utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
utm_source=news-letter&utm_medium=e-mail&utm_campaign=springsale

To a person, that is one campaign from one source. In the report it is three campaigns, three sources and three mediums, and none of the rows shows the true total. Tidying it up afterwards means exporting data and merging rows by hand, every time someone asks a question.

A convention prevents the mess at the point where it is cheapest to prevent: when the link is created.

What general rules should every UTM value follow?

Five formatting rules cover most of the problems.

  1. Lowercase only. Values are case sensitive in GA4 and most other tools.
  2. No spaces. A space is encoded as %20 or + in a URL, which is hard to read and easy to break.
  3. One separator. Pick underscores or hyphens for joining words and use only that one. A common approach is underscores between words in a part, and a hyphen between parts if you need a second level.
  4. Plain characters. Letters, digits and your separator. Avoid &, =, ?, #, % and /, which have meanings in a URL, and avoid accented characters and emoji.
  5. No personal data. Never put an email address, name, phone number or customer ID in a tag. UTM values are visible in the address bar and stored in analytics, and Google's terms prohibit sending personally identifiable information to Analytics.

Urlzee's UTM builder applies the first two automatically: with the default option ticked, it lowercases every value and replaces spaces with underscores.

How should you name utm_medium?

Keep a short, closed list, and base it on values your analytics tool already understands.

Medium is the field that drives channel grouping in GA4. Invented values such as newsletter, insta or promo don't match any default channel and tend to be filed under "Unassigned". A sensible starting list:

MediumMeaning
emailAny email you send
socialUnpaid social media
paid_socialPaid social media adverts
cpcPaid search clicks
displayBanner and display adverts
affiliateAffiliate partners
referralLinks placed on other websites
smsText messages
qrQR codes on print and physical items

Nobody should add a medium without agreement. If a new link doesn't fit, that is a discussion to have once, not a value to make up on the day. Note that qr and other offline mediums have no default channel group in GA4; you report on them by source and medium instead.

How should you name utm_source?

Use the plain name of the platform, publication or list, and write the spelling down.

  • Platform names in full: facebook, not fb; linkedin, not li.
  • No domain endings: google, not google.com.
  • For email, the list or programme: newsletter, customer_list, welcome_series.
  • For partners, a stable short name: partner_acme, not the title of this month's article.
  • For offline items, the object: flyer, packaging, shop_window.

Sources are an open list, since you will keep adding partners and placements, but every new one should be recorded in the same place so the next person reuses it.

How should you structure utm_campaign?

Choose a pattern and apply it to every campaign. A pattern makes names predictable, and predictable names sort and filter well.

Two patterns that work:

PatternExampleGood for
namespring_saleSmall teams with few campaigns
yyyy_mm_name2026_03_spring_saleMany campaigns; sorts by date in reports

Guidelines for whichever you choose:

  • Put the date first, if you use one, and write it year then month so an alphabetical sort is also chronological.
  • Describe the initiative, not the channel. Channel belongs in source and medium.
  • Use the same campaign value on every channel that takes part.
  • Avoid meaningless names such as campaign_7 or test. Someone has to understand the report next year.
  • Name always-on activity too, such as weekly_newsletter or welcome_series, so those visits aren't (not set).

How should you use utm_content and utm_term?

Give them a defined job so they don't turn into a notes field.

A workable rule is that utm_content describes the specific link or creative, as placement followed by variant: header_button, footer_link, video_a, image_b. Reserve utm_term for paid search keywords. If you don't run paid search, leave it empty. More examples are in utm_term and utm_content.

What does a written convention look like?

It fits on one page. Here is a template you can adapt.

FieldRuleAllowed values or patternExample
All fieldsLowercase, underscores, no spaces or special characters——
utm_mediumClosed listemail, social, paid_social, cpc, display, affiliate, referral, sms, qremail
utm_sourcePlatform, list or object name; recorded in the shared listOpen listnewsletter
utm_campaignyyyy_mm_nameSame on all channels2026_03_spring_sale
utm_contentplacement_variantOptionalheader_button
utm_termPaid search keyword onlyOptionalrunning_shoes

Add two short lists underneath: the current sources and the current campaigns.

How do you get a team to follow it?

Make the right way the easy way.

  1. Write the rules down and share the page with everyone who creates links, including agencies and freelancers.
  2. Build links with a tool. A form with one field per parameter catches misplaced values, and automatic lowercasing removes case errors.
  3. Keep a link log. A spreadsheet with one row per link, listing the destination, each UTM value, the final URL and the short link, shows what exists and lets people copy from previous rows. How to build a campaign URL tracking spreadsheet describes the columns.
  4. Use dropdowns in that spreadsheet for medium and source so only approved values can be chosen.
  5. Shorten in batches. Once the tagged URLs are in a column, the bulk URL shortener converts the list to short links in one step.
  6. Review reports monthly for unfamiliar values. A new row called Instagram with a capital letter tells you someone bypassed the process.

What do you do about old, inconsistent data?

You can't rename historical values, so set a start date for the convention and treat earlier data as a separate era.

  • Don't re-tag live campaigns halfway through. Changing springsale to spring_sale mid-campaign splits it in two. Finish the campaign on the old name and use the convention from the next one.
  • Fix links you still control. Website buttons, profile links and automated emails can be updated at any time.
  • Use short links for things you can't re-send. If a tagged URL sits behind a short link whose destination can be edited, a wrong tag can be corrected after the link has gone out. On Urlzee, editing a destination is a Pro feature.
  • Group old values in reporting. Many reporting tools let you combine variants into one label for analysis without altering the underlying data.

Which mistakes does a convention prevent?

  • The same source spelled several ways.
  • Mediums that analytics can't classify.
  • Campaign names that differ by channel.
  • Spaces and capital letters creating duplicates.
  • Tags on internal links, which overwrite the visitor's real source.
  • Personal data ending up in URLs.

Each of these is described with its fix in 10 UTM mistakes that break your analytics.

Frequently asked questions

Should UTM parameters be lowercase?
Yes. Analytics tools including GA4 treat values as case sensitive, so Email and email are reported separately. Writing everything in lowercase removes that problem.
Should I use hyphens or underscores in UTM values?
Either works technically. Choose one, document it and use it everywhere, because spring-sale and spring_sale are counted as two different campaigns.
Can I fix a UTM naming mistake after the link has been shared?
You can't change data already collected, and you can't edit a link people have already received. You can correct links you still control, and use a short link with an editable destination so future mistakes can be repaired.
How long should a UTM campaign name be?
As short as it can be while still being understood by someone outside the team a year later. Two to four words joined by a separator is typical.