What a UTM link is and why it matters

A UTM link is a regular web address with extra labels attached to the end. Those labels tell your analytics tool — usually Google Analytics — where a visitor came from and what they clicked on to get there. When someone lands on your site through a UTM link, the analytics tool reads those labels and sorts that visit into categories you created.

The practical reason to use them: you can see which of your marketing efforts actually bring people to your site. If you post the same link on Facebook, Twitter, and email, you can use three different UTM links to track which platform sent the most visitors, which ones stayed longest, and which ones bought something. Without UTM links, all three visits look identical in your analytics — you just see traffic arrived, with no idea where it came from.

UTM stands for "Urchin Tracking Module," named after an old analytics tool that Google bought and folded into Google Analytics. The name stuck even though most people have never heard it.

Key Takeaways

  • A UTM link is your regular web address with tracking labels added to the end, separated by a question mark and ampersands.
  • The five UTM parameters are source (where the link is), medium (what type of link), campaign (what you're promoting), content (which version), and term (what keyword).
  • You only need to use source, medium, and campaign — the other two are optional and depend on what you're trying to measure.
  • Google Analytics reads UTM labels automatically once you set up a property and add the tracking code to your site.
  • UTM links work with any analytics tool that supports them, not just Google Analytics, and they don't change how the link works for the person clicking it.

The five UTM parameters and what each one does

Every UTM link is built from up to five pieces of information, called parameters. You don't have to use all five — most people use three. Here's what each one captures:

Source is where the link lives. Common values are "facebook," "twitter," "newsletter," "google," or "reddit." This is the only parameter that's truly required if you want to know anything useful.

Medium is the type of link: "social," "email," "cpc" (cost-per-click ads), "organic" (search results), or "referral" (another website). Medium tells you the channel category, while source tells you the specific place.

Campaign is the name of the promotion or project. You might call it "spring-sale," "product-launch," or "black-friday." This is how you group related links together in your analytics.

Content is optional and usually used to distinguish between different versions of the same link. If you're testing two different email subject lines, you'd use content to label which version each link came from.

Term is optional and typically used only for paid search ads. It captures the keyword someone searched for when they clicked your ad.

How to build a UTM link

A UTM link starts with your regular web address, then adds a question mark, then adds your parameters in pairs. Each pair is a parameter name, an equals sign, and a value. Pairs are separated by ampersands.

Here's the pattern: yoursite.com/page?utm_source=facebook&utm_medium=social&utm_campaign=spring-sale

The values you choose are entirely up to you — there's no official list. Pick names that make sense to you and stick with them. If you call one campaign "spring-sale" and another "spring_sale," your analytics will treat them as two different campaigns.

You don't have to type these by hand. Google's Campaign URL Builder is free and walks you through each parameter. You paste in your web address, fill in the boxes, and it generates the complete UTM link for you. Other tools like Bitly and HubSpot's URL builder do the same thing.

Where UTM links work and where they don't

UTM parameters work with any analytics tool that supports them — Google Analytics, Matomo, Plausible, and most others. The tool reads the parameters automatically once you've added its tracking code to your site. You don't have to do anything extra.

UTM links work the same way whether you're tracking a homepage, a blog post, a product page, or a PDF download. The link itself doesn't change how the page loads or what the visitor sees — the parameters are invisible to them.

One limitation: UTM parameters only survive one click. If someone clicks your UTM link and lands on your site, then clicks another link on your site, that second click won't carry the UTM information forward. Your analytics tool captures the first landing, but any subsequent pages they visit are tracked separately.

UTM links also don't work if someone manually types your web address into the browser, or if they click a bookmark they saved. The parameters are part of the URL, so they only work when someone clicks the actual link you created.

Setting up analytics to read UTM links

If you're using Google Analytics, you don't need to set anything up — it reads UTM parameters automatically. Once you've added the Google Analytics tracking code to your site (a small snippet of code in your page's header), any UTM link that lands on your site will be tracked.

To see the data, log into Google Analytics, go to Reports, then navigate to Acquisition. You'll see sections for Source/Medium, Campaign, and other dimensions. The data appears within a few hours of the first click.

If you're using a different analytics tool, check its documentation to confirm it supports UTM parameters. Most do, but setup varies. Some tools read them automatically like Google Analytics does; others require you to create custom tracking rules.

Common mistakes when building UTM links

The most common mistake is inconsistency. If you use "Facebook" in one link and "facebook" in another, your analytics treats them as separate sources. Pick a naming convention and stick with it — lowercase is easier to maintain than mixing cases.

Another mistake is using spaces in parameter values. Spaces break URLs, so use hyphens or underscores instead. "spring-sale" works; "spring sale" does not.

A third mistake is overcomplicating your parameters. You don't need to track every possible detail. Start with source, medium, and campaign. Add content or term only if you're actually going to look at that data and make decisions based on it. Extra parameters you never check just clutter your analytics.

Finally, don't assume UTM links are secret. Anyone who hovers over a link or looks at their browser's address bar can see the parameters. Don't put sensitive information in a UTM link.

When to use UTM links and when you don't need them

Use UTM links whenever you're posting the same link in multiple places and want to know which place sent the most traffic. Social media posts, email newsletters, ads, blog posts, and forum comments are all good candidates.

You don't need UTM links for links within your own site. Your analytics tool already knows someone is on your site; it tracks their path automatically. UTM links are for tracking traffic coming into your site from outside.

You also don't need UTM links if you're only posting a link in one place. If you're sending a link to one person in a direct message, there's nothing to compare it against.

If you're running ads through Google Ads or Facebook Ads, those platforms have their own built-in tracking. You can use UTM links with them, but the platform's native tracking usually gives you more detail. Check the platform's documentation before deciding whether to add UTM parameters on top.

Frequently Asked Questions

Do UTM links change how the page loads or what the visitor sees?

No. The UTM parameters are read by your analytics tool only. The visitor sees the same page they would see if they clicked a regular link. The parameters don't affect page speed, functionality, or appearance.

Can I use UTM links with shortened links like Bitly?

Yes. You can build a UTM link first, then shorten it with Bitly or another shortener. The UTM parameters survive the shortening process and are still tracked when someone clicks the shortened link.

What happens if I change a UTM parameter after I've already shared the link?

Nothing happens to clicks that already came in — those are recorded with the original parameters. New clicks on the old link will still use the old parameters. If you want to change tracking, you need to create a new link and share that instead.

Can I see UTM data in Google Analytics if I forget to add the tracking code to my site?

No. Google Analytics needs its tracking code installed on your site to capture any data, including UTM parameters. Without the code, no visits are tracked at all.

Do UTM links work on mobile devices?

Yes. UTM links work the same way on mobile as they do on desktop. The analytics tool reads the parameters regardless of what device the visitor is using.