Tag Docket
← All posts

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.

Marcus Sanford UTMNaming conventions

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

ParameterWhat it holdsPatternExample
utm_sourceWhere the visit came from: the platform, publication or printed pieceone value from the client’s listfacebook, google, newsletter, yardsign
utm_mediumThe kind of traffic, chosen so GA4 files it in the right channelone value from a fixed listpaidsocial, cpc, email, print
utm_campaignThe campaign, built from parts in a fixed order{period}_{offer}_{product}spring26_freeinspect_gutters
utm_contentWhat tells two links in the same campaign apart: the creative, placement or marketone value from the client’s listcarousel, northside
utm_termThe keyword or audience, where the platform doesn’t fill it inone value, or the platform’s macroretargeting30d

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

  1. Lowercase, always. GA4 treats Facebook and facebook as different values, and there is no setting to change that. Lowercase is the one rule that costs nothing and prevents the most damage.
  2. No spaces. A space arrives as + or %20 depending on what built the link, so one value becomes two. Join words without a space: freeinspect, not free inspect.
  3. One separator, and never inside a value. Pick _ for joining the parts of a campaign name, and then don’t use _ anywhere else. If paid_social is a medium, nobody can tell later whether a campaign called spring26_paid_social_gutters has three parts or four.
  4. 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.
  5. The full name, not an abbreviation. facebook, not fb. 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:

MediumGA4 channel
cpcPaid Search for search engines, Paid Other otherwise
paidsocialPaid Social for social sites, Paid Other otherwise
displayDisplay
emailEmail
smsSMS
socialOrganic Social
affiliateAffiliates
referralReferral
audioAudio

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.

Bring the spreadsheet. We’ll show you the registry.

Start a free trial, no card needed. Your team signs in with an email link, no passwords.