How to Set Up UTM Campaign Tracking Properly
A 2026 guide to setting up UTM campaign tracking. Naming conventions, generators, common mistakes, and how to read campaign reports.
TL;DR
- 1.Add UTM parameters to every external link you control: tweets, newsletters, paid ads, partner placements, guest posts.
- 2.Stick to lowercase, hyphens-not-spaces, and a stable naming convention.
- 3.Use a UTM generator to enforce conventions. Inconsistency is the #1 mistake.
- 4.Don't add UTMs to internal links — they overwrite the original source attribution.
- 5.In your analytics, segment by utm_campaign to measure ROI per campaign.
Why proper UTM tracking matters
UTM parameters are the only reliable way to know which specific marketing activity drove which traffic. Without UTMs, your analytics groups all Twitter traffic into one bucket — you can't tell whether the launch tweet, the casual tweet, or the reply got the visitors.
Most teams use UTMs inconsistently. The result is a referrer report that's 60% accurate at best. Treating UTMs seriously turns them into one of the highest-leverage analytics setups you can do.
The five UTM parameters
Source, medium, and campaign are the three you'll use 90% of the time.
- utm_source — where the visitor came from (twitter, newsletter, hackernews)
- utm_medium — how (social, email, referral, cpc, organic)
- utm_campaign — why (launch, q4-promo, free-trial, black-friday)
- utm_term — paid keyword
- utm_content — variant (a/b test, ad creative)
A consistent naming convention
Pick a convention and write it down. Share with your team. Enforce it.
- Always lowercase: `twitter` not `Twitter`.
- Use hyphens, never spaces: `q4-promo` not `q4 promo`.
- Stable source names: `twitter`, `linkedin`, `newsletter`, `hackernews`.
- Date in campaigns when applicable: `q4-2025-promo`.
- Scope source vs campaign correctly.
Practical UTM examples
# Twitter post for product launch
https://yoursite.com/launch?utm_source=twitter&utm_medium=social&utm_campaign=v3-launch
# Newsletter promotion
https://yoursite.com/?utm_source=newsletter&utm_medium=email&utm_campaign=monthly-update
# Hacker News submission
https://yoursite.com/posts/some-essay?utm_source=hackernews&utm_medium=social&utm_campaign=launch
# Google Ads campaign
https://yoursite.com/pricing?utm_source=google&utm_medium=cpc&utm_campaign=brand&utm_term=sleek+analytics
# Affiliate / partner placement
https://yoursite.com/?utm_source=alex-blog&utm_medium=referral&utm_campaign=partnershipWhen NOT to add UTMs
- Internal links. UTMs override the original source attribution.
- Email confirmations / transactional links. Not marketing channels.
Use a UTM generator
- Sleek's built-in UTM generator — saves campaign templates
- Google's Campaign URL Builder (ga-dev-tools.web.app/campaign-url-builder)
- A simple team Notion or Airtable form
- Bitly, Dub, or Rebrandly — short URLs that include UTMs invisibly
Reading campaign reports
Once UTMs are flowing, your analytics gives you several useful views:
- Sources report: top utm_source values
- Campaign report: top utm_campaign values with conversion rate
- Source/medium combination: shows efficacy of channels
- Conversion attribution: which campaign drove revenue
Frequently asked questions
Do UTM parameters affect SEO?
Not really. Search engines understand URL parameters and typically ignore UTMs for ranking. The canonical URL is what gets indexed.
Are UTMs case-sensitive?
Yes. `Twitter` and `twitter` show up as two separate sources. Always use lowercase.
Should I use UTMs on my newsletter links?
Yes — your newsletter is one of your most important channels. Tag every newsletter link with at minimum utm_source=newsletter and utm_campaign=<which-issue>.
Can I shorten UTM URLs?
Yes. Tools like Bitly, Dub, or Rebrandly give short URLs that redirect to the full UTM-tagged URL.
Do privacy-friendly analytics tools track UTMs?
Yes. UTMs travel in the URL, not in cookies — Sleek, Plausible, Fathom all read them.
How do I track UTMs from Facebook ads?
In Facebook Ads Manager, add UTM parameters to the URL parameters field. Use Facebook's dynamic parameters ({{site_source_name}}, {{campaign.name}}) to auto-populate.
Track your own growth loop
Sleek Analytics gives you visitors, sources, pages, devices, and real-time behavior with one lightweight script. No cookies, no GDPR banners.
Related reading
What Are UTM Parameters? (Complete Guide for 2026)
A complete 2026 guide to UTM parameters: how they work, the five UTM tags, naming conventions, common mistakes, and how to use them in any analytics tool.
How-toHow to Track Custom Events with a Privacy-First Tool
A 2026 guide to tracking custom events in privacy-friendly analytics tools. When to use them, naming conventions, and what to track for SaaS, ecommerce, and content sites.
How-toHow to Track Conversions Without Google Analytics
A 2026 guide to tracking conversions (signups, purchases, leads) without Google Analytics. Privacy-friendly tools, Stripe integration, and server-side events.
ComparisonsSleek vs Google Analytics (2026): Which Is Better for Modern Teams?
Sleek Analytics vs Google Analytics in 2026: side-by-side on setup speed, dashboard clarity, privacy, pricing, and migration. Honest take on when each tool wins.