UTM Builder
Tag your own outbound links with utm_source, medium and campaign — existing query strings and #anchors handled correctly.
UTM parameters are labels you add to your own outbound links so your analytics tool can group the visits those links bring in. Tag a spring email and the visits arrive wearing their name: https://example.com/spring-sale becomes https://example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_launch. The three core parameters answer three different questions — source is where the click came from (newsletter, a partner site, a specific social network), medium is the kind of channel (email, cpc, social, referral), and campaign is the initiative that ties them together (spring_launch, black_friday, product_v2). Term and content are the optional pair: term carries a paid-search keyword, content distinguishes versions that share everything else, like the header button versus the footer button in the same email.
Privacy: tagging happens locally, on your device, in your browser. Nothing you type is sent to or stored by this site, and nothing is put into this page’s own address. The tagged URL below is a link you build for your own campaigns, to copy and use wherever you share your own content.
Quick answers
How do I build a UTM-tagged URL?
Start with your own page URL and append utm_source, utm_medium and utm_campaign: https://example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_launch. Use & if the URL already has a ?, and keep tags before any #fragment.
Add utm_term for paid keywords and utm_content to separate versions of the same link. Stay consistent: analytics treats different spellings as different campaigns.
Where do UTM parameters go in a URL with an anchor?
Before the #fragment: https://example.com/page?a=1&utm_source=newsletter#top. Anything after the # stays in the browser and never reaches the server, so tags placed there are lost.
This builder inserts the parameters in the right place automatically and percent-encodes values, so a source like “news letter” becomes news%20letter.
How to use
- Paste the address of your own page — the landing page your email, post or ad should send people to.
- Fill in source (where the click comes from), medium (the kind of channel) and campaign (the push it belongs to). Keep names short, lower-case and consistent.
- Optionally add term for a paid keyword and content to tell two versions of the same link apart, such as two buttons in one email.
- Copy the tagged URL and use that exact link in your own campaign. Blank fields are skipped, values are encoded, and any #anchor on your URL stays at the end where it belongs.
About this tool
The fiddly part is placement, and that is what this builder gets right for you. If your URL already has a query string — https://example.com/page?a=1#top — the tags join it with an ampersand instead of a second question mark, and they are inserted before the #top fragment, because anything after the # is never sent to the server and tags placed there would be silently lost. Values are percent-encoded, so a source written as “news letter” travels as news%20letter and arrives as one value, not two broken ones. It sits on the same webmaster shelf as the meta tag and robots.txt tools: small files and addresses that decide how your own site is found and measured. One discipline matters more than any tool: pick a naming convention (all lower-case, underscores, no spaces) and never improvise variants — analytics treats spring_launch and Spring Launch as two different campaigns.
Frequently asked questions
What do source, medium and campaign each mean?
Source = where the click came from (newsletter, facebook, a partner’s site). Medium = the kind of channel (email, social, cpc, referral). Campaign = the initiative (spring_launch, webinar_may). Your analytics groups visits by these labels, so the same link shared in an email and a post needs two tagged versions — one per source — to tell them apart.
What happens if my URL already has a ? or a # in it?
Both are handled. With an existing query string (page?a=1) the tags are appended with & instead of a second ?. With a fragment (page#top) the tags go before the #, because the fragment is handled inside the browser and never reaches the server — parameters placed after it would be ignored by analytics.
Do empty fields end up in the URL?
No. Blank term and content fields — or any blank field — are skipped entirely rather than added as empty utm_term= pairs. The order is always source, medium, campaign, term, content, and every value is percent-encoded, so spaces become %20 and characters like & inside a value cannot break the URL apart.
Does using this builder track anyone?
No. This page only assembles a link for you, locally — it does not follow clicks, count visits or report anything anywhere. What the tags do happens later, inside your own analytics account, when people arrive at your site through the tagged link and your analytics reads the parameters off the address. If you do not run analytics, the tags are simply ignored by the destination page.
First time embedding? Read the step-by-step guide →
More free tools
WhatsApp Link Generator
Turn a phone number and an optional message into a wa.me click-to-chat link — digits cleaned up automatically.
QR Code Generator
Turn any link or text into a scannable QR code in seconds.
Meta Tags Preview
Preview how your page looks on Google, X and Facebook — and grab the meta tags that make it look right.
Robots.txt Generator & Tester
Build a clean robots.txt, or paste yours in and check it for mistakes — including testing which crawler can fetch which URL.
Word Counter
Count words, characters, sentences and reading time as you type.
Percentage Calculator
Work out percentages, increases and discounts in one click.