Skip to main content

UTM naming rules you can keep for years

A short rule sheet for UTM tags: which words to use, how to name posts, and how to fix a messy past. With a worked clean-up of a real-looking list.

Written by
The Totems team
Published
Updated
Reading time
6 minutes

Short answer

How should I name UTM values?

Use small letters only, dashes between words, and the same few words for source and medium every time. Name the campaign after the post or offer, not the date. Keep the list of allowed words in one shared place. Then a tag from three years ago still lands in the right row today.

Who this is for. Anyone who tags links and has a report full of rows like YouTube, youtube and yt.

On this page

A report is only as clean as the words people typed into their links. One person writes YouTube, another writes youtube, a third writes yt. Now one place is three rows, and none of them is right.

Good names are boring. That's the point. Here's a rule sheet you can keep for years.

The five tags, in plain words

TagMeansExample
utm_sourceThe site or senderyoutube, newsletter
utm_mediumThe kind of placevideo, email, bio
utm_campaignThe post or offerprice-a-project
utm_contentThe spot inside itdescription, ps
utm_termMostly for paid searchLeave it out

Google says to always set source, medium and campaign. It also says the values are case-sensitive: Google and google are different.

The seven rules

  1. Small letters only. No exceptions, not even for brand names.
  2. Dashes between words. Not spaces, not underscores mixed with dashes.
  3. Only letters, numbers and dashes. No @, no dots, no slashes.
  4. Same words for source and medium, from a fixed list.
  5. Campaign names the thing, not the date. price-a-project, not 2026-03-video.
  6. Content names the spot. description, pinned, bio, ps, button.
  7. Never a name, email or customer id. Links get forwarded and saved.

go.studio.example/price?utm_source=youtube&utm_medium=video&utm_campaign=price-a-project&utm_content=description

go.studio.example/price
Your short link
?utm_source=youtube
From the fixed list
&utm_medium=video
From the fixed list
&utm_campaign=price-a-project
The post, in small letters with dashes
&utm_content=description
The spot
Figure 1A link that follows all seven rules. It will still group with the others in three years.Made-up example

Rule 3 matters more than it looks. Stripe says it drops UTM values that use characters other than letters, numbers, dashes or underscores, without any error. So a value like price project! may vanish on the way to your payment page.

The fixed list

Write this list once, in one shared place. Nobody invents a new source or medium without adding it here first.

SourceMediumUsed for
youtubevideoLong videos
youtubeshortsShorts, through the profile or related video
instagrambio, story, dmEach place apart
tiktokbioThe profile link
newsletteremailYour own list
podcastaudioShow notes and spoken links
partner-namereferralSomeone else's list or page

Keep it to about ten rows. A long list means people will pick the wrong row.

A worked clean-up

A made-up course seller exports last quarter's sales by source. It looks like this.

Source as typedSales
YouTube9
youtube14
yt3
Newsletter6
email5
IG2
instagram4
(none)7

Sales by source, as typed

youtube
14
YouTube
9
(none)
7
Newsletter
6
email
5
instagram
4
yt
3
IG
2
Figure 2The messy report. YouTube looks like it brought 14 sales. It brought 26.Made-up example

Now map each typed value to the fixed list.

TypedBecomes
YouTube, youtube, ytyoutube
Newsletter, emailnewsletter
IG, instagraminstagram
(none)Unknown

Sales by source, cleaned

youtube
26
newsletter
11
Unknown
7
instagram
6
Figure 3The same 50 sales after mapping. YouTube nearly doubles, and Unknown stays in its own row.Made-up example

Check the sum: 9 + 14 + 3 = 26, 6 + 5 = 11, 2 + 4 = 6, plus 7 is 50. Same as before. Cleaning never adds or removes sales. It only moves rows together.

Don't change old links to fix this. Keep a mapping table, like the one above, and apply it in your report. Then fix new links going forward.

Clean names don't add sales. They stop you from losing them in the wrong row.

Naming the campaign

