Tracking Setup

UTM Parameters: How to Tag and Track Every Campaign

Sebastian Anderson, web analytics consultant Sebastian Anderson February 19, 2026 8 min read
Marketing analytics illustration showing campaign growth tracking

You launched a campaign, shared the link on three different channels, and traffic went up. But which channel actually drove those visitors? Without UTM parameters, your analytics tool just shows “direct traffic” or a vague referrer — and you’re left guessing. UTM parameters solve that problem in about thirty seconds.

Key Takeaway: UTM parameters are simple tags you add to the end of a URL to tell your analytics tool exactly where a visitor came from, which campaign they clicked, and what specific link they used. They work with every analytics platform — Plausible, Matomo, Umami, and others.

What Are UTM Parameters?

UTM stands for Urchin Tracking Module — a naming convention that’s been the standard for campaign tracking since the early 2000s. In plain English, UTM parameters are extra bits of text you add to a URL so your analytics tool can sort visitors by campaign, channel, and content.

Here’s a normal URL:

https://example.com/pricing/

And here’s the same URL with UTM parameters:

https://example.com/pricing/?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale

The page looks identical to the visitor. But your analytics tool now knows this person came from your newsletter, via email, as part of your spring sale campaign. That’s traffic source tracking at its most practical.

The Five UTM Parameters Explained

There are five standard UTM parameters. Three are essential; two are optional but useful in specific situations.

1. utm_source (Required)

What it tracks: Where the traffic comes from — the platform, website, or publication.

Examples: newsletter, facebook, linkedin, partner-blog, podcast-show-notes

Think of this as the answer to “which website or platform sent this visitor?”

2. utm_medium (Required)

What it tracks: The type of channel or marketing medium.

Examples: email, social, cpc, referral, display, affiliate

This groups your traffic into categories. If utm_source is “where”, then utm_medium is “how” — the delivery mechanism.

3. utm_campaign (Required)

What it tracks: The specific campaign, promotion, or initiative.

Examples: spring-sale-2026, product-launch, weekly-digest-march, black-friday

This is where you identify the actual marketing effort. It’s the answer to “which campaign brought them here?”

4. utm_term (Optional)

What it tracks: The keyword or targeting term, originally designed for paid search.

Examples: analytics-tools, privacy-tracking, free-dashboard

Most useful for paid campaigns where you want to track which keyword or audience segment drove the click. For organic social or email, you can skip this.

5. utm_content (Optional)

What it tracks: Which specific link or creative the visitor clicked.

Examples: header-cta, sidebar-banner, blue-button, text-link-footer

This is your A/B testing friend. When you have multiple links pointing to the same page within a single campaign, utm_content tells you which one got the click.

ParameterRequired?AnswersExample
utm_sourceYesWhere did they come from?linkedin
utm_mediumYesWhat type of channel?social
utm_campaignYesWhich campaign?q1-promo
utm_termNoWhich keyword/audience?analytics-tools
utm_contentNoWhich link or creative?banner-top

Naming Conventions That Save You Hours

The number one mistake I see with UTM parameters is inconsistent naming. Facebook, facebook, fb, and FB all create separate entries in your analytics. Instead of one clean report, you get four fragmented rows. Here are the rules I follow with every client.

Tip: Create a shared UTM naming document (even a simple spreadsheet) that your whole team uses. This single step prevents 90% of tracking headaches.

Rule 1: Always use lowercase. Most analytics tools treat uppercase and lowercase as different values. Stick to lowercase and you’ll never have duplicate entries.

Rule 2: Use hyphens instead of spaces or underscores. Spaces become %20 in URLs (ugly and confusing). Underscores work technically, but hyphens are the web standard and easier to read: spring-sale-2026 beats spring_sale_2026.

Rule 3: Be specific but concise. email is better than e. But email-marketing-campaign-for-spring-promotion-2026 is too much. Aim for 2-4 words maximum.

Rule 4: Use consistent source names. Pick one name per platform and stick with it:

PlatformUse ThisNot This
Facebookfacebookfb, FB, Facebook
LinkedInlinkedinli, LinkedIn, linked-in
Email newsletternewsletteremail, Email, mail
X (Twitter)twitterx, X, tw

Rule 5: Include dates in campaign names when relevant. spring-sale-2026 is far more useful six months later than just spring-sale.

Real-World UTM Examples

Let me walk through three scenarios I set up regularly for clients.

Email Newsletter Campaign

You’re sending a weekly newsletter with a link to your latest blog post:

https://yoursite.com/new-feature/?utm_source=newsletter&utm_medium=email&utm_campaign=weekly-digest-march-2026&utm_content=hero-button

This tells you the visitor came from your newsletter, via email, as part of the March weekly digest, and they clicked the hero button (not the text link further down).

Social Media Post

You’re sharing a case study on LinkedIn:

https://yoursite.com/case-study/?utm_source=linkedin&utm_medium=social&utm_campaign=case-study-launch&utm_content=organic-post

Partner Referral

A partner blog is linking to your pricing page as part of a joint promotion:

https://yoursite.com/pricing/?utm_source=partner-techblog&utm_medium=referral&utm_campaign=joint-webinar-april-2026

Understanding how these sources flow into your analytics is closely tied to marketing touchpoints — each UTM-tagged link becomes a trackable touchpoint in your customer journey.

How Privacy-First Analytics Tools Handle UTM Parameters

