UTM Builder
Build trackable campaign URLs without spreadsheet formulas.
Input
About This Tool
Create clean UTM tracking links for campaigns, newsletters, paid ads, social posts, and creator partnerships. Everything runs locally in your browser: nothing you paste is uploaded, stored, or logged, and there is no sign-up or usage limit. Read the full guide below for worked examples, best practices, and common mistakes to avoid.
Frequently Asked Questions
What are UTM parameters?
UTM parameters are tags added to a URL so analytics tools can identify where visits came from and which campaign drove them.
Which UTM fields should I always use?
Use source, medium, and campaign at minimum. Term and content are useful for paid keywords, variants, and A/B tests.
Will this shorten my link?
No. This builds a full tracked URL. You can paste the result into your preferred shortener afterward.
How to build UTM links that keep your analytics clean
A UTM builder adds tracking parameters to a URL so your analytics tool can tell which campaign, channel, and ad sent each visitor. At minimum, add utm_source (where), utm_medium (how), and utm_campaign (why). Keep the spelling and case identical every time, because analytics treats "Email" and "email" as different values.
The builder above assembles the link as you type, encodes special characters, and counts how many of the three core fields you filled in. This guide covers what each field should contain, a naming convention you can copy, and the mistakes that quietly ruin campaign reports.
Step by step: building a tracked link
- Enter the full landing page URL, starting with
https://. - Fill in source: the specific place the click comes from, such as
newsletter,linkedin, orpartner_acme. - Fill in medium: the channel type, such as
email,social,cpc, orreferral. - Fill in campaign: the initiative name, such as
spring_launch. - Optionally add term (a paid keyword) and content (which link or creative variant was clicked).
- Copy the result from the output panel and use it wherever you share the link.
The output panel shows Need URL until you enter a page address, and the "Required fields" tile shows 3/3 once source, medium, and campaign are all present.
What each UTM parameter means
| Parameter | Question it answers | Example |
|---|---|---|
utm_source | Which site, platform, or sender? | newsletter, facebook |
utm_medium | Which type of channel? | email, cpc, social |
utm_campaign | Which promotion or initiative? | black_friday_2026 |
utm_term | Which paid keyword? (optional) | running_shoes |
utm_content | Which link or creative? (optional) | header_button, video_a |
Google Analytics 4 recognises these five, plus a few extras such as utm_id. Google's help page on collecting campaign data with custom URLs lists the full set and explains how each one is reported.
A worked example
Inputs
- URL:
https://example.com/pricing - Source:
newsletter - Medium:
email - Campaign:
spring_launch - Content:
button_a
Output
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_launch&utm_content=button_aIf your URL already has a query string, like https://example.com/pricing?plan=pro, the tool appends with & instead of ?, giving ...pricing?plan=pro&utm_source=newsletter....
How the builder handles special characters
Each value is trimmed and passed through URL encoding. A space becomes %20, an ampersand becomes %26, and a plus sign becomes %2B. A campaign typed as Spring Sale & Promo comes out as Spring%20Sale%20%26%20Promo. That is correct, but it will look messy in reports, so prefer lowercase words joined by underscores or hyphens. Our URL encoder and decoder will help you decode a messy link someone else made.
Anchors: If your URL has a #section fragment, build the link without it and add the fragment at the very end. The tool appends parameters to the end of whatever you paste, and anything after a # is never sent to the server, so analytics would miss the tags.
A naming convention you can copy
The tool does not enforce naming rules, so the discipline is yours. This simple convention works for most small teams:
- Lowercase only. Reports are case sensitive, so
Facebookandfacebookshow up as two sources. - Underscores for spaces. Hyphens work too; just pick one.
- Source = the platform, medium = the channel type.
linkedin/social, notlinkedin_post/linkedin. - Campaign = what plus when.
webinar_seo_2026q1sorts and filters better thanwebinar. - Content = the variant.
cta_greenvscta_bluein a test.
Write the rules in a shared sheet and paste every generated link there with the date and owner. It takes one minute and prevents months of mismatched labels.
Typical setups by channel
| Where the link goes | Source | Medium | Campaign example |
|---|---|---|---|
| Email newsletter | newsletter | email | monthly_digest_nov |
| LinkedIn organic post | linkedin | social | product_update_q4 |
| Paid search ad | google | cpc | brand_search |
| Influencer or creator | creator_name | influencer | launch_collab |
| Partner site banner | partner_acme | referral | co_marketing_2026 |
| QR code on print | flyer | print | city_event_oct |
For the QR row, paste the finished link into the QR code generator. Offline campaigns are among the hardest to attribute, and a tagged QR link fixes that.
Mistakes that wreck campaign data
- Tagging internal links. If you put UTM parameters on a link between two pages of your own site, you overwrite the visitor's original source and start a new session in some setups. Use UTMs only for traffic arriving from outside.
- Inconsistent spelling.
email,e-mail, andEmailbecome three rows in a report. - Putting personal data in parameters. Never include email addresses or names. URLs get logged, shared, and stored in browser history.
- Reusing one campaign name forever. You cannot compare launches if every link says
promo. - Tagging paid ads that use auto-tagging. Google Ads can tag clicks for you. Manual UTMs there can conflict, so check your account's settings before adding them.
- Very long links. The URL length tile helps you notice when a link is getting heavy. Long URLs get cut off in some messages and look suspicious in others.
Reading the results
In Google Analytics 4, open the traffic acquisition report and look at session source/medium or session campaign. A well-labelled campaign appears as, for example, newsletter / email. If you see (not set) or hundreds of near-duplicate labels, the cause is almost always inconsistent link building. Fix the sheet first, then the links.
Tracked links look long, so some teams shorten them. The builder does not shorten, but you can put the finished URL into any shortener you prefer. Test the shortened link once by clicking it and checking the parameters survived.
A campaign-planning example from start to finish
A small online shop plans a November sale and will promote it three ways: an email to subscribers, a LinkedIn post by the founder, and a banner on a partner's blog. The team agrees on one campaign name, black_friday_2026, and builds three links to the same page, https://example.com/sale:
- Email:
?utm_source=newsletter&utm_medium=email&utm_campaign=black_friday_2026&utm_content=hero_button - LinkedIn:
?utm_source=linkedin&utm_medium=social&utm_campaign=black_friday_2026 - Partner:
?utm_source=partner_acme&utm_medium=referral&utm_campaign=black_friday_2026&utm_content=sidebar_banner
After the sale, filtering analytics by the campaign name shows all three channels side by side. The email link carries a content tag so a second email with a text link instead of a button can be compared later.
Because the three share one campaign name, you get a total for the whole promotion and a breakdown by source and medium without extra work. If each link had its own campaign name, you would need to add them up by hand.
Before you publish a tagged link
- Paste the link into a browser and confirm the page loads normally.
- Check the address bar still contains every parameter. Some redirects strip them.
- In your analytics real-time view, confirm the visit appears under the source and medium you typed.
- Record the link in your tracking sheet, along with the date and the person who made it.
A two-minute test saves you from discovering a typo after the campaign ends, when the data cannot be corrected.
More questions
Do UTM parameters hurt SEO?
They don't create ranking problems on their own, but they can produce duplicate URLs. Pages should carry a canonical tag pointing to the clean URL, which most CMS platforms and SEO plugins add by default.
Can I use UTM links for organic social posts?
Yes, and you should. Without them, some clicks from apps arrive as direct traffic and your social channel looks weaker than it is.
Is utm_term only for paid search?
That is its original purpose, but you can use it for any short label, such as an audience segment. Keep the meaning consistent.
What is utm_id?
It is an extra parameter GA4 supports for matching a campaign to an imported cost or campaign ID. This builder covers the five standard fields; add it by hand at the end of the link if you need it.
Does the builder save my links?
No. Nothing is stored or sent anywhere. Copy the results into your own tracking sheet.