UTM Builder: Campaign URL Builder for Google Analytics
What are UTM tags?
UTM tags are small labels at the end of a link. They don’t change the page people land on. They tell your
analytics where the click came from. Here’s a link you might put in a newsletter:
https://example.com/shop?utm_source=newsletter&utm_medium=email&utm_campaign=autumn-sale
Someone who clicks it sees the normal shop page. Google Analytics reads the three tags and files the visit under
source newsletter, medium email and campaign autumn-sale. Without them, a lot
of email clicks show up as Direct, because many mail apps don’t say where the click came from.
The name is a leftover: UTM stands for Urchin Tracking Module, after Urchin, the company Google bought in 2005 and
turned into Google Analytics. Other analytics tools read the same tags, so they’re not only for Google.
How to use the UTM Builder
Everything happens in your browser. The builder never opens or checks the page you link to.
Step 1 Paste the page address
Type or paste the page you want people to land on. Left off the https://? It gets added for you.
If the address already has its own query string or a #section on the end, both stay where they
belong: your tags go after the existing ones and before the #.
Try it: the Sample button
Website URL:
https://example.com/shop/espresso-beans?size=250g#reviews
Finished link:
https://example.com/shop/espresso-beans?size=250g&utm_source=newsletter&utm_medium=email&utm_campaign=autumn-sale&utm_content=header-button#reviews
Pasted a link that already has UTM tags? The builder spots them and offers to move them into the form, so you
can edit them instead of ending up with two utm_source tags.
Step 2 Say where the link will be shared
Click a Quick fill button, like Newsletter email or Facebook post, and the source and medium
are filled in. Or type your own. The suggestions under each box show common values, and a yellow note appears
when a value has capitals or spaces, with a button that fixes it.
Step 3 Name the campaign, then copy
Give the campaign a short name and fill in the optional tags if you need them. The link builds as you type.
Click Copy. Each link you copy also goes into Links you built, so you can copy
it again next week or click Edit to load it back into the form.
Under the link you’ll see how GA4 will list the visit, like Session source / medium: newsletter / email.
It’s a good last look before the link goes out, because a typo here means a separate row in your reports.
Step 4 Need the same link for several places? Use Batch
Switch to Batch, type one source per line and you get one link for each. Same page, medium and
campaign, different source. Here’s a new menu shared on three social sites:
https://example.com/menu?utm_source=facebook&utm_medium=social&utm_campaign=new-menu
https://example.com/menu?utm_source=linkedin&utm_medium=social&utm_campaign=new-menu
https://example.com/menu?utm_source=x&utm_medium=social&utm_campaign=new-menu
Copy all puts them on your clipboard one per line, and CSV downloads them as a
spreadsheet with the source next to each link.
The six UTM parameters
You’ll use the first three on almost every link. The other three are for when you need more detail.
| Tag | What it’s for | Examples |
utm_source | Where the click came from: the site, app, list or piece of paper. | newsletter, facebook, flyer |
utm_medium | What kind of link it is. Keep this to a short list you reuse. | email, social, cpc, referral |
utm_campaign | The name of the campaign, sale or launch the link belongs to. | autumn-sale, app-launch |
utm_term | The keyword, for paid search ads. | espresso-beans |
utm_content | Tells apart two links that share everything else. | header-button, footer-link |
utm_id | A campaign ID. Used to match imported ad costs to visits. | fall-2026-01 |
utm_content is the one people forget about, and it answers a good question: which link in my email got
the clicks? Give each link its own value:
https://example.com/shop?utm_source=newsletter&utm_medium=email&utm_campaign=autumn-sale&utm_content=header-button
https://example.com/shop?utm_source=newsletter&utm_medium=email&utm_campaign=autumn-sale&utm_content=footer-link
Google also lists a few newer tags, like utm_source_platform. Its help pages say two of them,
utm_creative_format and utm_marketing_tactic, aren’t shown in GA4 reports yet. The builder
doesn’t add any of these, but if your address already has them, they’re kept as they are.
Where UTM data shows up in GA4
In Google Analytics 4, open Reports, then Acquisition, then Traffic
acquisition. The table starts grouped by channel. Click the name of the first column and switch it to
Session source / medium or Session campaign to see your tags. Google moves menus
around now and then, so if yours look different, type “traffic acquisition” in the search bar at the top of GA4.
Standard reports can take a day or two to fill in. To test a fresh link, click it yourself and watch the Realtime
report, which shows visits within minutes.
GA4 also puts every visit into a channel, using the source and medium. With its default rules, these pairs land
here:
| Source / medium | Default channel |
newsletter / email | Email |
facebook / social | Organic Social |
facebook / paid-social | Paid Social |
partner-site / referral | Referral |
flyer / qr-code | Unassigned |
That last row isn’t a mistake. GA4 has no channel for print, so flyer and poster visits end up in Unassigned. They’re
still easy to find in the source / medium view, they just don’t get a channel of their own.
Naming rules that keep your reports clean
Reports are only as tidy as the names you type. GA4 doesn’t fix spelling or case, so Facebook,
facebook and fb become three rows that you have to add up by hand.
- Lowercase everything. It’s the easiest rule to follow, and it gets rid of most duplicates on its
own.
-
Spaces turn into
%20 in the link. Hyphens read better (autumn-sale) and nobody wonders
next month whether it was an underscore.
-
If more than one person builds links, keep a shared sheet with the sources and mediums you’ve agreed on.
-
For the medium, a handful of values covers nearly everything: email, social, paid-social, cpc and referral. GA4’s
channel rules (above) look at this field, so made-up mediums tend to end up in Unassigned.
Messy (capitals and a space):
https://example.com/shop?utm_source=Newsletter&utm_campaign=Autumn%20Sale
Tidy:
https://example.com/shop?utm_source=newsletter&utm_campaign=autumn-sale
Don’t put UTM tags on your own internal links
UTM tags are for links that bring people to your site from somewhere else. Say Sam opens your newsletter,
lands on the home page and clicks a banner that has ?utm_source=homepage-banner on it. Now GA4 thinks
Sam came from a banner on your own site, and the newsletter loses the credit for that visit and anything Sam buys.
Links inside your site should be plain:
<a href="/shop/espresso-beans">Shop espresso beans</a>
If you want to know how many people click that banner, track it as an event in GA4 instead. Need help with the
<a> tag itself? The HTML Link Generator writes it for you.
UTM tags are public
Anyone who sees a tagged link can read every tag in it, and anyone can change or remove them before passing the link
on. So treat them as labels, not secrets. Never put an email address, a name, a customer number or a private
discount code in a tag. Google Analytics’ own rules don’t allow personal data in what you send it, either.
Got a link from someone else and want to see what it’s tracking, or share a clean copy? Paste it into the
URL Parser, which lists every parameter and lets you delete the ones you don’t want. If a
value has odd characters in it, the URL Encoder shows what the % codes mean.
New to the parts of a link? Start with What is a URL.
Why we don’t shorten links
A link shortener has to keep every link on a server and answer every click, for as long as the short link is meant
to work. We don’t run one. You can paste the finished link into any shortener
you already trust. The tags still work, because the short link sends people on to the full one, tags and all. Keep
in mind that the shortener’s owner can see every click too.
What this tool can’t do
- It doesn’t check that your page exists. Nothing is opened or fetched, so test the link once before you send it.
-
It can’t see your GA4 settings. The channel names on this page follow Google’s default rules, and a custom channel
group can sort things differently.
-
The history lives in this browser only. Another browser, another computer or clearing this site’s data means a
fresh, empty list.
Frequently Asked Questions
What is a UTM code?
A few tags added to the end of a link that tell your analytics where a click came from. In https://example.com/shop?utm_source=newsletter&utm_medium=email&utm_campaign=autumn-sale the tags say: this visit came from the newsletter, by email, as part of the autumn sale. The page itself looks the same. UTM stands for Urchin Tracking Module, after Urchin, the company Google bought to build Google Analytics.
Which UTM parameters are required?
Google’s guidance is to always use utm_source, utm_medium and utm_campaign. GA4 won’t refuse a link without them, but source and medium are what it sorts visits into channels by (like Email or Organic Social), and the campaign name is what groups the links of one campaign together. utm_term, utm_content and utm_id are optional.
What’s the difference between utm_source and utm_medium?
Source is the place: newsletter, facebook, a partner’s site. Medium is the kind of link: email, social, cpc, referral. A Facebook post and a Facebook ad have the same source (facebook) but different mediums (social and paid-social), so you can compare them.
Do UTM tags affect SEO?
Not in a way that should worry you, as long as your page has a canonical tag pointing to the clean address. Search engines then treat https://example.com/shop?utm_source=x and https://example.com/shop as the same page. Do keep UTM tags off links inside your own site, where they mess up your analytics instead.
Do I need UTM tags for Google Ads?
Usually not. Google Ads adds its own gclid to every click when auto-tagging is on, and GA4 reads the campaign, ad group and keyword from that when the two accounts are linked. UTM tags are worth adding when auto-tagging is off, or for ads on other platforms like Facebook, LinkedIn or Bing.
Where do I see UTM data in GA4?
Go to Reports, then Acquisition, then Traffic acquisition. Change the first column from the channel group to Session source / medium or Session campaign. New visits can take up to a day or two to show up there. The Realtime report shows them within minutes, which is a quick way to test a new link.
Should UTM values be lowercase?
Yes. GA4 treats Facebook, facebook and FACEBOOK as three different sources, so one campaign ends up spread over three rows. Use lowercase and hyphens (autumn-sale, not Autumn Sale) and stick to the same names every time. The builder warns you about capitals and spaces and fixes them with one click.
Can people see or remove my UTM tags?
Yes. They’re part of the link, so anyone who sees it can read them, change them or cut them off before sharing it. That’s why they should never hold anything private, like an email address or a customer number. The URL Parser on this site lists every tag in a link if you want to check what one is carrying.
Does the UTM Builder save my links?
Only in your own browser. Each link you copy goes into the “Links you built” list (up to 50), so you can copy it again later. Nothing is sent to us. Clear history deletes the list, and so does clearing this site’s data in your browser.