UTM link builder
Turn any URL into a trackable campaign link with utm_source, utm_medium, utm_campaign, utm_term and utm_content. Values are encoded correctly and nothing leaves your browser.
How to use it
- Paste the page address in Website URL.
- Fill in Source, Medium and Campaign. Add Term and Content only if you need them.
- Copy the Tracked link and use it in your ad, email or post.
Naming conventions that keep reports clean
utm_source = where the click comes from (google, newsletter, facebook, partner_name). utm_medium = the channel type (cpc, email, social, affiliate, banner). utm_campaign = the promotion (spring_sale, launch_2026). utm_term = the paid keyword (running_shoes). utm_content = which ad or button (header_cta, blue_banner). Pick one style, write it down, and keep it the same for the whole team.
Complete guide to building UTM campaign links
What UTM tags are and why they matter
When someone clicks a link and lands on your site, analytics tools usually know only a vague origin, such as "direct" or "social". UTM parameters fix that. They are short labels added to the end of a web address, and tools like Google Analytics read them to report exactly which newsletter, ad or post sent the visitor. If you send the same promotion by e-mail, on Instagram and in a paid ad, UTM tags let you see which one produced visits and sales, instead of guessing.
The tags do not change the page the visitor sees. They only travel in the address and are read by your analytics tool.
The five parameters
| Parameter | Question it answers | Example | Needed here? |
|---|---|---|---|
utm_source | Where does the click come from? | newsletter, google, facebook | Yes, always |
utm_medium | What type of channel is it? | email, cpc, social | Recommended |
utm_campaign | Which promotion is it? | spring_sale | Recommended |
utm_term | Which paid keyword? | running shoes | Optional |
utm_content | Which ad or button? | header_button | Optional |
Source, medium and campaign form the standard trio that reports are built on. The tool refuses to build a link without a source, and it skips any other field you leave empty.
How the link is built
- The address is cleaned. If you typed
example.com/pagewithout a scheme,https://is added. Only http and https addresses are accepted, and the domain must be valid, otherwise you see an error. - Each value is trimmed, repeated spaces are reduced to one, and, if you tick Convert values to lowercase, the text is lowercased.
- Values are percent-encoded so that spaces, accents and symbols such as
&cannot break the address. A space becomes%20. - The parameters are added after any query string already present, always in the order source, medium, campaign, term, content. A
#anchorat the end of the address is kept in place. - If the original address already has one of the utm_ names you filled in, the old one is removed so the new value wins. Other parameters, such as
plan=pro, are untouched.
Worked examples
Basic. Enter https://example.com/pricing in Website URL, newsletter in Source (utm_source), email in Medium (utm_medium) and spring_sale in Campaign (utm_campaign). The Tracked link is:
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
Existing parameters, anchor and lowercase. Use https://example.com/pricing?plan=pro#faq, source Newsletter, medium email, campaign Spring Sale, content header_button, and tick the lowercase option. The result keeps plan=pro and the #faq anchor:
https://example.com/pricing?plan=pro&utm_source=newsletter&utm_medium=email&utm_campaign=spring%20sale&utm_content=header_button#faq
The list UTM parameters added shows the four pairs that were appended, which is handy for a quick check. In the example the campaign became spring%20sale. An underscore, as in spring_sale, is cleaner than a space.
All five fields. For a paid ad to https://example.com/shoes with source google, medium cpc, campaign summer_sale, term running shoes and content blue_banner, the tool returns https://example.com/shoes?utm_source=google&utm_medium=cpc&utm_campaign=summer_sale&utm_term=running%20shoes&utm_content=blue_banner.
Mistakes that ruin reports
- Inconsistent spelling. Analytics treats
Email,emailande-mailas three different mediums. Pick one spelling, use lowercase and keep a shared list for your team. - UTM on internal links. A tagged link from one page of your site to another starts a new visit source and overwrites the real one. Use the tags only on links placed outside your site.
- Personal data in values. The address is visible in browsers, logs and screenshots. Never put an e-mail, a name or an order number in a UTM value.
- Very long values. Long campaign names make links hard to share and reports hard to read. Short, descriptive codes work best.
- Auto-tagging overlap. If you run Google Ads with auto-tagging on, check how your analytics account handles manual tags before you add them to ad links.
- Forgetting to test. Open the final link, confirm the page loads and, if possible, look for your campaign in the real-time report.
Where to use the tracked link
Use it in newsletter buttons, social posts and bios, paid ads, QR codes, partner and affiliate pages, press releases and e-mail signatures. A very long tracked link can look untidy, so shorten it with your link shortener after building it. To inspect a long address piece by piece, open it in the URL parser, and to see how special characters are encoded, use the URL encoder and decoder.
Related tools
Need a clean web address for a landing page? Try the slug generator. For a click-to-chat link you can track the same way, see the WhatsApp link generator.
Questions
Which UTM fields are required?
Source, medium and campaign are the standard trio. This tool requires the source; the others are strongly recommended so your reports stay clear.
What happens to parameters I already have in the URL?
They stay. If the URL already has a utm_ parameter that you fill in here, the old value is replaced. A #anchor at the end is kept too.
Should I use uppercase or spaces?
Analytics treats Email and email as different values. Use lowercase and underscores or hyphens, or tick the lowercase option. Spaces are encoded as %20.
Should I use UTM on links inside my own site?
No. UTM tags on internal links overwrite the real traffic source of the visit. Use them only on links that bring people from outside.