One of the best things about UTM parameters is that they work everywhere — including cookie-free analytics tools. Since UTMs are part of the URL itself, they don’t require cookies, JavaScript tracking, or any special browser permissions.

Here’s how the major privacy-first tools handle them:

Plausible reads all five UTM parameters automatically. No configuration needed. Campaign data appears in your Sources report under dedicated tabs for Source, Medium, Campaign, Term, and Content.

Matomo supports UTM parameters out of the box and also accepts its own mtm_ prefix parameters. Campaign reports show detailed breakdowns including keyword and content data.

Umami captures UTM parameters automatically and displays them in the referrers section. It strips UTM parameters from the URL after reading them, keeping your page reports clean.

Tip: Some privacy tools strip UTM parameters from the URL after capturing them, which means the visitor never sees the messy tagged URL in their browser bar. This is both a privacy benefit and a usability improvement.

Common UTM Mistakes (and How to Avoid Them)

After twelve years of auditing campaign tracking setups, these are the mistakes I see most often:

1. Inconsistent capitalisation. As mentioned above, Email and email create separate entries. Always use lowercase. If your team can’t remember, use a UTM builder that enforces it.

2. Using UTMs for internal links. Never add UTM parameters to links within your own website. They overwrite the original source data. If someone arrives from your newsletter and then clicks an internal link with UTMs, their source changes from “newsletter” to whatever you tagged the internal link with. For internal tracking, use utm_content on inbound links or event tracking instead.

Warning: Adding UTM parameters to internal links is the most common and most damaging UTM mistake. It corrupts your traffic source data and makes campaign reporting unreliable.

3. Forgetting to tag all links in a campaign. If you tag your email links but not your social links for the same campaign, you’ll have a gap in your data. Create all campaign URLs at once before launching.

4. Putting sensitive information in UTMs. UTM parameters are visible in the URL bar, in server logs, and potentially in analytics reports. Never put customer names, email addresses, or other personal data in UTM values.

5. Making URLs too long. Some social platforms truncate long URLs. Some email clients break them across lines. Keep your UTM values concise, and consider using a URL shortener after tagging — but use one you trust, like your own domain’s shortlinks.

6. No documentation. Three months from now, will you remember what utm_campaign=q1-a meant? Keep a running log of every campaign name and what it refers to.

Building UTM URLs: Tools and Tips

You can manually type UTM parameters into a URL, but it’s error-prone. Instead, use a UTM builder tool that enforces your naming conventions and generates the URL for you.

Several good free options exist:

UTM Tagging Checklist
  • All values are lowercase
  • Hyphens used instead of spaces or underscores
  • Source name matches your naming convention document
  • Campaign name includes a date or identifier
  • No personal data in any UTM field
  • All campaign links are tagged (not just some)
  • No UTM parameters on internal links
  • URL tested and loads correctly

How UTM Data Connects to Your Bigger Picture

UTM parameters are most valuable when you connect them to the rest of your analytics. A tagged URL tells you where a unique visitor came from. Your analytics tool then tracks their session, the pages they view, and whether they convert.

For instance, you might discover that your LinkedIn campaign drives lots of traffic but a high bounce rate, while your newsletter drives fewer visitors but more conversions. That’s the kind of insight that changes how you allocate your marketing budget.

If you’re mapping out the full customer journey, UTM-tagged referral traffic becomes one of the clearest signals in your conversion tracking setup.

Frequently Asked Questions

Do UTM parameters affect SEO?

No. Search engines ignore UTM parameters when indexing pages. However, it’s good practice to use canonical tags on your pages so that search engines consolidate any UTM-tagged variations to the main URL. Most CMS platforms, including WordPress, handle this automatically.

Do UTMs work with cookie-free analytics?

Yes. UTM parameters are embedded in the URL itself, so they don’t require cookies or JavaScript storage to work. Tools like Plausible and Umami read the UTM values directly from the page URL on each request. This makes UTMs one of the most privacy-friendly tracking methods available.

Should I use UTM parameters for organic social media posts?

Yes, absolutely. Without UTM tags, clicks from organic social posts often show up as “direct” traffic or under a generic referrer. Tagging your social links with utm_medium=social and the appropriate utm_source gives you accurate channel data.

How many UTM parameters should I use per link?

At minimum, use all three required parameters: utm_source, utm_medium, and utm_campaign. Add utm_content when you have multiple links in the same campaign pointing to the same page. Add utm_term for paid campaigns where keyword tracking matters.

Can visitors see my UTM parameters?

Yes — UTM parameters are visible in the browser’s address bar. This is why you should never include personal data or sensitive business information in UTM values. Some analytics tools and URL shorteners strip the parameters after capture, but you shouldn’t rely on that.

The Bottom Line

UTM parameters are one of the simplest, most effective tools in your analytics toolkit. They cost nothing, work with every analytics platform, and require no technical skills beyond copy-pasting a URL. The key is consistency: agree on naming conventions with your team, document everything, and never use UTMs on internal links.

Start with the three required parameters — utm_source, utm_medium, and utm_campaign — and add the optional ones as your tracking needs grow. Within a week, you’ll wonder how you ever ran campaigns without them.

Sebastian Anderson, web analytics consultant
Sebastian Anderson
Analytics Consultant

Web analytics consultant with 12+ years of experience helping businesses understand their website visitors. Specialises in privacy-first analytics tools like Plausible, Matomo, and Umami. Based in Melbourne, Australia.

Enjoyed this article?

Get more privacy-first analytics tips delivered to your inbox weekly.