How to use the UTM builder
- Paste the address of the page the link should open. An existing query string or #anchor is kept as it is.
- Enter a source, a medium and a campaign. Google's documentation says to always use these three together.
- Add a term or content value only if you need one.
- Copy the tagged URL and use it as the link in your ad, email or post.
The link updates as you type. By default the builder lowercases every value and turns spaces into hyphens, so "Spring Launch" becomes "spring-launch". Switch that off if you need to match values that already exist in your reports.
What each UTM parameter means
A UTM link is a normal URL with up to five labels on the end. This UTM generator writes them in the standard order.
| Parameter | What it records | Example |
|---|---|---|
| utm_source | Who sent the visitor | newsletter, google, linkedin |
| utm_medium | The kind of channel | email, cpc, social |
| utm_campaign | The promotion or launch | spring-launch |
| utm_term | The paid keyword | crm-software |
| utm_content | Which link or creative was clicked | header-button |
Google Analytics reads these labels when the page loads and files the visit under that source, medium and campaign. A value you leave out shows in reports as (not set). The full list and how to plan them is in the guide to UTM parameters.
Why lowercase and hyphens are the default
Parameter values are case sensitive in Google Analytics, so "Email" and "email" are reported as two different mediums. One person typing a capital letter splits a channel across two rows, and nobody notices until the numbers do not add up. Lowercasing everything removes that risk.
Spaces are the other problem. A space in a URL is encoded as %20, which makes links ugly and easy to break when they are copied between tools. Hyphens survive every email client and ad platform.
How to read your tagged URL
Everything after the question mark is the query string. Each parameter is a name, an equals sign and a value, joined by ampersands. If the page already had a query string, the UTM values are added to the end of it. If it had an #anchor, the anchor stays last, because browsers ignore any parameter written after it.
Open the link in a private window before you publish it and confirm the page loads and the parameters are still in the address bar. Some redirects strip them.
Common mistakes
- Tagging internal links. UTMs on links between your own pages overwrite where the visitor really came from. Use them only on links from outside your site.
- Inconsistent names. "linkedin", "LinkedIn" and "li" become three sources. Agree a short list of sources and mediums and stick to it.
- Putting the channel in the wrong field. Source is who, medium is how. "newsletter" is a source and "email" is a medium.
- Tagging with personal data. Never put an email address or a name in a UTM value. It ends up in analytics and in browser history.
- Stopping at the click. A tagged link is only useful if you compare what it brings in. Check each campaign's conversion rate, not only its visits.