Free tool
UTM Governance Validator
Check tagged URLs against your UTM rules and get the violations and a cleaned version of each link.
How it works
What is the UTM Governance Validator?
The UTM Governance Validator is a free tool that checks campaign URLs against your own UTM rules. Paste URLs one per line, choose the required parameters, lowercase and no-space rules, and optional allowed lists for source and medium. It lists every violation for each URL and gives a cleaned version you can copy.
How to use the UTM Governance Validator
- Paste your tagged URLs, one per line.
- Tick the parameters every link must carry.
- Keep or untick the lowercase and no-spaces rules.
- Optionally list the source and medium values your team allows.
- Read the violations under each URL and copy the cleaned URLs.
What is UTM governance?
UTM governance is the set of rules a team agrees on for tagging campaign links: which parameters are required, how values are written, and which sources and mediums are allowed. The parameters themselves are simple (utm_source, utm_medium, utm_campaign and a few optional ones), but nothing stops two people from writing the same campaign two different ways.
This tool is the checking half. You set the rules, paste the links, and it reports where each link breaks them. To create links that follow the rules from the start, use the UTM Builder.
Why do inconsistent UTM values cause problems in GA4?
GA4 treats UTM values as case sensitive, so Email, email and E-mail become three separate rows. One campaign is split across them, and every report needs manual cleanup before the numbers can be read.
Medium matters most. GA4 assigns its default channel groups with rules that read source and medium, so a medium outside the values those rules expect often ends up in Unassigned. An allowed list for medium is the single most useful rule to set here.
What does the UTM validator check?
For each URL it checks that required parameters are present and not empty, that values are lowercase and have no spaces if you turned those rules on, and that source and medium are in your allowed lists if you gave any. It also catches a parameter that appears twice, a parameter name written in capitals, UTM parameters placed after the #, and names starting with utm_ that GA4 does not read, which is usually a typo such as utm_campain.
It checks syntax against your rules. It cannot tell whether a campaign name is the right one for the campaign.
How does the cleaned URL work?
The cleaned version lowercases UTM values, replaces spaces with hyphens, lowercases parameter names and drops a repeated parameter, keeping its first value. The rest of the URL is kept as it was.
Some problems cannot be fixed automatically. A missing parameter needs a value only you know, a misspelled parameter name could be meant for several things, and a source outside your allowed list needs a decision. Those stay flagged in the cleaned URL's list of violations.
What is a good UTM naming convention?
A common rule of thumb: lowercase everything, use hyphens or underscores instead of spaces, keep utm_medium to a short fixed list such as cpc, email, social and referral, and name the platform in utm_source. Write the rules down where everyone who builds links can find them.
Never put UTM parameters on links between pages of your own site. They start a new session with a new source and overwrite how the visitor actually arrived. For journeys across two of your domains, see the Cross-Domain Tracking Generator.
Questions
- Which UTM parameters does GA4 read?
utm_source,utm_medium,utm_campaign,utm_term,utm_contentandutm_id, plusutm_source_platform,utm_creative_formatandutm_marketing_tactic.- Are UTM parameters case sensitive?
- The values are, in GA4.
LinkedInandlinkedinare reported as two sources. That is why the lowercase rule is on by default. - Can I check a whole spreadsheet of links?
- Yes. Copy the URL column and paste it in. Each line is checked separately, and you can copy all cleaned URLs back in the same order.
- Does the tool open or test the URLs?
- No. It only reads the text of each URL. It does not request the page, so it cannot tell you whether the link works.
- Is the UTM Governance Validator free?
- Yes, with a free spyc.ai account. It runs entirely in your browser, so nothing you type or paste is sent to a server.
Analytics Tools
More in Analytics Tools
GA4 Event Generator
Pick a GA4 recommended or custom event, add parameters, and copy the gtag snippet and dataLayer push.
Generate eventGA4 Measurement Protocol Builder
Build a GA4 Measurement Protocol request: JSON body, collect and debug URLs, and a curl command.
Build requestGTM dataLayer Generator
Write dataLayer.push code for GA4 ecommerce and custom events, with the GTM variables to create.
Generate dataLayerReady when you are
Before your next buyer asks AI about you, ask AI about yourself
One check, four engines, about twenty seconds. We show you the answers before we ask for anything.