The campaign is the hardest one, because every post is different. Three rules help.

  • Name the thing people saw. The video, the issue, the offer. price-a-project, issue-41, spring-cohort.
  • Use the same name in every place. If the video is price-a-project, its Instagram story about it is also price-a-project, with a different source.
  • Keep it under about 30 letters. Long names get cut in reports and tools.
BadGoodWhy
Video 47price-a-projectNumbers say nothing a year later
march-2026-promospring-cohortThe date is in the report already
Alex's offerapplyNo names, no apostrophes
price a projectprice-a-projectSpaces become codes

Who checks it

Names drift the moment two people make links. Give one person the job of checking new links once a week. It takes five minutes:

  1. Export last week's new links.
  2. Look for any source or medium not on the fixed list.
  3. Fix the link if it's not used yet, or add a mapping row if it is.

A link tool that only allows values from your list does this for you. A sheet with drop-downs works too.

Where tags break even with good names

Good names don't help if the tag never arrives. Watch for these.

BreakFix
A redirect drops the part after the question markKeep the query when you redirect
Your own menu links carry tagsNever tag links inside your own site
A booking tool only keeps some tagsCalendly says it keeps five UTM values, each under 255 characters
A payment link drops a valueStripe drops values with other characters, so stick to rule 3

Tag these

  • Links in your posts and videos
  • Links in emails you send
  • Links in bios and DMs
  • Links you give partners

Never tag these

  • Links between your own pages
  • Links in your site's menu
  • Links you send to yourself
  • Links in internal documents
Figure 4Tags that help, and tags that hurt your report.Made-up example

Tagging a menu link is the worst mistake on this page. When someone arrives from YouTube and then clicks "Pricing" in your menu, a tagged menu link overwrites YouTube with your own site. The real source is lost.

A one-page rule sheet

Copy this, fill in your fixed list, and pin it where people make links.

RuleYesNo
LettersyoutubeYouTube
Spacesprice-a-projectprice a project
CharactersLetters, numbers, dashes@ . / ! '
SourceFrom the listAnything new
CampaignThe thing people sawDates and numbers
ContentThe spotThe person
Inside your siteNo tagsTagged menu links

What can go wrong

  • Fixing old links in place. You'll break printed codes and old videos. Map in the report instead.
  • Too many sources. A list of 40 means nobody uses it.
  • Dates in names. Then two runs of the same post are two campaigns.
  • Names that contain people. Never. Links travel.
  • Tagging your own pages. You overwrite the true source.
  • Assuming tags arrive. Test one link end to end each time you change your site.

When not to use Totems

If one person makes all your links and you have ten of them, a pinned note is enough. Free builders, including ours, make clean tags.

Totems makes the short link and its tags together, and remembers where each link sits, so you rarely type a tag yourself. Each link's place and post are stored with it. That still won't fix names you typed by hand in other tools.

Sources

  1. Google Analytics Help: URL builders and UTM valuesChecked
  2. Stripe: Track a payment link (UTM codes)Checked
  3. Calendly Help: Source track with UTM parametersChecked
Read as MarkdownFound a mistake? Tell us: First version, with Google's page on UTM values.
Questions

More questions.

Can't find it? Ask us.

Do I need all five UTM tags?

No. Google says to always set source, medium and campaign. Use content when one post has more than one link. Term is mostly for search ads.

Can I use spaces?

Avoid them. Some tools change a space into a plus sign or a code, and Stripe says it drops UTM values with characters other than letters, numbers, dashes and underscores.

How long can a value be?

Keep it short. Stripe's page says 150 characters at most for UTM codes on payment links, and Calendly says under 255. Short names are easier to read anyway.

Should I put dates in the campaign name?

Only if the same post runs again on another date. Dates make names long and hard to group.

Next note

No. 02

Why UTM tags alone can't tell you which post made money

UTM tags mark a click, not a person. Five common paths where they lose the sale, each one you can repeat yourself, and what to add.

Put one link in your next post and follow it. 7 days free.

Start free trialView demo