UTM Spreadsheet Template: Columns, Formulas and Validation That Keep Tags Consistent

A UTM spreadsheet template to copy: the columns, value lists, validation rules and formulas that stop inconsistent tags, and when to move beyond it.

Rob Allanach9 min readHow-to
Label makers tumbled at odd angles beside identical label makers standing in rows

When more than one person builds tracking links, a shared UTM spreadsheet is usually the first tool a team reaches for, with one line per link, a field for each parameter, approved lists for source and medium, and a formula that writes the final URL. Validation on the value fields is what makes it useful. Without it, the sheet records whatever people type.

The free templates in the top search results stop at the URL formula. That solves malformed links and leaves the harder problem, inconsistent values, untouched. The set-up below adds the parts that keep values consistent, and ends with the signs that a team has outgrown the spreadsheet altogether.

What goes in a UTM tracking spreadsheet?

The most useful design choice is to keep the links, the approved value lists and a change log in separate tabs. People then edit the lists in one place, and every link reads from them.

  • Links tab. One line per tagged URL, with the values chosen for it and the generated link.
  • Lists tab. The approved values for utm_source and utm_medium, and the parts used to build utm_campaign. Nobody edits this tab except its owner.
  • Log tab. Every change to the lists: the value, who approved it and when.

The lists tab exists because of how analytics tools read the values. Google’s guidance on building campaign URLs says parameter values are case-sensitive, recommends lowercase as standard practice, and advises matching values to the names you use for your platforms internally. Two spellings of one source become two lines in every report. A list that people choose from, rather than a column they type into, prevents that.

If the five parameters themselves are new to you, the guide to UTM parameters defines each one with examples.

Same lists, enforced where links are builtClaravine Campaign keeps your approved UTM values in one governed list and generates every tagged link from it, so no one types a value by hand.Explore Claravine Campaign

UTM tracking spreadsheet template: the columns

Each line carries everything needed to rebuild or audit the link later, from the destination URL to the generated link. Copy these fields in this order into the links tab.

FieldWhat goes in itRule
Destination URLThe landing page, without parametersMust start with https://
utm_sourceWhere the click comes from, such as google or linkedinChoose from the lists tab
utm_mediumThe type of channel, such as cpc, email or paid_socialChoose from the lists tab
Campaign partsRegion, product line, initiative and quarter, one per fieldChoose from the lists tab
utm_campaignBuilt from the campaign partsFormula, never typed
utm_contentThe creative or variant, such as video_15s_aLowercase, underscores, no spaces
utm_termPaid search keyword, where usedOptional
OwnerThe person who requested the linkRequired
Launch dateWhen the link goes liveDate format
Tagged URLThe full linkFormula, never typed
Tracking IDOne ID per link, built from the campaign parts plus a sequence numberGenerated once, then frozen as a value
Link checkedThe landing page loads and the analytics tag firesYes or No, before launch
CheckFlags any value not on the lists tabFormula

The last two columns come from how Claravine’s own templates work. Every link gets a generated ID that downstream systems, such as an analytics tool or a warehouse, use as the key to join its metadata. And a link can be checked when it is entered, so a broken page or a tag that does not fire is caught while the campaign can still be fixed. In a spreadsheet the ID should be generated once and then pasted as a value, because a formula changes the ID whenever someone edits a part. A spreadsheet cannot run that check. It can record it, and recording it is what makes someone do it.

The medium field matters more than it looks. Google Analytics 4 assigns each session to a channel by matching source and medium against fixed rules, and its default channel group documentation notes: “Channel definitions aren’t case sensitive and can’t be edited.” A medium value that does not fit the rules lands in the Unassigned channel, however carefully the rest of the line was filled in. Put only values that map to the channel you intend on the lists tab.

How to set up validation so bad values can’t be typed

Point the source and medium fields at the approved lists with dropdown validation, and reject anything else. This one step does most of the work.

In Google Sheets, select the column, open data validation and choose a dropdown from a range, pointing at the matching column on the lists tab. Google’s help page on in-cell dropdown lists walks through it. Set the rule to reject input rather than show a warning, so an off-list value cannot be saved.

In Excel, the equivalent is a data validation list. Microsoft’s guide to applying data validation to cells covers the list option and the error alert that blocks other entries.

Every good UTM sheet I’ve seen is quietly trying to be a validation tool. The dropdowns are the part that matters; the URL formula is the easy bit.

Anthony Freeman · Principal Product Manager, Claravine

Then protect the lists tab so only its owner can edit it. Validation that anyone can change by adding a value to the list is a suggestion, not a rule.

Validate the pair, not just each value. In our conversations with marketing teams, we often hear that the spreadsheet itself becomes a source of errors: values are retyped by hand, and a formula or a pasted format adds stray characters. Two dropdowns that each accept any approved value also still let email sit in source and newsletter in medium. A third column on the lists tab, holding the approved combinations as source|medium, closes that gap with one more check per line, for example =IF(SUMPRODUCT(--EXACT(Lists!C2:C100,LOWER(B2)&"|"&LOWER(C2)))=0,"pair not approved",""). Claravine’s own templates narrow the choices before they are made, with drill-down lists in which each column’s options are filtered by the selection in the column before it.

