Tools UTM builder

Free tool · no signup

UTM generator

Build a campaign URL that survives your reporting. Values are cleaned, the missing pieces are flagged, and you can see which GA4 channel the link will land in before you paste it anywhere.

  • Runs in your browser
  • Lowercases and validates
  • Nothing uploaded

Build the link

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.

CheckWhy it matters
Lowercase everythingFacebook, facebook and FB are three sources in GA4. One channel, four rows.
Spaces to dashesA space becomes %20 and reports render it inconsistently. Dashes group cleanly.
Duplicate parametersA URL that already has utm_source and gets a second one sends the first value nowhere, silently.
Missing source or mediumNo medium means the session falls into (none) and the default channel grouping cannot classify it.
Channel previewMedium 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 orderThe 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

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.

Want the naming convention as a one-pager?

The source, medium and campaign rules I use on client accounts, short enough to paste into a team doc.

One email with the file, then nothing unless you reply. Your address is not added to a list.

🔒 Secure checkout
Loading secure checkout…
Payments by Stripe · Cards, Apple Pay, Google Pay