UTM Parameters Basics 6 min read

utm_source vs utm_medium vs utm_campaign: What's the Difference?

The three core UTM parameters answer three different questions — who sent the traffic, what channel it came through, and which initiative it belongs to.

M

Marketing Analytics Team

Analytics Specialists

July 27, 2026|
UTMLOOP COMPREHENSIVE VIEW

UTM Parameters Basics Blueprint Guide

What UTM Parameters Actually Do

UTM stands for Urchin Tracking Module, a name inherited from the analytics company Google acquired back in 2005. When you add UTM parameters to a URL, you're not changing where the link goes — you're attaching invisible labels that tell your analytics platform where a visitor came from, how they got to you, and what campaign sent them. Without these labels, most traffic gets lumped into vague buckets like "direct" or "referral," and you lose the ability to answer the question every marketer eventually asks: which of my efforts actually worked?

utm_source: Where Did the Traffic Come From?

Think of utm_source as the answer to "who sent this visitor?" It identifies the specific platform, publisher, or partner responsible for the click. Common values include newsletter, facebook, google, or the name of a partner site you're working with. The key rule here is specificity paired with consistency. If you're sending an email through Mailchimp, your source might simply be mailchimp or newsletter — whichever you choose, stick with it every time. A frequent beginner mistake is treating utm_source as a catch-all descriptor of the campaign itself, which is actually the job of utm_campaign. Keep utm_source narrowly focused on the origin.

utm_medium: What Type of Channel Was It?

While utm_source tells you the specific sender, utm_medium describes the broader category of channel that delivered the click. This is where marketers often get tripped up, because the categories can feel arbitrary until you settle on a standard. Common values include email, cpc (cost-per-click, for paid search or paid social), social, referral, and organic. The distinction matters enormously in reporting. Imagine you run five different paid Facebook ad campaigns and three organic Facebook posts. If your utm_medium correctly separates cpc traffic from social traffic, your reports will instantly show you which approach is actually driving results, rather than blending everything into one undifferentiated "Facebook" bucket.

utm_campaign: What Specific Effort Was This?

utm_campaign identifies the actual initiative behind the link — a product launch, a seasonal sale, a specific email send, or a content promotion. This is the parameter that ties everything together across channels. For instance, if you're promoting a summer sale, you might use summer_sale_2026 as your campaign name across your email, social posts, and paid ads, while varying the source and medium for each. This lets you pull a single report showing the total performance of that campaign across every channel it touched, which is often far more useful than looking at any one channel in isolation.

How the Three Work Together

Here's a simple example that shows all three parameters at work in a single URL:

`https://example.com/product?utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale_2026`

Read left to right, this tells your analytics platform: a visitor arrived from our newsletter (source), delivered via email (medium), as part of the summer sale campaign (campaign). Now compare it to a paid social version of the same promotion:

`https://example.com/product?utm_source=facebook&utm_medium=cpc&utm_campaign=summer_sale_2026`

Notice the campaign name stays identical, but the source and medium change to reflect the different channel. When you pull a report filtered by campaign, both of these entries roll up together, giving you a complete picture of the summer sale's performance regardless of where the traffic originated.

Common Mix-Ups to Avoid

The most frequent error is swapping source and medium — labeling something utm_source=email and utm_medium=newsletter, when it should be the reverse, or being inconsistent about which one holds the platform name versus the channel type. Another common issue is stuffing campaign-specific details into utm_source, such as utm_source=facebook_summer_sale, which fragments your source data and makes it harder to compare like with like across campaigns. A third mistake is inconsistent casing or spelling — utm_source=Facebook in one link and utm_source=facebook in another will be treated as two completely different sources by most analytics platforms, since UTM tracking is case-sensitive.

A Simple Mental Model

If you're ever unsure which parameter to use, ask yourself three questions in order. First, who sent this traffic — that's your source. Second, what kind of channel is that — paid, organic, email, referral — that's your medium. Third, what specific effort or initiative is this link part of — that's your campaign. Answering these in sequence almost always produces a clean, logical UTM structure.

Why Getting This Right Matters

Clean UTM data isn't just a nice-to-have for tidy spreadsheets. It's the foundation for real decisions: which channels deserve more budget, which campaigns are actually driving conversions, and where your marketing dollars are being wasted. A messy or inconsistent UTM setup means your reports are lying to you, even if you don't realize it. The good news is that once you internalize the distinct roles of source, medium, and campaign, building clean tracking links becomes second nature — and the clarity you get in return is well worth the small effort of getting it right from the start.

Frequently Asked Questions

What's the difference between utm_source and utm_medium?

utm_source identifies who sent the traffic, like facebook or newsletter, while utm_medium describes the broader channel type, like cpc, email, or social — they should never be swapped.

What does utm_campaign track?

utm_campaign names the specific marketing initiative a link belongs to, such as summer_sale_2026, and stays identical across every channel promoting that same effort so results can be rolled up together.

What's the most common mistake with these three parameters?

Swapping source and medium, or stuffing campaign-specific detail into utm_source, which fragments source data and makes it harder to compare like with like across campaigns.

Join 14,000+ marketing growth leaders

Receive our bi-weekly breakdown of campaign analytics setups, attribution rules, naming tactics, and link-stitching blueprints. Direct to your inbox.

Continue reading blueprints

All Articles
utm_source vs utm_medium vs utm_campaign: What's the Difference? | UTMLoop Blog