UTM Campaign Tracking: A Complete Beginner's Guide
UTM parameters are the simplest way to understand which campaigns, posts, and links drive traffic to your site. You do not need a tracking plan or a marketing degree. You need five query parameters and a naming convention.
What UTM parameters are
UTM parameters are query string values you add to links pointing at your site. When a visitor clicks a link with UTM parameters, the values are passed to your analytics tool alongside the pageview.
Instead of seeing "100 visitors came from Twitter," you see "47 visitors came from the tweet about my new feature, 38 from the tweet promoting my article, and 15 from a link in someone else's thread."
UTM parameters turn "traffic from social" into "traffic from this specific piece of content."
The five UTM parameters explained
utm_source — The platform or site that sent the traffic. Examples: newsletter, twitter, linkedin, hackernews, referral-post.
utm_medium — The broad category of the channel. Examples: email, social, cpc, organic, referral.
utm_campaign — The specific campaign or initiative. Examples: april-launch, feature-announcement, weekly-digest.
utm_content — Differentiates between multiple links in the same campaign. Examples: header-cta, footer-link, hero-button. Useful for A/B testing link placement.
utm_term — Originally for paid search keywords. Rarely used for organic content, but available if you need it.
The three parameters you will use most: utm_source, utm_medium, utm_campaign.
Building UTM links
Add the parameters as query string values to any link pointing at your site:
https://yoursite.com/blog/my-post?utm_source=newsletter&utm_medium=email&utm_campaign=april-digest
A link from a social media post:
https://yoursite.com/blog/my-post?utm_source=twitter&utm_medium=social&utm_campaign=post-launch
A link from a Hacker News submission:
https://yoursite.com?utm_source=hackernews&utm_medium=social&utm_campaign=show-hn
Use a URL builder to avoid typos — any spreadsheet or simple web tool that concatenates query strings works.
Viewing UTM data in your dashboard
Antlytics reads UTM parameters from the page URL automatically. No configuration needed. The parameters are captured with each pageview.
In your dashboard, the Campaigns breakdown shows traffic by:
utm_source— which platforms sent trafficutm_medium— which channel types drove visitsutm_campaign— which specific campaigns performed
You do not need to set anything up. Add UTM parameters to your links, and the data appears in your dashboard automatically.
For full documentation, see the UTM campaigns guide.
Best practices for UTM naming
Use consistent, lowercase naming. Twitter and twitter are treated as two different sources. Stick to lowercase, hyphen-separated values.
Be specific in utm_campaign. newsletter is too vague if you send multiple newsletters. 2026-04-weekly or april-feature-launch gives you something actionable.
Do not add UTMs to internal links. UTMs are for external links pointing at your site. Adding them to links within your site overwrites the original referrer data.
Document your naming convention. If you have a team or work with clients, agree on naming conventions before you start. Inconsistent UTM names make the data hard to analyse.
Common mistakes
Typos in parameter names — utm_soruce instead of utm_source means the data is lost. Double-check parameter names.
UTMs on internal links — If you add UTM parameters to links on your own site, you overwrite the original referrer and make it look like every internal click came from a campaign.
Case inconsistency — Newsletter and newsletter are different values. Always use lowercase.
Not using UTMs for launches — Launch day is when UTM data is most valuable. Tag every link in your announcement post, your social posts, and your Product Hunt listing.
UTM tracking without cookies
UTM parameters work the same way with cookieless analytics. The tracker reads the parameters from the current page URL on load and includes them in the pageview payload. No cookies involved.
This means your UTM campaign data is accurate regardless of whether visitors accept or decline a consent banner — there is no consent banner for Antlytics tracking in most configurations.
FAQ
Do I need to configure anything in Antlytics for UTM tracking? No. Antlytics reads UTM parameters automatically. Just add them to your external links.
What if I forget to add UTMs?
Traffic without UTM parameters appears in the referrer breakdown under the referring domain (for example, twitter.com) but without campaign-level detail. You lose the campaign attribution but not the referrer attribution.
Can I use UTMs in email newsletters? Yes. Add UTM parameters to any link in your newsletter. Most email marketing tools have UTM fields in their link builder.
How do I track multiple versions of the same link?
Use utm_content to differentiate them. For example: utm_content=header-link and utm_content=footer-link.
Are UTM parameters visible to visitors? Yes — they appear in the URL in the browser address bar. Some people prefer cleaner URLs. If this matters, use a URL shortener on the UTM-tagged URL.
Does UTM tracking affect my pageview count? No. UTM parameters are additional metadata sent with the pageview. They do not change how pageviews are counted.
Related: UTM campaigns docs · Conversion goals without cookies · Dashboard overview