Free Template
UTM naming convention: 6 rules and a free template
“Trade-Show”, “tradeshow” and “trade_show” are three rows in GA4, and nobody adds them up. Here are six rules that keep every link for a show in one place, and a spreadsheet that checks each link as you add it.
No email required. Three tabs: Link log, Rules, Allowed values.
What a UTM is
A UTM is a set of up to five labels added to the end of a link, after a question mark, so your analytics tool can record where the click came from. The visitor sees the same page either way. Your analytics sees the labels.
| Parameter | Tells you | Trade show example |
|---|---|---|
| utm_source | Where the click came from | linkedin, booth, organizer |
| utm_medium | The type of channel | social, email, qr, referral |
| utm_campaign | The show or program | national-conference-2027 |
| utm_content | Which placement or version | back-wall, badge, day-1 |
| utm_term | The paid keyword (ads only) | usually empty for events |
Put together, one link looks like this: https://yoursite.com/demo?utm_source=booth&utm_medium=qr&utm_campaign=national-conference-2027&utm_content=back-wall. GA4 reads the labels, drops them from the page path, and files the visit under that source, medium and campaign. The three required ones are source, medium and campaign; content and term are optional.
What UTMs are for
Without them, a visit from a QR code on your booth wall arrives as “direct” traffic, the same bucket as someone typing your address. A click from a partner’s newsletter shows up as a referral from a mail client, or as nothing at all. The show did the work and gets no credit.
With them, three questions get answers from one GA4 report: how many visits the show drove in total (filter by campaign), which channel drove them (medium), and which placement worked (content). That is the difference between “the booth was busy” and “the back-wall QR code brought 212 visits and 9 demo requests.”
Who uses them
Anyone who sends people to a website from somewhere else: event and field marketers, email and social teams, agencies, partner managers and sales reps who post links. For events the list is concrete: the QR code on the back wall, the one on staff badges, the slide at the end of a talk, the pre-show LinkedIn posts, the partner’s newsletter, the organizer’s exhibitor listing, and the follow-up email after the show. Seven links for one show, made by three or four different people.
Why you need a naming convention
Because GA4 stores the labels exactly as typed. “LinkedIn”, “linkedin” and “linked-in” are three sources. “Trade-Show”, “tradeshow” and “trade_show” are three campaigns. The report still runs; it just shows nine small rows instead of three real ones, and nobody adds them up in a budget meeting.
A naming convention is a short set of rules everyone follows before they build a link: which case, which separator, which mediums are allowed, how a campaign is named. Six rules are enough. They follow, with a spreadsheet that applies them and flags the exceptions as you type.
What’s in the template
- Link log: one row per link. Type the URL, source, medium, campaign and content, and the tracked link builds itself. A check column flags capital letters, spaces, underscores and mediums that aren’t on your list.
- Rules: the six rules below, ready to share with everyone who makes links.
- Allowed values: your source and medium lists, with the GA4 channel each medium lands in. The Link log’s dropdowns read from here.
1. Lowercase everything
GA4 keeps source and medium values exactly as you type them, so Email and email show up as two rows in your source and medium reports. (GA4's channel grouping ignores case, but the rows underneath it don't.)
Don’t
LinkedIn / Social / Expo-West
Do
linkedin / social / expo-west-2026
2. Use hyphens, never spaces or underscores
Spaces turn into %20 in the link and are easy to mistype. Teams that mix hyphens and underscores end up with expo-west and expo_west as two campaigns. Pick hyphens: they read cleanly in reports and match how URLs are written.
Don’t
expo west 2026 / expo_west_2026
Do
expo-west-2026
3. Pick the medium from a fixed list
GA4 sorts traffic into default channels by medium. email lands in Email, social in Organic Social, referral in Referral, and cpc in Paid Search or Paid Social depending on the source. A medium GA4 doesn't recognize, like qr, lands in Unassigned. That's fine for QR codes if you report trade show scans by campaign, or add a custom channel group.
Don’t
Social-Media / linkedin-post / print
Do
social / email / cpc / referral / qr
4. Keep a controlled source list
Source is where the click came from. Keep a short shared list and add to it before anyone uses a new value, so the whole team spells it the same way.
Don’t
LI / linked-in / linkedin.com
Do
linkedin / newsletter / booth / partner-acme
5. One campaign pattern
Every link for one show shares one campaign name, so the totals add up. Use event-or-program-yyyy, and put the variant (which wall, which email, which day) in utm_content.
Don’t
NatConf / national_conf_booth / conference2027
Do
national-conference-2027 + content back-wall
6. Never tag internal links
A UTM on a link between your own pages starts a new visit with the wrong source, so the show loses credit for the visitor it brought in. Tag only links that come from outside your site: emails, posts, ads, QR codes, partner sites.
Don’t
A homepage banner linking to /pricing?utm_source=homepage
Do
No UTM on links between your own pages
Channel rules from Google’s GA4 default channel group definitions.
Example: every link for one trade show
All seven links share the campaign national-conference-2027. Filter GA4 by that one campaign after the show, and you see every visit it drove, by channel and by placement.
| Where the link appears | Source | Medium | Content |
|---|---|---|---|
| QR code on the booth back wall | booth | qr | back-wall |
| QR code on staff badges | badge | qr | staff-badge |
| QR code on your speaking-session slide | speaking-slot | qr | slide-final |
| Pre-show LinkedIn post | social | countdown | |
| A partner's newsletter | partner-acme | partner-feature | |
| Your exhibitor listing on the organizer's site | organizer | referral | exhibitor-listing |
| Follow-up email to badge scans | newsletter | day-1 |
Make it stick
- One owner. One person keeps the source and medium lists. New values go on the list before they go in a link.
- One log. Every link goes in the template, so you can find the link on last year’s booth sign.
- Pick, don’t type. The free UTM builder lowercases and hyphenates as you type, and the Event Link & QR Builder extension lets you save your own sources and mediums, so people choose from the list.
Questions
- What does UTM stand for?
- Urchin Tracking Module, after Urchin, the analytics product Google bought in 2005 and turned into Google Analytics. The name is history; the five parameters (utm_source, utm_medium, utm_campaign, utm_content, utm_term) are still how GA4 and most other analytics tools know where a visit came from.
- Who needs a UTM naming convention?
- Anyone who makes links that more than one person will create or read: a marketing team of two, an agency, or a solo marketer who runs more than one show a year. One person can keep the rules in their head for a month. A convention is what makes the reports still add up in November.
- Hyphens or underscores?
- Either works in GA4, as long as everyone uses the same one. We use hyphens because they read cleanly in reports and match how URLs are written. Mixing them is what breaks reports.
- Can I fix UTMs I've already used in GA4?
- You can't edit data GA4 has already collected. A custom channel group can regroup old traffic in your reports, and Google applies it to past data too. Standard properties allow two custom channel groups. Then use the convention for every new link.
- Should utm_campaign include the date?
- Include the year: national-conference-2027. Next year's show gets its own campaign, so you can compare the two. Full dates usually aren't needed; utm_content can carry the day or the wave.
- What medium should QR codes use?
- Use qr, and put where the code was printed in utm_content (back-wall, badge, handout). GA4's default channel report lists qr as Unassigned, so report scans by campaign or set up a custom channel group.