---
name: utm-governance
description: "Sets the UTM rules a team follows and gives them a builder: a closed list of sources and mediums mapped to GA4's default channels, a campaign naming pattern, rules for ads, email, social, partners and offline, a link register, and a monthly audit that finds untagged, misspelled and misrouted traffic. Use when someone asks for UTM conventions, a UTM builder, campaign naming rules, how to tag links for a launch, newsletter, partner or ad, or why traffic shows up as Unassigned, (not set) or split across several spellings."
license: MIT
compatibility: "Any AI agent. A spreadsheet holds the builder. GA4 access or a Traffic acquisition export helps for the audit but is optional."
metadata:
  title: "UTM governance"
  category: "Analytics and reporting"
  requires: "none"
  data-needed: "None"
  slate-tools: "create_sheet, edit_sheet_rows, get_sheet_rows, query_google_sheets, query_pages (Slate MCP); Sheets and Pages and site analytics in the Slate app"
  homepage: "https://slatehq.com/skills/utm-governance"
  author: "Slate"
  version: "1.0.0"
---

# UTM governance

Gives a team one page of UTM rules, a closed list of allowed values, a builder and a register of every tagged link, so each campaign link lands in the right GA4 channel and is spelled the same way everywhere. Without it, reports split "LinkedIn", "linkedin" and "linkedin.com" into three rows, send mediums GA4 doesn't recognise to Unassigned, and credit your own newsletter to organic search. A monthly audit catches what slips through.

## When to use

- "Set up UTM conventions", "build us a UTM builder", "how should we tag this campaign / newsletter / partner link", "why is so much traffic Unassigned", "our campaign names are a mess", "standardise campaign naming".
- Before a launch, a new paid channel, a partner program, or when several people or agencies create links.
- Not for which events and conversions to track: use `tracking-plan`.
- Not for crediting signups and deals to channels: use `attribution-analysis`.

## What you need

Required:
- **The channels the team runs**: paid search, paid social (which networks), email (own lists and sponsored newsletters), organic social, partners or affiliates, events, offline (QR codes, print).
- **Who creates links**: in-house, agencies, partners.

Ask for, or assume and state:
- **Current traffic by source/medium and campaign** for the last 90 days (GA4 Traffic acquisition). Default: start without an audit and run one after a month.
- **Ad accounts and whether Google Ads auto-tagging is on.** Default: assume it is and keep it on.
- **Custom channel groups** already set up in GA4, and other tools that read UTMs (CRM, marketing automation).
- **Markets and products** that should appear in campaign names.

## Data and tools

- **In Slate:** Sheets holds the allowed-values list, the builder and the link register; the agent writes the finished tagged URL into each row. Pages and site analytics shows GA4 sessions and key events by channel and by source/medium for tracked pages, enough to see whether a campaign's traffic landed in the expected channel.
- **With the Slate MCP server:** `create_sheet` with the register columns, `edit_sheet_rows` to add links, `get_sheet_rows` to read the allowed values before building a link. `query_google_sheets` reads a register the team already keeps in Google Sheets. `query_pages` with `view: "list"` and `filters.source_medium` (for example `["newsletter / email"]`) checks which pages a source sent traffic to; it covers tracked pages only, not every source/medium in the property.
- **Without Slate:** a shared spreadsheet with data-validation dropdowns and a formula that assembles the URL, plus GA4 Traffic acquisition (session source/medium, session campaign) for the audit.

## Procedure

1. **Audit what exists** (skip for a new site). From 90 days of GA4 Traffic acquisition, flag: Unassigned plus "(not set)" above 5% of sessions; values that differ only by case, spaces or separators; mediums GA4 doesn't map to a channel; your own domain as a source (UTMs on internal links); `organic` used as a medium on links you placed; campaigns with traffic but no key events at all (often a broken landing page).
2. **Fix what each parameter means.**
   - `utm_source`: who sent the visit, as one word or hyphenated name: `linkedin`, `google`, `partner-name`, `newsletter-name`.
   - `utm_medium`: the type of channel, only from the closed list in `references/medium-to-channel.md`.
   - `utm_campaign`: the campaign, built from the naming pattern below.
   - `utm_content`: the creative, placement or link position: `video-a`, `header-link`.
   - `utm_term`: the paid keyword or audience; empty elsewhere.
   - Optional `utm_id`: the ad platform's campaign ID, which lets cost imports join to sessions.
