🏷️

UTM Builder

✓ Free & no signup 🔒 Runs 100% in your browser Updated 2026-11-25 Website Management Tools

UTM parameters are the standard way to tell your analytics platform where a visitor came from. Append them to any link and your traffic reports stop guessing: instead of a vague referral entry, you see that this session came from your March newsletter, clicked the hero banner, and belongs to the spring-sale campaign. This tool builds those links for you: enter the destination URL and your source, medium, and campaign, add optional term and content if you need them, and it outputs the finished URL, ready to copy, entirely in your browser.

The parameters ride in the query string, the part of the URL after the question mark, and analytics platforms such as Google Analytics 4 read them automatically on every arrival. Nothing needs to be installed, no script runs on your site, and no account is connected; the parameters are plain text that travels with the link and gets parsed on the landing page by your analytics tag.

The hard part of UTM tagging was never the mechanics, it was consistency, and this page goes deep on that: what each parameter actually means, how attribution works, and the naming conventions that keep your reports clean for years instead of drowning in near-duplicate campaign names.

The Five Parameters, Defined Precisely

ParameterRequiredAnswers the questionTypical values
utm_sourceYesWhich site or platform sent them?newsletter, google, facebook, twitter, partner-site
utm_mediumYesWhat kind of channel was it?email, cpc, social, referral, banner, video
utm_campaignYesWhich specific push was this?spring-sale-2026, product-launch, black-friday
utm_termNoWhat keyword or search term?running-shoes, gift-ideas-under-50
utm_contentNoWhich exact link or creative?hero-banner, footer-link, text-version-a

The required trio works as a hierarchy: source is the place, medium is the type of channel, campaign is the specific initiative. Content is the detail layer that makes A/B analysis possible, and term is mainly for paid search keywords. Two links to the same page, one tagged utm_content=hero-banner and the other utm_content=footer-link, report separately in analytics, so you can compare placements without building two pages.

How to Use This Tool (Step by Step)

  1. Enter the destination URL, starting with the scheme. If the page already has query parameters, such as a product filter or a page number, the tool merges the UTM parameters after them instead of breaking the existing ones, which is the most common hand-built tagging mistake.
  2. Fill in utm_source, utm_medium, and utm_campaign. Use the naming conventions below before you type, because these strings become the labels in every report going forward.
  3. Add utm_term or utm_content only when they will answer a real question you plan to ask later.
  4. Copy the generated URL. Spaces and special characters you typed are encoded correctly, so the link survives email clients, social platforms, and spreadsheets.
  5. Test the link in a private browsing window before shipping it, confirming the page loads and the parameters survive any redirects your site performs.

A Worked Example, Before and After

Suppose you are sending an email promoting a spring sale, with two buttons linking to the same category page. The bare link is:

https://shop.example.com/collections/outdoor

The fully tagged version for the hero button is:

https://shop.example.com/collections/outdoor?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale-2026&utm_content=hero-button

And the footer version differs only in the last parameter: utm_content=footer-button. In your analytics, three report lines now exist instead of one lumped email entry, and the numbers answer questions directly: did the hero placement outperform the footer, did email bring more revenue than the social posts tagged utm_medium=social, and did the spring-sale campaign beat the winter one. Note also what happens when the destination itself already carries a parameter, say https://shop.example.com/collections/outdoor?sort=price_asc: the correct output is sort=price_asc&utm_source=newsletter&... joined by ampersands, not a second question mark, and the tool handles that joining for you.

Naming Conventions: The Part That Determines Report Quality

UTM values are free text, and analytics platforms treat every distinct string as a distinct dimension value. That means spring_sale, spring-sale, and Spring Sale are three different campaigns in your reports, fragmenting your data into three partial numbers that individually mean nothing. The conventions below are the ones that keep reports usable long-term:

  • All lowercase, always. Campaign and spring-sale are different values. Lowercase-everything is the single most valuable rule because it removes an entire class of fragmentation.
  • Hyphens, not spaces or underscores. Spaces get encoded as %20 and make URLs ugly; pick one separator and stay with it, ideally hyphens.
  • Agree on a fixed vocabulary for source and medium. Newsletter-vs-email-list and social-vs-facebook are decisions to make once, document in a shared sheet, and never improvise again.
  • Put dates in campaign names deliberately. spring-sale-2026 ages into useful history; spring-sale becomes ambiguous the second time you run it.
  • Keep content values parallel. If you use hero-banner, footer-link, and sidebar-cta, keep the same vocabulary pattern across every campaign so comparisons stay meaningful.

The professional practice is a shared tagging spreadsheet or a governance doc listing every approved value for source, medium, and campaign. It sounds bureaucratic until the first quarter-end report, when consistent tagging means the numbers add up and inconsistent tagging means an afternoon of manual cleanup.

How Attribution Actually Works

When someone clicks a tagged link, the analytics tag on the landing page reads the five parameters and attaches them to the session as its source data. Three mechanics are worth understanding, because they explain most surprising report numbers:

  • Last non-direct attribution: by default, platforms such as Google Analytics credit the most recent known source. If a user first clicks your UTM email link, leaves, and returns two days later by typing your domain directly, the session typically still attributes to the email campaign, which is why campaign revenue can include purchases that happened days later.
  • Parameters only matter on the landing hit: the tag reads them on arrival. If a redirect, a server rule, or a bot strips the query string before the analytics tag runs, the attribution is gone. This is the cause behind most mysteriously unattributed clicks, and testing in a private window catches it.
  • Cross-device breaks the chain: a click on a phone and a purchase on a laptop are different sessions unless a user-identity feature connects them, so expect cross-device journeys to fragment across reports.

