If you've ever wondered exactly which social post, email, or ad actually drove someone to your website, UTM parameters are the answer. This guide explains what they are and how to use them properly.

What Are UTM Parameters?

UTM parameters are small tags added to the end of a URL that tell analytics tools like Google Analytics exactly where a visit came from. Without them, traffic from a specific campaign often just shows up as generic "referral" or "social" traffic, with no way to tell which specific post or email actually worked.

A UTM link looks like a normal URL with extra text after a question mark, like this: yourwebsite.com/?utm_source=facebook&utm_medium=social&utm_campaign=spring-sale. Everything after the "?" is the tracking information - it doesn't change what page loads, only what your analytics records about how the visitor got there.

The Five UTM Parameters

  • utm_source - where the traffic is coming from (e.g. facebook, newsletter, google)
  • utm_medium - the marketing medium (e.g. social, email, cpc for paid search)
  • utm_campaign - the specific campaign name (e.g. spring-sale-2026)
  • utm_term - optional, typically used for paid search keywords
  • utm_content - optional, used to differentiate similar links within the same campaign

Only source, medium and campaign are required for useful tracking. Term and content are optional extras for more detailed campaigns.

A Practical Example

Say you're posting the same link on both Facebook and Instagram, and want to know which one performs better. You'd create two different links:

yourwebsite.com/?utm_source=facebook&utm_medium=social&utm_campaign=summer-launch
yourwebsite.com/?utm_source=instagram&utm_medium=social&utm_campaign=summer-launch

Both links go to the same page, but your analytics will now show you exactly how many visits (and conversions) came from each platform separately.

How to Create UTM Links

  1. Use a UTM builder tool to generate the link correctly formatted
  2. Fill in source, medium and campaign at minimum
  3. Use the generated link wherever you're promoting - social posts, email campaigns, paid ads
  4. Check your analytics after the campaign to see the results broken down by source

Common Mistakes

  • Inconsistent casing. "Facebook" and "facebook" can be treated as different sources in some analytics tools - pick lowercase and stick with it
  • Using spaces instead of hyphens. Spaces get encoded oddly in URLs and look messy - use hyphens instead
  • Using UTM links for your own internal navigation. UTM parameters are for tracking traffic from external sources, not for links within your own website
  • Forgetting to record what you've used. Without a record of your naming conventions, it's easy to end up with inconsistent campaign names across a project
Keep a simple spreadsheet of every UTM link you create, noting the source, medium and campaign used. This prevents naming drift and makes your analytics much easier to interpret months later.

Frequently Asked Questions

Do UTM parameters affect my SEO or search rankings?

No - they're purely for analytics tracking and have no effect on how search engines rank your page.

Can I shorten a UTM link so it doesn't look messy?

Yes - a URL shortener can turn a long UTM link into something cleaner for sharing, particularly useful on platforms like X where link length matters more.

Will UTM parameters work with QR codes?

Yes - you can put a UTM-tagged link into a QR code, which is a useful way to track how many people scan a printed flyer or poster.

Ready to put this into practice?

Use our free QR Code Generator โ€” no signup required.

Open QR Code Generator โ†’

Ready to put this into practice?

Use our free UTM Builder โ€” no signup required.

Open UTM Builder โ†’