3. **Set the value rules.** Lowercase only. Hyphens inside a value, no spaces, no special characters, no personal data. One spelling per source, held in the allowed-values list. Values longer than about 60 characters are a sign the campaign name carries too much.
4. **Set the campaign naming pattern.** Fields in a fixed order, separated by underscores: `<yyyymm>_<objective>_<offer-or-theme>_<market>`, for example `yyyymm_launch_reporting-feature_us`. Each field comes from a closed list (objectives: `launch`, `webinar`, `promo`, `nurture`, `always-on`; markets: country codes or `global`). Use the same name in the ad platform, the email tool and the CRM so reports join.
5. **Write the channel rules.** Map each real situation to source and medium using the reference table. The ones teams get wrong:
   - Google Ads: keep auto-tagging on. Add UTMs through the account's final URL suffix only if other tools need them, with `utm_id={campaignid}`.
   - Paid social: `utm_medium=paid-social` with the network's own name as source (`linkedin`, `facebook`, `instagram`). GA4 matches sources against its list of social sites; a made-up or agency label lands in Paid Other.
   - Own email: `utm_medium=email`, source = the list or program (`customer-newsletter`, `trial-nurture`). Never `newsletter` as a medium: GA4 sends it to Unassigned.
   - Partners and affiliates: `utm_medium=affiliate` for paid-per-result partners, `referral` for unpaid ones; source = the partner; one link per placement.
   - Organic social posts: `utm_medium=social`, source = the network.
   - Podcasts, sponsorships, events, QR codes: GA4 has no default channel for these. Either use the nearest default (a paid sponsorship as `paid-sponsorship` lands in Paid Other) or add a custom channel group in GA4 before the campaign starts. Write down which.
   - Internal links, including banners on your own site and links from your app to your blog: never tagged. They overwrite the visitor's real source.
6. **Build the builder and register.** Two tabs. Allowed values: source, medium, objective, market, each with its GA4 channel. Register: one row per link with date, owner, destination URL, source, medium, campaign, content, term, final URL, short link, expected GA4 channel, checked date. The final URL is assembled from the row, never typed by hand.
7. **Check every link before it ships.** It opens with a 200 status after every redirect and shortener, the parameters survive the redirects, and a test click shows the expected source and medium in GA4 Realtime. Some redirects strip query strings: test the short link, not just the long one.
8. **Set ownership and the audit.** One owner adds new values; everyone else picks from the list. Monthly: rerun step 1, list new offending values, fix the links still live, and add a row to an old-to-new map for each renamed value. Don't rename history; old reports keep the old names.

## Output

The convention, the builder and the audit, in one document plus a sheet.

```markdown
## UTM rules: <company>, version <n>, owner <name>, <date>

### What each parameter means (one line each)
### Allowed values
| Field | Value | Meaning | GA4 channel |

### Campaign naming pattern
<pattern>, field lists, two worked examples.

### Channel rules
| Situation | utm_source | utm_medium | utm_campaign | Notes |

### Never
Internal links, organic as a medium, capital letters, personal data.

### Audit (<window>, GA4 property <name>)
| Source / medium | Sessions | Key events | Channel it landed in | Issue | Action (keep, fix, retire) |
Unassigned + (not set): <n>% of sessions (<window>).
```

## Quality checks

- Every allowed medium is mapped to the GA4 channel it lands in, and none lands in Unassigned by accident.
- No value contains capitals, spaces or personal data.
- The campaign pattern has a closed list for every field and two examples that follow it.
- Internal links are explicitly excluded.
- Google Ads auto-tagging is left on.
- Every audit number names the GA4 property, the window and the export date.

## Common mistakes

- **`utm_medium=organic` on your own links.** GA4 counts it as Organic Search and inflates SEO. Use `social`, `email` or `referral`.
- **Free-text values.** "Facebook", "facebook" and "fb" become three sources. Pick from a list.
- **Mediums GA4 doesn't know.** `newsletter`, `podcast`, `influencer` and `webinar` go to Unassigned unless a custom channel group catches them.
- **Tagging internal links.** A visitor from Google who clicks your own tagged banner becomes "banner" traffic, and the real source is lost.
- **Turning off auto-tagging** to use UTMs in Google Ads. It drops the click ID that ties GA4 sessions and offline conversions to ad clicks. Keep both.
- **Renaming history.** Changing old campaign names breaks year-over-year reports. Map old to new instead.

## Related skills

- `tracking-plan`: the events and the first-touch capture that read these parameters.
- `attribution-analysis`: credit signups and deals once tagging is consistent.
- `marketing-dashboard`: show traffic and key events by channel.
- `weekly-marketing-report`: report channel results that depend on clean tags.
