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.
- Lowercase only. Values are case sensitive in GA4 and most other tools.
- No spaces. A space is encoded as
%20or+in a URL, which is hard to read and easy to break. - 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.
- Plain characters. Letters, digits and your separator. Avoid
&,=,?,#,%and/, which have meanings in a URL, and avoid accented characters and emoji. - 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:
| Medium | Meaning |
|---|---|
email | Any email you send |
social | Unpaid social media |
paid_social | Paid social media adverts |
cpc | Paid search clicks |
display | Banner and display adverts |
affiliate | Affiliate partners |
referral | Links placed on other websites |
sms | Text messages |
qr | QR 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, notfb;linkedin, notli. - No domain endings:
google, notgoogle.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:
| Pattern | Example | Good for |
|---|---|---|
name | spring_sale | Small teams with few campaigns |
yyyy_mm_name | 2026_03_spring_sale | Many 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_7ortest. Someone has to understand the report next year. - Name always-on activity too, such as
weekly_newsletterorwelcome_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.
| Field | Rule | Allowed values or pattern | Example |
|---|---|---|---|
| All fields | Lowercase, underscores, no spaces or special characters | — | — |
utm_medium | Closed list | email, social, paid_social, cpc, display, affiliate, referral, sms, qr | email |
utm_source | Platform, list or object name; recorded in the shared list | Open list | newsletter |
utm_campaign | yyyy_mm_name | Same on all channels | 2026_03_spring_sale |
utm_content | placement_variant | Optional | header_button |
utm_term | Paid search keyword only | Optional | running_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.
- Write the rules down and share the page with everyone who creates links, including agencies and freelancers.
- Build links with a tool. A form with one field per parameter catches misplaced values, and automatic lowercasing removes case errors.
- 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.
- Use dropdowns in that spreadsheet for medium and source so only approved values can be chosen.
- Shorten in batches. Once the tagged URLs are in a column, the bulk URL shortener converts the list to short links in one step.
- Review reports monthly for unfamiliar values. A new row called
Instagramwith 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
springsaletospring_salemid-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.