UTM Campaign URL Builder
Build a tagged campaign URL by adding URL-encoded utm_source, utm_medium, utm_campaign, utm_term, and utm_content parameters to any link.
UTM Campaign URL Builder — UTM Campaign URL Builder takes a landing page link and adds Google Analytics UTM parameters — utm_source, utm_medium, utm_campaign, utm_term, and utm_content — so you can attribute traffic to a specific channel or ad. It URL-encodes every value, keeps any existing query parameters, and shows a copy-ready link that updates as you type. Everything runs in your browser, so your URLs are never uploaded to our servers.
What is UTM Campaign URL Builder?
A UTM builder appends Urchin Tracking Module parameters to a destination URL so analytics tools like Google Analytics, GA4, Matomo, or Adobe Analytics can report exactly where a visit came from. Marketers, ad managers, email senders, and social media teams use it to tag the links they put in newsletters, paid ads, and social posts, then compare campaigns side by side in their reports. This tool builds the five standard parameters: utm_source (where the traffic comes from, e.g. google or newsletter), utm_medium (the marketing medium, e.g. cpc or email), utm_campaign (the campaign name), utm_term (paid-search keyword), and utm_content (which link or creative was clicked). It percent-encodes spaces and special characters automatically and preserves any query string the base URL already has, so the result is a valid, click-ready tracking link.
How to use UTM Campaign URL Builder
- Paste your destination link into the Base URL field — if you omit the scheme, https:// is added for you.
- Type or pick utm_source (the referrer, like google, newsletter, or facebook).
- Type or pick utm_medium (the channel type, like cpc, email, or social).
- Enter utm_campaign to name the campaign; optionally add utm_term for a paid keyword and utm_content to tell two creatives apart.
- Copy the assembled URL from the result field — it is URL-encoded and updates live as you edit any field.
Examples
Email newsletter link
Input
https://shop.example.com/sale + source=newsletter, medium=email, campaign=spring_sale
Output
https://shop.example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
Paid search ad with a keyword
Input
https://example.com + source=google, medium=cpc, campaign=brand, term=running shoes
Output
https://example.com/?utm_source=google&utm_medium=cpc&utm_campaign=brand&utm_term=running+shoes
Keeps an existing query parameter
Input
https://example.com/p?id=42 + source=facebook, medium=social
Output
https://example.com/p?id=42&utm_source=facebook&utm_medium=social
Frequently asked questions
- Which UTM parameters does this build?
- It builds all five standard Google Analytics parameters: utm_source, utm_medium, utm_campaign, utm_term, and utm_content. utm_source, utm_medium, and utm_campaign are the ones most analytics reports expect; utm_term (paid keyword) and utm_content (which link or creative) are optional. Leave any field blank and it is simply left out of the URL.
- Does it URL-encode spaces and special characters?
- Yes. Every value is percent-encoded the same way a browser would, so a space becomes a + or %20, and characters like &, =, and accented letters are escaped. That keeps the link valid and prevents one parameter from breaking another.
- What happens to query parameters my URL already has?
- They are preserved. If your base URL is already https://example.com/p?id=42, the UTM parameters are appended after the existing ones with an ampersand, so nothing you had is lost or overwritten (unless you reuse the same utm_ name).
- Why does it say the base URL is invalid?
- The base URL must be a parseable web address using http or https. A typo, a missing domain, or a non-web scheme like mailto: triggers the error. Fix the address — you can leave off https:// and it is added automatically — and the result reappears.
- Are my links sent to a server?
- No. The whole URL is assembled in your browser with JavaScript, and nothing is uploaded, logged, or sent anywhere. That makes it safe for unannounced campaigns, private landing pages, and internal links.