<- Back to blog
How-to9 min readUpdated May 1, 2026

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.

utm campaign trackinghow to set up utm trackingutm parameters guidecampaign tracking analytics

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.
tip:Build a UTM convention spreadsheet with allowed values. New campaigns add a row; existing ones reuse canonical names.

Practical UTM examples

UTM patterns for common scenarios
# 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=partnership

When 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