UTM Builder
Builds campaign URLs with the five UTM parameters and warns you live about mistakes that wreck GA4 reports, like uppercase letters or a missing campaign.
* Required
Result
Warnings
None yet.
One capital letter in the wrong place, and from tomorrow GA4 counts your newsletter traffic under two separate sources. The builder puts campaign URLs together and warns you right away about exactly the mistakes that cause this later.
It's meant for everyone who builds UTM links by hand. Marketing teams tagging a newsletter campaign. Freelancers suggesting a naming convention to a client. Or anyone who's had enough of the spreadsheet where three people enter different spellings for the same source. It runs entirely in the browser, nothing goes to a server.
How it works
You enter a base URL. Then come the five UTM parameters: source, medium, campaign, keyword and content. Source and medium come with presets in the dropdown list, google and newsletter, for example, or cpc and email. But you can also type your own values. The builder turns that into the finished URL live. It encodes special characters automatically and leaves existing query parameters in your base URL alone.
If the base URL already carries UTM parameters from an old copy-paste, the builder warns you and overwrites them with your new values. If there's no valid base URL with https://, you get an error message right away instead of a half-finished URL to copy on. An unusual protocol like ftp:// gets a warning too.
Once the URL is done, you copy it with one click. If source, medium or campaign is missing, you see the warning immediately. You can still copy the URL, though. The button is only disabled for an empty or invalid base URL.
When you need it
- You tag links for a newsletter, social posts or a paid campaign. Afterwards GA4 shows you what actually worked.
- You agree on a naming convention with a client and let the builder enforce half of it automatically.
- You check once more before sending that the base URL isn't dragging along an old UTM leftover from the last copy-paste.
- You replace the spreadsheet where three people maintain UTM values and nobody knows which version is current anymore.
Why upper and lower case wreck reports
GA4 treats UTM values as case-sensitive strings. An example: half your newsletter traffic comes in as utm_source=Newsletter, the other half as utm_source=newsletter. GA4 then shows two sources, both weaker than the channel really is.
Google says so itself: source, medium and campaign need a strict, case-sensitive naming convention. Meta and meta count as different values. Lowercase is the recommended standard.
In practice this rarely happens out of carelessness. It happens because five colleagues use five spellings for the same channel. In the report, one actually strong newsletter channel turns into five weak ones.
The builder flags every capital letter in a field as soon as you type it. Not as a suggestion, but as a warning naming the specific field and value.
The same goes for spaces. They end up in the URL as %20. That's neither readable nor something anyone would type by hand. A hyphen does the same job and stays readable.
Which of the five parameters are required
Of the five UTM parameters, three are really needed: source (utm_source), medium (utm_medium) and campaign (utm_campaign). Google itself lists these three as the core of every custom campaign URL.
Without them GA4 can't attribute the traffic to a campaign. The click lands under a generic source instead. The builder marks all three as required fields and warns as soon as one is missing.
An example makes the difference clear: utm_source=newsletter&utm_medium=email&utm_campaign=spring-launch is enough for GA4 to attribute the traffic cleanly to the spring campaign. Keyword (utm_term) and content (utm_content) are optional and meant for other purposes.
Keyword was originally meant for paid search terms and today is mostly only relevant for Google Ads campaigns. Content tells apart two variants of the same campaign. For example utm_content=cta-top and utm_content=cta-bottom for two buttons in the same email that both lead to the same landing page.
If both are missing, nothing happens. GA4 still groups correctly.
Why UTM parameters on internal links cause trouble
A UTM link from your own homepage to an internal landing page looks harmless and isn't. GA4 doesn't start a new session when new campaign values show up mid-visit. Even so, those values get attributed to the events from that click on. The session itself stays credited to its original source.
Google describes this behavior itself: new campaign values that arrive in the middle of a session feed into event-based attribution. The session itself isn't reattributed.
After that, the session and the individual event tell two different stories. Which one shows up in the report depends on the dimension you're looking at.
In practice that means UTM parameters belong on links from outside your site. Newsletters, ads, social posts. Never on internal navigation, not even on a banner from the homepage to the promo page. For internal traffic, a link without parameters is enough.
What the builder can't do
It doesn't check against your real GA4 property whether a channel name already exists or a campaign is used twice. That would need access it deliberately doesn't have.
It doesn't shorten long URLs and doesn't remember anything. Every session in the browser starts empty.
It also doesn't build platform-specific parameters like Google Ads click IDs. Instead it sticks to the five UTM fields that work across every analytics tool, not just GA4.
The address bar is also public: whatever you write into a campaign URL, everyone who clicks or forwards the link can see. It's no place for internal code names or client names that aren't meant to go public.
For setting up the campaign itself, the n8n workflows for marketing teams help. For the analysis afterwards, take a look at my automated SEO reports with Google Search Console. Before the link goes live, the meta tag checker checks the title and description. The JSON-LD generator builds the structured data around it. Why this tool exists as its own page instead of as part of an SEO bundle is in my list of the twelve tools I built myself.
FAQ
- Which UTM parameters are required?
- Three out of five: utm_source, utm_medium and utm_campaign. Google lists them as the core of every custom campaign URL. Without them GA4 can't attribute the traffic to a campaign and the click lands under a generic source. utm_term and utm_content are optional, and if both are missing GA4 still groups correctly.
- Why does the builder warn about uppercase letters?
- Because GA4 treats UTM values as case-sensitive. If half your newsletter traffic comes in as utm_source=Newsletter and the other half as utm_source=newsletter, GA4 shows two sources, both weaker than the channel really is. Google recommends lowercase as the standard. The same goes for spaces, which end up as %20 in the URL. A hyphen does the same job and stays readable.
- Can I put UTM parameters on internal links?
- Better not. GA4 doesn't start a new session when new campaign values show up mid-visit, but it does attribute them to every event from that click on, while the session stays credited to its original source. After that, session and event tell two different stories, and which one shows up in the report depends on the dimension. UTM belongs on links from outside: newsletters, ads, social posts.
- What happens to UTM leftovers in my base URL?
- The builder warns you and overwrites them with your new values. It leaves other query parameters alone and encodes special characters itself. If there's no valid base URL with https, you get an error message instead of a half-finished URL someone copies on.
- Can I put internal code names in a campaign URL?
- Technically yes, sensibly no. The address bar is public: whatever is in the URL, everyone who clicks or forwards the link can see. It's the wrong place for internal code names or client names that aren't meant to go public.
More tools
Readability Checker
Check readability with the right formula: Amstad for German, Flesch Reading Ease for English. Score, stats and your longest sentences, right in your browser.
Markdown Editor
Markdown on the left, live preview on the right. One click copies both so the formatting survives in Word, Google Docs and Gmail.
JSON-LD Generator
Generate JSON-LD from a form or check existing markup for missing required fields. 17 Schema.org types from Article to VideoObject, in your browser.
AI Phrase Checker
Paste text, see AI patterns flagged: stock phrases, em dashes, chatbot leftovers. Not an AI detector but a lint, for English and German, in your browser.