TrfyxAll posts
Web Analytics

UTM Parameters Explained: How to Track Every Marketing Campaign

UTM parameters let you tag links so your analytics can tell you exactly which campaigns, channels, and content drive traffic and conversions. Here's how to use them properly.

Trfyx Team5 min read

UTM parameters are short text tags you add to the end of a URL so your analytics tool can tell you where a click came from. Without them, a visitor from your email newsletter, a visitor from a paid Facebook ad, and a visitor who clicked a link in a partner's blog post all look the same in your reports — just "direct" or "referral" traffic with no useful detail.

With UTMs, each of those visitors carries a label that follows them through your analytics. You know exactly which campaign, channel, and piece of content brought them to your site, and you can connect that to what they did after they arrived.

What UTM Parameters Are

UTM stands for Urchin Tracking Module — a naming artifact from a Google acquisition that became Google Analytics. The name doesn't matter. What matters is the mechanism: you append query parameters to a URL, and your analytics tool reads them when a visitor arrives.

A tagged URL looks like this:

https://trfyx.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=october-launch

When someone clicks that link, your analytics records the source as "newsletter," the medium as "email," and the campaign as "october-launch." Without those parameters, the visit would show up as direct traffic with no campaign context.

The Five UTM Parameters

There are five standard UTM parameters. The first three are essential. The last two are optional but useful when you need finer-grained tracking.

ParameterPurposeExample
utm_sourceWhere the traffic comes fromgoogle, newsletter, linkedin
utm_mediumThe marketing medium or channel typecpc, email, social, referral
utm_campaignThe specific campaign namespring-sale, product-launch-q4
utm_termThe paid keyword (primarily for search ads)analytics+tool, session+replay
utm_contentDifferentiates similar links in the same campaignheader-cta, footer-link, blue-button

utm_source identifies the platform or publisher. Be specific: use linkedin not social, use partner-blog-acme not referral.

utm_medium categorizes the channel type. Stick to a controlled list: cpc, email, social, referral, display, affiliate. This lets you group all paid traffic, all email traffic, etc.

utm_campaign names the specific initiative. This is where you track which launch, promotion, or content push is performing.

utm_term and utm_content add granularity. Use utm_term for paid search keywords and utm_content for A/B testing different link placements within the same email or ad.

Naming Conventions Matter More Than You Think

The most common UTM mistake isn't forgetting to tag a link — it's inconsistent naming. If one person tags a link with utm_source=Facebook, another uses facebook, and a third uses fb, your analytics shows three separate sources instead of one.

Key Summary

  • Pick a format and enforce it: lowercase, hyphens instead of spaces, no abbreviations
  • Document your naming conventions in a shared spreadsheet or wiki
  • Use a URL builder tool to prevent manual typos
  • Audit your UTM data monthly — fragmented sources mean someone went off-script

A practical convention:

  • All lowercase. linkedin not LinkedIn.
  • Hyphens for spaces. spring-sale not spring_sale or spring%20sale.
  • No abbreviations unless universal. cpc is fine (everyone uses it). nl for newsletter is not — spell it out.
  • Dates in campaigns. product-launch-2026-10 makes it easy to sort and filter by time.

Common UTM Mistakes

Tagging internal links. UTM parameters should only go on links that bring traffic to your site from external sources. If you add UTMs to links within your own site (like a banner linking to your pricing page), you overwrite the visitor's original source. A visitor who came from Google now looks like they came from "homepage-banner."

Forgetting organic and direct traffic. You can't UTM-tag a Google organic search result or a visitor who types your URL directly. Make sure your analytics handles these sources natively. The role of UTMs is to enrich the sources you can control — ads, emails, social posts, partner links.

Case sensitivity causing splits. Most analytics tools treat Facebook and facebook as different sources. Standardize before you start, not after your data is fragmented.

Overly complex campaigns. If your campaign name is q4-2026-product-launch-v2-test-b-revised-final, nobody will understand it in a report. Keep names descriptive but short.

Not tagging at all. If half your emails go out without UTMs, you're missing half the picture. Make UTM tagging part of every campaign checklist, not an afterthought.

Building UTM-Tagged URLs

You can build tagged URLs manually, but it's error-prone. Use a URL builder instead:

  • Google's Campaign URL Builder — free, generates a tagged URL from form fields.
  • Spreadsheet template — create a shared Google Sheet with columns for each parameter and a formula that assembles the URL. This doubles as your naming convention documentation.
  • Built-in tools — some email and ad platforms add UTM parameters automatically. Check whether yours does, and make sure the auto-generated values match your conventions.

Reading UTM Data in Your Analytics

Once links are tagged, the data flows into your analytics automatically. What you do with it depends on your tool.

In most analytics platforms, UTM data appears in acquisition or traffic source reports. You can filter by source, medium, or campaign to see how each one performs. The real power comes from connecting this to outcomes.

With revenue attribution, you can go further: not just which campaigns send traffic, but which campaigns generate paying customers. A campaign that sends 500 visitors who browse and leave is less valuable than one that sends 50 visitors who convert. UTM parameters make this comparison possible.

In Trfyx, UTM data is captured automatically when visitors arrive with tagged URLs. The dashboard shows traffic, conversions, and revenue broken down by source, medium, and campaign — no extra configuration beyond tagging your links.

UTM Parameters and Privacy

UTM parameters are visible in the URL, which means visitors can see them — and so can any tool that reads the URL. They don't contain personal data by default, but avoid putting anything sensitive in UTM values (no email addresses, user IDs, or names).

Some privacy-focused browsers and extensions strip query parameters from URLs. This can reduce the accuracy of UTM tracking. Server-side analytics and first-party tracking approaches are less affected by this, since they capture the original URL on the server before any client-side stripping occurs.

Getting Started

If you're not using UTM parameters yet, start with three steps:

  1. Document your naming conventions in a shared location.
  2. Tag every link in your next email campaign or ad using a URL builder.
  3. Check your analytics the next day and verify the tagged traffic appears under the correct source and campaign.

Once you see how much clarity a few tagged links add, you'll want to tag everything. And you should — every external link pointing to your site is an opportunity to know exactly where your visitors come from.

Summarize with AI

Get a quick summary of this article using your favorite AI assistant.