UTM builder. Tag a campaign URL in seconds.

A UTM builder adds tracking parameters to a link so your analytics can tell which campaign a visit came from. Paste a URL, fill in source, medium and campaign, and copy the tagged link.

By Brady Heinrich · Updated

The page the link opens. An existing query string or #anchor is kept.

Where the click comes from: google, linkedin, newsletter.

The kind of channel: cpc, email, social, referral.

The promotion or launch this link belongs to.

The paid keyword, if there is one.

Tells two links in the same place apart.

Your tagged URL

Enter a page URL and a source, medium and campaign to build your link.

The format

Tagged URL = page URL + ?utm_source=source&utm_medium=medium&utm_campaign=campaign

A worked example

The page https://example.com/pricing/ with source newsletter, medium email and campaign Spring Launch becomes https://example.com/pricing/?utm_source=newsletter&utm_medium=email&utm_campaign=spring-launch.

How to use the UTM builder

  1. Paste the address of the page the link should open. An existing query string or #anchor is kept as it is.
  2. Enter a source, a medium and a campaign. Google's documentation says to always use these three together.
  3. Add a term or content value only if you need one.
  4. Copy the tagged URL and use it as the link in your ad, email or post.

The link updates as you type. By default the builder lowercases every value and turns spaces into hyphens, so "Spring Launch" becomes "spring-launch". Switch that off if you need to match values that already exist in your reports.

What each UTM parameter means

A UTM link is a normal URL with up to five labels on the end. This UTM generator writes them in the standard order.

ParameterWhat it recordsExample
utm_sourceWho sent the visitornewsletter, google, linkedin
utm_mediumThe kind of channelemail, cpc, social
utm_campaignThe promotion or launchspring-launch
utm_termThe paid keywordcrm-software
utm_contentWhich link or creative was clickedheader-button

Google Analytics reads these labels when the page loads and files the visit under that source, medium and campaign. A value you leave out shows in reports as (not set). The full list and how to plan them is in the guide to UTM parameters.

Why lowercase and hyphens are the default

Parameter values are case sensitive in Google Analytics, so "Email" and "email" are reported as two different mediums. One person typing a capital letter splits a channel across two rows, and nobody notices until the numbers do not add up. Lowercasing everything removes that risk.

Spaces are the other problem. A space in a URL is encoded as %20, which makes links ugly and easy to break when they are copied between tools. Hyphens survive every email client and ad platform.

How to read your tagged URL

Everything after the question mark is the query string. Each parameter is a name, an equals sign and a value, joined by ampersands. If the page already had a query string, the UTM values are added to the end of it. If it had an #anchor, the anchor stays last, because browsers ignore any parameter written after it.

Open the link in a private window before you publish it and confirm the page loads and the parameters are still in the address bar. Some redirects strip them.

Common mistakes

  1. Tagging internal links. UTMs on links between your own pages overwrite where the visitor really came from. Use them only on links from outside your site.
  2. Inconsistent names. "linkedin", "LinkedIn" and "li" become three sources. Agree a short list of sources and mediums and stick to it.
  3. Putting the channel in the wrong field. Source is who, medium is how. "newsletter" is a source and "email" is a medium.
  4. Tagging with personal data. Never put an email address or a name in a UTM value. It ends up in analytics and in browser history.
  5. Stopping at the click. A tagged link is only useful if you compare what it brings in. Check each campaign's conversion rate, not only its visits.

How people search for a UTM builder

  • utm builder12,100 a month
  • utm generator3,600 a month
  • google campaign url builder3,600 a month
  • campaign url builder1,600 a month
  • utm code generator1,000 a month
  • utm link builder720 a month

US monthly searches, Google Ads keyword data.

Questions

What is a UTM link?

A UTM link is a URL with tracking parameters such as utm_source and utm_medium added to the end. The page it opens is the same, and analytics tools read the parameters to record which campaign sent the visit.

Which UTM parameters are required?

Google's documentation says to always use utm_source, utm_medium and utm_campaign together. utm_term and utm_content are optional.

Is this the same as the Google Campaign URL Builder?

It builds the same kind of link with the same parameters. The differences are that it lowercases and hyphenates values by default, keeps an existing query string and anchor intact, and checks the URL as you type.

Are UTM parameters case sensitive?

Yes. Google Analytics treats utm_source=google and utm_source=Google as different sources, which is why this builder lowercases values unless you switch that off.

Do UTM parameters affect SEO?

They do not change how a page ranks, but tagged URLs are separate addresses. Keep a canonical tag on the page pointing at the clean URL and do not use UTMs on internal links.

Sources

  1. URL builders: Collect campaign data with custom URLs (Google Analytics Help)

Keep reading

Building something ambitious? Let's talk.

We reply within one business day.