How to use
- In Build links, paste one page address per line. If the scheme (
https://) is missing it is added for you. - Fill in source, medium and campaign. Term, content and campaign ID are optional.
- Copy all the result links or save them as a
.txtfile, then paste them into your ad manager, newsletter or post. - To audit links you already use, switch to Check links and paste them. Typos, uppercase values and missing fields are listed per link.
What each parameter means
| Parameter | Meaning | Example |
|---|---|---|
| utm_source | Where the traffic starts | google, instagram, newsletter |
| utm_medium | How it arrives | cpc, email, social |
| utm_campaign | Campaign name | spring_sale |
| utm_term | Paid keyword (optional) | running_shoes |
| utm_content | Variant inside one campaign (optional) | banner_a, banner_b |
| utm_id | Campaign ID (optional) | 2026_spring |
GA4 effectively needs source and medium, and the campaign name is what lets you split results by campaign. The tool warns you when any of the three is empty.
Rules the builder follows
- Lowercase by default. Analytics tools treat values as case sensitive, so
Newsletterandnewslettershow up as two sources. Lowercasing is on by default. - Spaces become underscores or hyphens. With the default setting
Spring Salebecomesspring_sale. Leaving spaces in means%20in the URL, which is hard to read in reports. - Existing query parameters are kept; only same-named utm keys are replaced. Adding values to
https://example.com/p?id=3&utm_source=oldkeepsid=3and swaps in the newutm_source. - The part after
#is untouched. UTM must come after?and before#to reach the server.https://example.com/p#reviewsbecomeshttps://example.com/p?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale#reviews. - Non-ASCII values are percent-encoded. That works, but plain lowercase ASCII is easier to read in reports.
Problems the checker finds
| Problem | Why it matters |
|---|---|
Misspelled names such as utm_sorce, or uppercase names such as UTM_SOURCE |
The analytics tool will not recognise them and the visit may land in direct traffic |
UTM placed after # |
The fragment is never sent to the server, so nothing is recorded |
| The same name twice | Which value wins depends on the tool |
| Empty values, uppercase, spaces | One source splits into several rows in reports |
Frequently asked questions
Where do I use UTM links?
On every link that brings people from outside your site: ads, newsletters, SMS, social posts, QR codes. Pointing at the same page with different UTM values tells you which channel produced each visit.
Should I tag links inside my own site?
No. Clicking a UTM link on your own site can start a new session and overwrite the original traffic source. Measure on-site navigation with events instead.
Can I put personal data in UTM values?
Please do not. URLs end up in ad platforms, logs and browser history, and they get shared. Use values that identify the campaign and creative, never a name, email or phone number.
What does lowercasing do to non-Latin text?
Nothing. Scripts without letter case are left as they are; only Latin letters change.
What can I do about long links?
That comes with UTM tags. If needed, shorten the link with a shortener, but add the UTM values before shortening.
Related tools
- Edit query strings by hand with the Query String Builder
- Encode or decode values with the URL Encoder & Decoder
- Measure ad results with the ROAS Calculator and CPM Calculator
- Control how a shared link looks with the Meta Tag Generator
The links you enter are processed only in your browser and never sent to a server.