Formulas that build and check the tagged URL

One formula lowercases and joins the values; a second flags any value that is not on the approved list. Both live in their own fields so nobody overwrites them.

To build the link, join the destination URL with each parameter, lowercasing every value and replacing spaces with underscores. In Google Sheets or Excel the pattern is:

=A2&"?utm_source="&LOWER(B2)&"&utm_medium="&LOWER(C2)&"&utm_campaign="&LOWER(SUBSTITUTE(H2," ","_"))&"&utm_content="&LOWER(SUBSTITUTE(I2," ","_"))

If some destination URLs already carry a query string, test for a question mark first and join with an ampersand instead.

To check, test each chosen value against its own list with an exact, case-sensitive match, and show a flag when it is missing. COUNTIF is not enough here: it ignores case, so Email would pass against email. A pattern such as =IF(SUMPRODUCT(--EXACT(Lists!A2:A200,B2))=0,"not on list","") checks the source value against the source list; point the medium check at the medium list column, and so on for each field. Sort by the check field before anyone copies links into an ad platform.

Lock both formula fields. A typed-over formula is the most common way a validated sheet quietly stops validating.

How to name campaigns inside the sheet

Build the campaign value from parts chosen in separate fields, rather than typing it whole. A typed campaign name is where most drift starts.

Give each part its own field with its own dropdown: region, product line, initiative, quarter. The campaign formula joins them in a fixed order with underscores, for example emea_fieldkit_springlaunch_q2. The order follows your naming convention, and because each part comes from a list, two people building links for the same campaign produce the same value.

Keep free text out of every field that analysis will group by. If a field genuinely needs free text, such as a short creative note, put it in utm_content or a notes field, never in source, medium or campaign.

Carhartt’s analytics team described the limit of this approach in the published case study, where the old spreadsheet process is summed up this way: “it was always an uphill battle for people to have the latest Excel version, follow the rules and replicate that campaign after campaign.” — Andrew Laycock, Analytics Manager - Direct to Consumer, Carhartt. The Carhartt story covers what the team did next.

When a UTM builder spreadsheet stops being enough

A spreadsheet stops being enough when more people create links than can be trained on it. The template above buys time; it does not change who can break it.

Five signs, as a one-minute self-check:

  1. Copies of the sheet exist on other teams’ drives, or in agency inboxes.
  2. Someone outside the owner’s team asks for a new list value every week.
  3. Links are built outside the sheet and pasted in afterwards, or never pasted in.
  4. The check field shows flags nobody resolves before launch.
  5. The same values have to be retyped into an ad platform, a project tool and a report.

Two or more of these mean the rules need to live somewhere the sheet cannot be copied away from, because the signs share a cause. The sheet holds the rules, but links are built, pasted and edited in places it cannot see, and a change on the lists tab reaches only the links made after it. Links already live keep the old value, so reports hold both spellings until someone maps them by hand.

What replaces the sheet depends on how far the rules need to reach:

  • Tagging inside each ad platform. Google Ads fills in ValueTrack parameters, such as the campaign ID, from tracking information set at the account, campaign or ad group level. Nobody types those values, but they cover that platform’s links only, and they carry whatever that platform holds for the campaign rather than the values on your lists.
  • A dedicated link builder. Saved presets and a shared history replace the copies on other drives. The lists live inside that one tool, though, so the values people type into the ad platform, the project tool or the report are still unchecked.
  • Standards applied at entry, across tools. One approved list serves every place where links and campaign records are created, agencies included, so a change is made and logged once instead of on every copy.

Claravine’s guide to taxonomy governance compares a spreadsheet with purpose-built options category by category, and the data standardization tools guide sets a spreadsheet against a dedicated platform on edit rights, enforcement and change history.

Move the rules out of the sheetClaravine Campaign applies your UTM lists and naming parts at entry, and still works through a spreadsheet interface and an Excel add-in, so teams keep the format they know.Explore Claravine Campaign

Frequently asked questions

Is there a free UTM spreadsheet template?

Yes; several are public, and the fields and formulas described here can be copied into any blank sheet. Whichever you start from, add dropdown validation on source and medium and a check field, or the template will only build links, not keep them consistent.

Do UTM values need to be lowercase in a spreadsheet?

Yes. Google Analytics treats Email and email as different values, and Google recommends lowercase as a standard. Enforce it with LOWER in the URL formula rather than by asking people to remember.

How do I stop people typing their own UTM values?

Replace typed fields with dropdowns that reject anything off the list, protect the list tab, and build the campaign value from chosen parts. People can still pick the wrong value from a list, but they cannot invent a new spelling.

What should replace a UTM spreadsheet?

A tool that holds the approved values centrally and applies them wherever links are created, including agency workflows. The comparison in Claravine’s taxonomy governance guide sets out the categories and what each leaves to people.

Sources

Related Posts

Free guideThe 2026 Healthcare Marketing Data Compliance ChecklistA 20-point audit for healthcare marketers to self-assess compliance risk in their marketing data — consent, campaign tracking, vendors and internal governance under HIPAA, GDPR and state privacy laws — plus four warning signs you're likely non-compliant.Get the guide