Marketing Tool Stackby Amit Gupta
← Learn

UTM Builder: How to Use It

Enter your destination URL plus source, medium and campaign, and the builder appends them as UTM parameters, slugifying each value so casing and spaces stay consistent. Use the single-URL audit to fix one existing link, or bulk cleanup to normalize an entire pasted list at once.

Building a tagged URL

To build a link, paste your destination URL and fill in the parameter fields. Source, medium and campaign are the required three; term and content are optional. As you type, the tool assembles the full tagged URL and you copy it with one click. The page works offline and never uploads what you enter.

FieldWhat to enterExample
Destination URLThe page you want people to land on, including https://.https://example.com/pricing
utm_source (required)The referrer: the specific site or property the click came from.newsletter
utm_medium (required)The channel type or marketing medium.email
utm_campaign (required)The campaign or promotion name that ties links together.spring-launch-2026
utm_term (optional)Paid-keyword term, mostly for search ads.project-management
utm_content (optional)A/B variant or placement to tell similar links apart.header-cta

What the builder outputs

The result is your destination URL with a query string appended, for example https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring-launch-2026. Empty optional fields are simply left off, so you never ship dangling, valueless parameters.

How slugify keeps values consistent

Every value you enter is automatically slugified before it lands in the URL. This is the single biggest reason reports stay clean: analytics tools treat UTM values as case-sensitive strings, so "Google", "google" and "Google " would otherwise split into three separate source rows.

What slugify does to each value

  • Lowercases everything, so Google and google can never diverge.
  • Trims leading and trailing spaces that would create phantom variants.
  • Replaces spaces and "_" with hyphens, turning Spring Launch 2026 into spring-launch-2026.
  • Strips any character that is not a letter, number or hyphen, removing stray punctuation and encoded characters.
  • Collapses repeated hyphens and drops them from the start and end, so the slug stays tidy.

Because slugify is applied the same way in the builder, the audit and the bulk tool, a value you type one way today matches one a teammate types differently tomorrow.

Build and audit links in your browserThe UTM Builder runs fully client-side, with no sign-up, no uploads, and every value slugified for you.
Open the tool →

Auditing a single URL

The audit tab takes an existing tagged link and tells you what is wrong with it. Paste any UTM URL, whether one you built elsewhere, inherited, or found in a report, and the tool checks it against a set of practical rules, then suggests the corrected value for each problem it finds.

What the audit flags

CheckWhat triggers itWhy it matters
Missing required parametersource, medium or campaign is absent.Source and medium define the channel; campaign ties the visit to an initiative. Missing any of them leaves the visit hard to attribute.
Not a clean slugA value contains uppercase, spaces or stray characters.Splits one source into several rows; the audit shows the slugified fix.
Campaign too longutm_campaign runs past roughly 50 characters.Long names get truncated and become hard to read in reports.
Unusual mediumutm_medium falls outside common values like email, cpc, social, referral.Off-convention mediums often land in "(other)" channel groupings.

Follow each suggested fix and you end up with a link that reports cleanly, with the channel landing where you expect it.

Bulk-cleaning a list of links

The bulk tab applies that same audit-and-rewrite to a whole batch at once. Paste one URL per line, run it, and the tool slugifies every parameter on every line so the entire set comes back consistent. Then copy the cleaned output in a single click.

When to reach for bulk cleanup

  1. Inheriting a messy spreadsheet of links built by hand over months, with mixed casing and stray "_" symbols.
  2. Standardizing before a migration so historical links match a new naming convention.
  3. Cleaning an export of top landing pages from analytics to see how many "sources" are really the same source spelled differently.

For example, links tagged utm_source=Google, UTM_CAMPAIGN=Spring Launch 2026 and utm_campaign=Spring_Launch all collapse to the same clean, lowercase, hyphenated values, so they finally group together in reporting instead of fragmenting.

Tips for staying consistent

  • Agree on a naming convention first. Slugify enforces format, not vocabulary. Decide whether paid search is cpc or ppc and stick to it across the team.
  • Keep a short medium list. A handful of mediums (email, cpc, social, referral, display) keeps channel groupings clean and predictable.
  • Tag only external links. Never put UTMs on links between your own pages, because it overwrites the real source and breaks attribution.
  • Audit before you launch. Run new links through the single-URL audit so a typo doesn't quietly create a duplicate source for an entire campaign.
  • Bulk-clean periodically. Run your link library through bulk cleanup each quarter to catch drift before it pollutes reports.

Frequently asked questions

What is slugify and why does the builder do it automatically?

Slugify normalizes every parameter value: it lowercases the text, turns spaces and underscores into hyphens, strips characters that are not letters, numbers or hyphens, and collapses repeats. It runs automatically so Google, google and "Google " never become separate, case-sensitive rows for the same source.

What does the single-URL audit check?

Paste an existing tagged link and the audit flags missing required parameters (source, medium, campaign), values that are not clean slugs, an over-long campaign name, and a medium that falls outside common conventions. Each finding comes with the corrected value it recommends.

How does bulk cleanup work?

Paste one URL per line into the bulk box and run it. The tool audits and rewrites every line, slugifying each parameter so the whole list comes back consistent. Copy the cleaned output in one click and paste it back into your sheet or links.

Do my URLs get uploaded anywhere?

No. The UTM Builder runs entirely in your browser with JavaScript. Every URL you build, audit or bulk-clean is processed locally on your device. Nothing is sent to a server, so even unreleased campaign names stay private.

Should I tag internal links with the builder?

No. Use UTMs only on inbound links from other domains, ads or emails. Tagging links between pages of your own site restarts the analytics session and overwrites the real source, corrupting attribution. Keep the builder for external campaign links only.

Last updated: 14 June 2026