The UTM Parameter Canonicalizer is a free code snippet that normalizes raw UTM values and, given a synonym map you supply, canonicalizes known variants to one real channel name, surfacing exactly which raw values silently fragmented the same channel across your reports.
Pure functions over the UTM data and synonym map you supply. Not a hosted service, and does not assert a universal channel-naming list as “correct” — naming conventions are genuinely different per organization, so you supply your own synonym map.
| File | Purpose |
|---|---|
utm-canonicalizer.js | normalizeUtmValue(), buildReverseSynonymMap(), canonicalizeUtmValue(), detectFragmentation() — zero dependencies |
test.js | 15-test suite covering normalization, canonicalization, and real fragmentation detection |
Normalization handles the three common separator styles (slash, hyphen, underscore, plus arbitrary whitespace) so differently-formatted equivalents resolve identically before synonym matching runs. And fragmentation requires 2+ genuinely distinct raw strings, not just repeated rows of the same value, with unmapped raw values reported separately rather than silently bucketed into an Unknown catch-all.
Yes. Free to download and use. MV3 charges $175/hr only for implementation help wiring this into your real GA4/BigQuery export data.
No. Channel naming conventions genuinely differ per organization, so you supply your own synonym map rather than trusting an asserted universal list.
Only when 2 or more genuinely distinct raw value strings collapse into the same canonical channel. The same raw string appearing many times is normal traffic volume, not fragmentation.
AI Marketing & SEO Automation, All States
AI Content & SEO Infrastructure for B2B companies that want to own their growth channel , not rent it.
(704) 317-2293 Get the Audit →We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
Google Tag Manager simplifies the management of marketing tags on your website without code changes.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.