UTM Builder
Build a UTM-tagged URL that preserves existing query parameters and replaces old UTM values cleanly instead of duplicating them.
- Source
- Where the traffic comes from — e.g. "newsletter", "google", "twitter".
- Medium
- The marketing medium — e.g. "email", "cpc", "social", "referral".
- Campaign
- The specific campaign name — e.g. "spring-sale", "product-launch".
- Term (optional)
- Paid search keyword, if you're tracking one.
- Content (optional)
- Distinguishes similar content or links within the same ad/campaign — e.g. two links in the same email.
There is no single universally-correct UTM naming convention — the values above are common examples, not requirements. What matters is being consistent across your own campaigns so your analytics stay comparable.
This URL is built entirely in your browser — nothing you enter here is sent to a server.
UTM parameters (utm_source, utm_medium, utm_campaign, and optionally utm_term and utm_content) are added to a URL so analytics tools can attribute traffic to a specific link rather than lumping it in with everything else.
Any query parameters already on your URL are kept, and any existing UTM parameters are replaced rather than duplicated — so you can safely re-generate a link without ending up with two conflicting copies of the same parameter.
How to use the UTM Builder
- Paste the full landing-page address, including https://, into Website URL.
- Fill in Campaign Source, Campaign Medium, and Campaign Name; these three are required.
- Optionally add Campaign Term and Campaign Content.
- Click Generate URL, then Copy URL to copy the tagged link. Use Reset to clear every field.
Example: Tagging an email link that already has parameters
Website URL https://example.com/shoes?color=red&utm_source=old#reviews, source newsletter, medium email, campaign Spring Sale, content hero-button. Generate URL returns https://example.com/shoes?color=red&utm_source=newsletter&utm_medium=email&utm_campaign=Spring+Sale&utm_content=hero-button#reviews. The old utm_source is replaced, color=red and the #reviews fragment are kept, and the space becomes +.
Questions about the UTM Builder
- Does the builder change my values to lowercase?
- No. Values are trimmed of surrounding spaces and URL-encoded, but their capitalization is kept, so Newsletter and newsletter produce different tags. Pick one spelling and reuse it.
- Why do I get "Enter a valid, complete URL, including https://"?
- The address must include its scheme. example.com alone is rejected; https://example.com works. Only http:// and https:// addresses are accepted.
- What happens if I leave Term or Content empty?
- Empty optional fields are left out of the URL entirely rather than added as blank parameters. Any utm_term or utm_content already on the pasted URL is removed when you generate.
- Why did a slash appear after my domain?
- The URL is rebuilt with the browser's standard URL parser, which adds a root path, so https://example.com becomes https://example.com/?utm_source=... The destination is the same page.