A UTM naming convention template for agencies
A copyable UTM naming convention for agencies running many clients: what each parameter holds, the values to start from, the rules that keep GA4 from splitting one campaign into twelve rows, and how to keep it working once more than one person builds links.
Every agency has a UTM naming convention. Usually it lives in a doc somebody wrote two years ago, and the links in GA4 show how closely it has been followed: facebook, Facebook and fb as three sources, paid_social and paid-social as two mediums, and one spring campaign spread across a dozen rows.
The problem is rarely the convention itself. It is that a convention written for one marketer has to survive many clients, many people and many months. This template is built for that situation. Copy it, change the values to suit each client, and keep the rules.
The template
| Parameter | What it holds | Pattern | Example |
|---|---|---|---|
utm_source | Where the visit came from: the platform, publication or printed piece | one value from the client’s list | facebook, google, newsletter, yardsign |
utm_medium | The kind of traffic, chosen so GA4 files it in the right channel | one value from a fixed list | paidsocial, cpc, email, print |
utm_campaign | The campaign, built from parts in a fixed order | {period}_{offer}_{product} | spring26_freeinspect_gutters |
utm_content | What tells two links in the same campaign apart: the creative, placement or market | one value from the client’s list | carousel, northside |
utm_term | The keyword or audience, where the platform doesn’t fill it in | one value, or the platform’s macro | retargeting30d |
Five parameters, and only the first three are required. Use utm_content and utm_term when someone will actually report on them; a field filled in “just in case” is a field filled in differently by everyone.
Rules that apply to every value
- Lowercase, always. GA4 treats
Facebookandfacebookas different values, and there is no setting to change that. Lowercase is the one rule that costs nothing and prevents the most damage. - No spaces. A space arrives as
+or%20depending on what built the link, so one value becomes two. Join words without a space:freeinspect, notfree inspect. - One separator, and never inside a value. Pick
_for joining the parts of a campaign name, and then don’t use_anywhere else. Ifpaid_socialis a medium, nobody can tell later whether a campaign calledspring26_paid_social_guttershas three parts or four. - Values come from a list, not from memory. Every client gets a short, written list of approved values for each parameter. If a value isn’t on the list, it gets added to the list first and used second.
- The full name, not an abbreviation.
facebook, notfb. Abbreviations are where two people’s instincts diverge.
Mediums: pick them for GA4’s channels
GA4 assigns every session to a default channel (Paid Search, Paid Social, Email and so on) using rules about the source and medium. A medium that doesn’t match any rule lands in Unassigned, and the spend behind it looks as if it produced nothing. These values all match GA4’s default channel rules:
| Medium | GA4 channel |
|---|---|
cpc | Paid Search for search engines, Paid Other otherwise |
paidsocial | Paid Social for social sites, Paid Other otherwise |
display | Display |
email | |
sms | SMS |
social | Organic Social |
affiliate | Affiliates |
referral | Referral |
audio | Audio |
Print and in-person traffic has no default channel. Use print, offline or event, and add a custom channel group in GA4 that catches them, or every QR code scan ends up in Unassigned. Tracking QR code scans in GA4 walks through it.
A note on Google Ads: with auto-tagging on, Google Ads fills in source, medium and campaign itself, and your UTM values for those fields don’t reach the standard reports. Put what you need in utm_content and utm_term.
Campaign names: parts in a fixed order
A campaign name is the one value people are tempted to write freehand. Don’t. Build it from parts, in the same order, every time:
- Period: when it runs.
spring26,q2y26,bf26. Choose one style per client and keep it. - Offer: what’s being promoted.
freeinspect,financing,brand. - Product or service: what it’s about.
gutters,kitchen,membership.
That gives spring26_freeinspect_gutters. Because the order and separator never change, the name can be split back into its parts later, which is what makes a report by offer, or by product, possible a year from now.
Add a fourth part only if somebody needs it in a report. Every extra part is another place for two people to disagree.
What changes between clients
The rules stay the same for every client. The lists don’t. A roofing client’s offers and services have nothing in common with a dental practice’s, and a client that runs mailers needs print sources that a software company never will. Keep one list per client for:
- sources (the platforms and printed pieces that client uses)
- offers
- products or services
- markets or locations, if they report by area
- periods, if the client’s calendar isn’t the standard one
Mediums are the exception. Keep one medium list for the whole agency, because it’s tied to GA4’s channel rules, not to the client.
Keeping it working
A convention fails in the same few ways at every agency:
- The doc isn’t where the links are built. People build links in a spreadsheet, a browser extension or the ad platform, and the convention lives somewhere else. Put the approved values where the link is built, as dropdowns, not in a document next to it.
- Nobody owns the lists. Name one person per client who adds values. Everyone else picks from what’s there.
- New people arrive. A junior buyer abbreviates a name on day one. They aren’t careless; they’ve never seen the doc. A short onboarding walkthrough fixes more than a longer doc.
- Old values never leave. When an offer ends, mark it retired rather than deleting it, so past links still make sense but nobody picks it for a new one.
- Mistakes surface months later. Check links before they ship, and check GA4 for split values every few weeks.
Check what you already have
Two free checks, no account needed:
- Paste the links you’ve already built into the UTM checker. It flags capital letters, spaces, missing fields and values written two ways.
- Upload your GA4 Traffic acquisition export on the same page. It lists every source, medium and campaign that GA4 is counting under more than one spelling, and how many sessions each spelling took.
Tag Docket is built around this template: each client’s approved values become the only options in the builder, everything is lowercased with no way to turn it off, and every link is recorded with who made it. But the template works in a spreadsheet too. The rules matter more than the tool.