What this checks that a plain builder does not
Most UTM builders concatenate strings and stop. That is how accounts end up with four spellings of Facebook and a channel report nobody trusts. This one applies the checks a tracking audit starts with, before the link ever reaches an ad account.
| Check | Why it matters |
|---|---|
| Lowercase everything | Facebook, facebook and FB are three sources in GA4. One channel, four rows. |
| Spaces to dashes | A space becomes %20 and reports render it inconsistently. Dashes group cleanly. |
| Duplicate parameters | A URL that already has utm_source and gets a second one sends the first value nowhere, silently. |
| Missing source or medium | No medium means the session falls into (none) and the default channel grouping cannot classify it. |
| Channel preview | Medium cpc is Paid Search when the source is a search engine and Paid Social when it is not. Getting the pair wrong puts the row in the wrong channel. |
| Fragment order | The tag goes before #, or the browser drops it entirely. Links with anchors are a classic source of `(direct)` traffic. |
A convention that survives a year
The values matter less than the consistency. Pick one shape and write it down where the team can see it:
source is the platform (google, meta, newsletter), medium is the bucket
(cpc, social, email), campaign is year-quarter-theme, and
content names the creative. Term is for paid keyword, or empty.
Two people tagging the same campaign differently is the whole problem. A builder that enforces the shape is how you stop it, and it takes one link to see the difference in the Acquisition report a month later.
When a link still shows (direct)
Three causes, in order of how often I see them: the link passes through a redirector that drops the query
string, the UTM sits after the #, or the same link is used on your own site and overwrites the
original source. The last one is the expensive one — a `Read more` link with UTMs on it will destroy the
attribution of every visitor who clicks it.
If the link is clean and the landing page still reports nothing, the problem is downstream: consent blocking, a cross-domain hop, or a tag that never fired. The click ID tester and the ecommerce tracking checklist cover that half.
Related tools
- Link hygiene scan — paste a list of live links and find the fragmentation already in the account.
- Break-even ROAS — what the campaign has to return to be worth running.
- Ecommerce tracking checklist — the fourteen checks in the order I run them.
Questions this raises
Does case really matter?
Yes. GA4 and Looker Studio treat `Facebook`, `facebook` and `FB` as three different sources, so your channel report splits into three rows for one channel. This builder lowercases every value for that reason, and the analyzer next to it shows what happens on an account that never did.
What should medium be?
The medium is the bucket, the source is the platform. `facebook` / `cpc` is paid social, `facebook` / `social` is organic social, `newsletter` / `email` is email. If medium says `facebook` you have two sources of truth fighting each other and the default channel grouping will not know where to put the session.
Why does my report still show (direct) / (none)?
Because the link is being followed by a redirect that strips the query string, or the link is on your own site so the session never restarts. UTMs on internal links overwrite the original source and dump the credit into `(direct)` — one of the most common self-inflicted reporting bugs.
Should campaign have spaces?
No. Spaces become `%20` in the URL and are then rendered inconsistently by reports. Use dashes, and keep a convention like `{year}-{quarter}-{theme}` so you can group campaigns later.