One more practical note: platforms have their own reserved auto-tagging mechanisms, such as Google Ads' gclid parameter, and mixing manual UTM tags with auto-tagging on the same links can cause double-counted or conflicting sources. Pick one approach per ad platform and let the other channels use UTMs.

Common Mistakes and How This Tool Helps

  • Tagging internal links. A UTM tag on a link from your own site to your own site overwrites the original attribution, so a visitor who arrived from Google then clicks your menu loses their original source in reports. Tag only external entry points.
  • Inventing a new medium for every campaign. Medium is a small, stable vocabulary: email, cpc, social, referral, banner. New values fragment your channel reports.
  • Broken links from spaces. An unencoded space in a campaign name truncates the URL in some contexts, silently dropping everything after it, including the rest of the parameters. The tool encodes values properly.
  • Tagging links that already have parameters. Hand-appending UTMs to a URL that already contains a question mark produces invalid links that load the wrong page or drop parameters. The tool merges correctly, as shown in the worked example.

Tips and Best Practices

  • Build the tag values before writing the email or post, so the naming is deliberate rather than a last-minute improvisation.
  • Keep a master list of every tagged link you ship; six months later, that list is the only way to interpret historical reports.
  • Test each final link in a private window and confirm the landing page loads with the full query string intact after redirects.
  • Shorten tagged URLs for social platforms using your own branded shortener rather than a third-party one, so the parameters survive the redirect and stay under your control.
  • For print and QR placements, remember the parameters are visible to anyone who scans, so keep values professional; there is no hiding them inside a printed code.
  • Review your reports after the first campaign under new conventions and prune any accidental near-duplicates before the habit spreads.

Frequently Asked Questions

What do utm_source, utm_medium, and utm_campaign actually mean?
They form a three-level hierarchy describing the visit's origin. utm_source names the place: newsletter, google, facebook, or a partner site. utm_medium names the channel type: email, cpc for paid clicks, social, referral, or banner. utm_campaign identifies the specific initiative, such as spring-sale-2026. So a tagged email link might read utm_source=newsletter, utm_medium=email, utm_campaign=spring-sale-2026, meaning: the visitor came from your newsletter, via the email channel, as part of the spring sale push. All three are required for clean reporting, and the two optional ones, utm_term and utm_content, add keyword and placement detail.
Are UTM parameters case-sensitive in analytics reports?
Yes, in every major analytics platform, parameter values are treated as literal strings, so Newsletter, newsletter, and NEWSLETTER are three separate dimension values that fragment your traffic into three partial numbers. The standard convention is all lowercase, always, enforced by a shared naming sheet rather than memory. Parameter names are also case-sensitive on most servers, so UTM_Source is technically a different parameter from utm_source, though analytics tags usually read the standard lowercase names. Build every link with lowercase values from the start and the problem never appears.
Do UTM parameters hurt SEO or cause duplicate content?
Used correctly, no. Search engines generally ignore or de-duplicate URLs that differ only in tracking parameters, and modern analytics setups handle them without issue. Two precautions keep it that way: do not put UTM-tagged URLs in sitemaps or internal links, point those at clean URLs and tag only external placements, and make sure tagged variants return the canonical tag pointing at the clean version so crawlers consolidate them. Historically, parameter-heavy URLs created crawl waste on large sites, so keeping parameters off internal linking remains the best practice even though penalties are not a real risk.
How long should a UTM campaign name be, and does it expire?
There is no technical length limit; values are just strings in the query string, though shorter is better for URL hygiene, readability in reports, and fitting into character-limited platforms. Campaign names never expire: the value lives in the historical data forever, which is exactly why embedding the year, as in spring-sale-2026, helps. Six months later you can filter reports by the 2026 campaigns cleanly. The real constraint is discipline rather than length: a name you will still understand in a year, in lowercase with hyphens, outlives any clever abbreviation.
Can I add UTM parameters to a URL that already has a question mark?
Yes, and it must be done by joining with an ampersand, not a second question mark. If the destination is https://shop.example.com/page?sort=price_asc, the correct tagged URL is https://shop.example.com/page?sort=price_asc&utm_source=newsletter&utm_medium=email. A hand-built second question mark produces an invalid query string that some servers ignore entirely, silently dropping your attribution. Spaces and special characters in your tag values also need percent-encoding to survive email clients and social platforms. This tool merges UTM parameters into existing query strings correctly and encodes values, so both failure modes are handled for you.
How do I test that my UTM links are working before launching?
Open the final link in a private browsing window on a device where you are not logged into analytics or CMS admin, and confirm three things: the landing page loads fully, the address bar still shows all parameters after any redirects, and the real-time or debug view of your analytics platform registers the arrival with the expected source, medium, and campaign values. Redirects are the common failure point, since a server or marketing rule that strips query strings erases attribution silently. Also check the link in the actual sending context, such as an email client, because some apps mangle or wrap URLs before opening them.

Related Tools