How to use the UTM builder tool
- Paste the landing page address into Destination URL. It must start with http:// or https://.
- Fill in Source, Medium and Campaign. All three are required.
- Add Term or Content if you need to record a keyword or tell two links apart.
- Select Build URL, or select Example to see a finished link.
- Select Copy and use the tagged URL in your email, ad or post.
What a UTM builder adds to a link
UTM stands for Urchin Tracking Module, after Urchin, the analytics product Google bought in 2005 and turned into Google Analytics. The parameters are ordinary query string values. The page ignores them, and the analytics script on the page reads them to record where the visitor came from.
- utm_source: who sent the traffic, such as newsletter or google.
- utm_medium: the type of channel, such as email, cpc or social.
- utm_campaign: the promotion the link belongs to, such as spring_sale.
- utm_term: the paid keyword, mostly used for search ads.
- utm_content: a label that separates two links or creatives in the same campaign.
A worked example
The destination already has a query string, an old utm_source and a fragment. The tool keeps plan=pro, overwrites the old source in place, appends the new parameters in a fixed order (source, medium, campaign, term, content) and leaves #faq at the end, where a fragment has to be.
Spaces in values are written as plus signs. The existing value a%20b is rewritten as a+b for the same reason: the browser serializes the whole query again in form encoding. Both spellings decode to the same text.
Destination URL: https://example.com/pricing?plan=pro&utm_source=old&q=a%20b#faq
Source: linkedin
Medium: paid social
Campaign: spring_sale
Term: base64 tools
Content: hero-banner
Result:
https://example.com/pricing?plan=pro&utm_source=linkedin&q=a+b&utm_medium=paid+social&utm_campaign=spring_sale&utm_term=base64+tools&utm_content=hero-banner#faqRules the tool applies
The link is assembled with the URL parser built into the browser, which gives predictable results.
- The destination must be an absolute http or https URL. Relative paths, other schemes and URLs with a user name or password are rejected.
- Source, Medium and Campaign cannot be empty. Term and Content are added only when filled.
- Spaces at the start and end of each value are removed.
- A UTM parameter that is already in the URL is replaced, never duplicated.
- Reserved characters are escaped: & becomes %26 and % becomes %25.
- Capitalization of your values is left as typed.
- The URL is normalized, so https://Example.com comes out as https://example.com/.
Naming habits that keep reports clean
Google Analytics treats parameter values as case sensitive, so utm_source=google and utm_source=Google show up as two sources. Agree on lowercase and on one separator, underscore or hyphen.
Use UTM tags on links that point to your site from outside. On internal links they overwrite the source the visitor originally arrived from. Google Analytics 4 also reads utm_id and utm_source_platform. This form has no fields for them, but you can put them in the Destination URL and they are preserved.
Frequently asked questions
Which UTM parameters are required?
This tool requires Source, Medium and Campaign and stops with the message Source, medium and campaign are required if one is blank. Term and Content are optional. Analytics tools accept links with fewer parameters, but reports then show gaps.
Does the builder keep my existing query string and anchor?
Yes. Parameters that are already in the URL stay, and the part after # remains at the very end. Only UTM parameters with the same name as a field you filled in are overwritten.
Why do spaces show up as plus signs?
Query strings are written in form encoding, where a space is represented by +. Analytics tools decode it back to a space. Use underscores or hyphens in names if you prefer links without plus signs.
Can I add utm_id or my own parameters?
Not through a field. Add them to the Destination URL before you build, for example ?utm_id=42, and the tool carries them over unchanged next to the parameters it sets.
Is the link shortened or sent to a server?
No. The URL is built in your browser and shown in full. Nothing is stored or transmitted. Shortening is a separate step, for which this site has a Temporary short link tool.