UTM Parameters: The Complete Guide to Campaign Tracking
Every link you share online — in a newsletter, a tweet, a paid ad, or a partner site — can carry hidden tracking data that tells your analytics exactly where that traffic came from. That's what UTM parameters do.
Without UTMs, all that traffic often arrives labeled as "direct" or lumped into a generic referral. With UTMs, you can see which specific campaign, channel, and piece of content drove each visit. This guide covers everything you need to know to use them correctly.
What Are UTM Parameters?
UTM stands for Urchin Tracking Module — a naming convention originally from Urchin Software, which Google acquired to build Google Analytics. UTM parameters are query string values appended to a URL that analytics tools use to categorize incoming traffic.
A UTM-tagged URL looks like this:
When a visitor clicks that link, your analytics platform reads those parameters and records the visit under the corresponding campaign dimensions. The URL works exactly the same for the visitor — they see your pricing page normally. Only the analytics sees the metadata.
The 5 UTM Parameters Explained
utm_source — Where the traffic came from
The source identifies the platform or website sending the traffic. Examples: newsletter, twitter, google, facebook, partner-blog. Always fill this in — it's the most important parameter.
utm_medium — The marketing channel type
The medium categorizes the type of traffic. Examples: email, cpc (cost-per-click / paid search), social, affiliate, banner. This helps you group sources by channel across campaigns.
utm_campaign — The specific campaign name
The campaign identifies which marketing initiative the link belongs to. Examples: may-launch, black-friday-2026, onboarding-sequence. Keep names consistent across all links in the same campaign so the data aggregates correctly.
utm_term — The paid search keyword (optional)
Used primarily for paid search ads to record which keyword triggered the ad. Example: free-analytics-tool. Not necessary for most traffic sources — leave it blank unless you're tracking paid keywords.
utm_content — The specific link variant (optional)
Used for A/B testing different ads or links within the same campaign. Example: if you have two banner designs, tag one banner-blue and the other banner-green. This lets you compare which creative drove more clicks.
Building UTM URLs and Avoiding Common Mistakes
statpx includes a built-in UTM URL builder in the Campaigns tab — paste your destination URL, fill in the fields, and copy the tagged link. You can also build them manually by appending the parameters with & separators after a ?.
The most common UTM mistakes that corrupt your data:
- Inconsistent naming: "Newsletter" and "newsletter" are treated as two different sources. Pick a convention (lowercase, hyphens) and stick to it across your whole team.
- UTMs on internal links: Never add UTM parameters to links that point to pages within your own site. This breaks session attribution — a visitor navigating from your homepage to your pricing page would appear as a new campaign visit, destroying your referral data.
- Missing utm_source: If you only add utm_campaign, many analytics platforms can't categorize the traffic correctly. Always include at minimum utm_source and utm_medium.
- Forgetting mobile links: If you send SMS campaigns or push notifications, tag those links too. They default to direct traffic otherwise.
statpx has built-in UTM campaign tracking — completely free
View campaign performance, source/medium breakdowns, and individual session details in the Campaigns tab. No configuration needed — UTM parameters are read automatically from every visit.
Start tracking campaigns →Reading UTM Data in Your Analytics
In statpx, tagged traffic appears in the Campaigns tab. You'll see a breakdown by source, medium, and campaign name — along with pageview count, session count, and bounce rate for each. This lets you compare, for example, how your Twitter campaign performed versus your email newsletter for the same promotion.
A few things to look for when reading campaign data:
- High pageviews but high bounce rate: The traffic came in but left immediately — the landing page may not match the ad's promise.
- Low volume but high engagement: A small audience that actually reads multiple pages is more valuable than a large audience that bounces.
- Compare campaigns over time: Look at the same campaign across multiple sends or flights to see if performance is improving or declining.
For a broader understanding of all the ways visitors can reach your site, read our guide on website traffic sources: direct, organic, referral, and social.
The Bottom Line
UTM parameters are the simplest way to answer "which marketing effort actually drove this traffic?" They require no code changes — just tagged links. The five parameters cover every scenario from paid ads to email newsletters to social posts. Use them consistently, avoid internal links, and keep naming conventions clean. Your campaigns tab will reward you with clear, actionable data.