Home › Tools › UTM Link Builder

UTM Link Builder

Build campaign URLs with correctly encoded utm_source, utm_medium and utm_campaign. Live validation catches the mistakes that split your analytics data.

SerpPrism's UTM Link Builder is a free online tool that builds campaign URLs with correctly encoded utm_source, utm_medium, and utm_campaign parameters, and validates the result live to catch the mistakes that split analytics data. No sign-up is required and links are built in your browser. It is for marketers and newsletter writers who need consistent campaign tracking across email, social, and ads. Fill in your destination and campaign fields, get a properly URL-encoded link, and see warnings for the naming mistakes that silently split one campaign into several in your reports.

How to use it

  1. Paste the destination URL — you can include existing query parameters, they are preserved.
  2. Fill in source, medium and campaign. These three are what every analytics platform needs to attribute the visit.
  3. Copy the result. Check the warnings first — inconsistent casing is the most common way reports get split.

The three parameters that actually matter

utm_source identifies where the traffic came from — a specific newsletter, a specific site, a specific ad platform. utm_medium identifies the channel type: email, social, cpc, referral. utm_campaign identifies the specific promotion.

These three are the minimum. Term and content are refinements: term is for paid keywords, content distinguishes variants of the same link when you are testing two buttons or two placements.

Case sensitivity is the most expensive mistake here

Analytics platforms treat utm_source values as case-sensitive strings. 'Newsletter', 'newsletter' and 'NEWSLETTER' are three separate sources in your reports, and they will stay separate forever because there is no reliable way to merge historical data after the fact.

Pick lowercase for everything and stick to it. This tool warns when it sees mixed case, because fixing it after a campaign has run is not possible.

Never put UTM parameters on internal links

A tagged link starts a new session in most analytics configurations. If a visitor arrives from your newsletter and then clicks a tagged internal link, the original source is overwritten and the visit is attributed to your own campaign instead of the newsletter that actually brought them.

Tag only links that point at your site from somewhere else. Internal navigation should always be untagged.

A worked example: one newsletter, three links

An October launch newsletter links to the same guide three times: once in the header, once in the footer, once in the postscript. All three links share the same source, medium and campaign — newsletter, email, october-launch — and differ only in utm_content: header-cta, footer-link, ps-line.

The header link comes out as https://example.com/guide?utm_source=newsletter&utm_medium=email&utm_campaign=october-launch&utm_content=header-cta. The other two are identical except for the last value. In the analytics report, the campaign is one row and the three placements are three rows beneath it — so the next newsletter knows whether the postscript earns its place.

Without utm_content, all three links are indistinguishable: the report shows one link with three times the clicks and no way to say which placement did the work. That is the parameter's entire job — it exists for the day you want to compare two buttons, not for the day you send one link.

Why encoding matters more than it looks

Spaces, ampersands and non-ASCII characters have to be percent-encoded or they will truncate the parameter or break the URL entirely. A campaign name with an ampersand in it will silently cut everything after that character.

This tool encodes each value properly and preserves any query parameters already present on the destination URL, so a link to a page that already has its own parameters keeps working.

Questions

What is the difference between source and medium?

Source is the specific origin — 'spring-newsletter' or 'google'. Medium is the channel type — 'email' or 'cpc'. One medium contains many sources.

Can I use UTM links on social media?

Yes, and you should. Social platforms often strip referrer information, so tagged links are frequently the only way to attribute that traffic correctly.

Should campaign names use spaces?

Avoid them. Use hyphens or underscores consistently. Spaces require encoding and make the values harder to read in reports.

Will this overwrite existing parameters on my URL?

No. Existing query parameters are preserved and the UTM parameters are appended to them.

What are the five UTM parameters?

utm_source (where the traffic comes from), utm_medium (the channel type), utm_campaign (the campaign name), plus the optional utm_term (paid keywords) and utm_content (which variant of an ad or link). The builder covers all five and keeps existing query parameters on your URL intact.

What does a UTM link look like?

Like this: https://yoursite.com/guide?utm_source=newsletter&utm_medium=email&utm_campaign=october-launch. Everything after the "?" is tracking information; the page itself is unchanged. Build one in the tool and the encoding of spaces and special characters is handled for you.

Do UTM parameters affect SEO?

Not directly — Google treats a UTM-tagged URL as the same page, and analytics platforms strip the parameters from reports of the landing page. The real risk is inconsistency: tagging the same campaign "Email", "email", and "e-mail" splits it into three in your reports. A builder with live validation keeps the naming to one pattern.

Should utm_campaign include the year?

It helps: 'october-launch' recurs every year, 'october-launch-2026' does not. Campaign names are free text; make them unique enough that next year's report does not merge with this year's.

Can I tag a link to someone else's site?

You can, but the parameters only matter if that site's analytics reads them. Tagging a link to a partner's page attributes the visit in their reports, not yours — agree the naming with them first, or the values land in their data as noise.

Related tools

Related guides