UTM tracking explained: what the parameters mean and how to use them
You post a link on Reddit, put another in your newsletter, and a friend shares a third in a group chat. A day later your analytics shows a bump of "direct" traffic and you can't tell which one worked. UTM parameters fix that, and they take about a minute to learn.
What a UTM parameter is
A UTM parameter is a short tag added to the end of a link. When someone clicks, your analytics reads the tag and records where the visit came from. The name comes from "Urchin Tracking Module", an early analytics product, and the tags work in almost every analytics tool.
https://example.com/pricing?utm_source=reddit&utm_medium=social&utm_campaign=launch-week
The five parameters
utm_source: where the link lives, such asreddit,newsletterorhacker-news.utm_medium: the kind of channel, such associal,emailorcpc(paid clicks).utm_campaign: the specific effort, such aslaunch-weekoroctober-newsletter.utm_term: the keyword, mainly for paid search.utm_content: which version of a link was clicked, useful when one email has two buttons.
Most people only ever need the first three. Add the other two when you are comparing variants.
A naming scheme that stays tidy
- Lowercase everything. Many tools treat
Redditandredditas two different sources, and your numbers split in half. - Use hyphens, not spaces.
launch-week, notLaunch Week. - Keep a short list of mediums and reuse it:
social,email,cpc,referral. - One campaign name per thing you publish. Two Reddit posts under the same campaign can't be compared with each other.
Five mistakes that quietly ruin attribution
- Tagging links inside your own site. In most tools an internal link with a UTM tag starts a new visit and overwrites the real source. Use UTMs only on links that point to your site from somewhere else.
- Inconsistent spelling.
twitter,xandTwitterare three sources unless you decide on one. - Forgetting to write down what you made. A month later nobody remembers what
test2was. - Reusing one campaign for everything. You get a total but no comparison.
- Never checking the result. The point is the follow-up: which post brought visitors, and did they do anything?
Doing this without a spreadsheet
The usual way to keep UTM links organised is a spreadsheet nobody updates. In measuremy.site you create the link on the Campaigns tab, or ask your coding agent to do it. The link is lowercased and tidied for you, and the campaign is logged so later traffic and signups are credited to it. You can then click the source on the dashboard to see only that traffic, or ask your agent "how did the Reddit post do?".
New to the setup? The Claude Code setup guide takes two minutes, and funnel analysis is the natural next step once you know where visitors come from.
See it on your own site
measuremy.site is cookieless analytics your coding agent can read. 30-day free trial, no card. Plans from $9/month.
Start free trial See the live demoAdd measuremy.site analytics to this project: connect the measuremy.site MCP server at https://a.measuremy.site/mcp for all my projects (claude mcp add --scope user; it signs in with OAuth, no key, and one sign-in covers every site), then tell me how to sign in. Details: measuremy.site/llms.txt
Free tools
- Free UTM link builder: Add utm_source, medium and campaign to any link.
- UTM link checker: Find broken UTM tags and see which GA4 channel a link lands in.
- Link shortener with click tracking: Short links with a click count by day and country.
More from the blog
- How to calculate your website conversion rate, and what to compare it to
- Is my A/B test result significant? A plain-English guide with a worked example
- What is bounce rate, how is it calculated, and is yours a problem?
- How to add a visitor counter to your website or GitHub README
- How much traffic does a website get? How to estimate any site's visits
- How to track QR code scans: count them, and see which poster worked
- How to see how many people clicked your link (without a paid shortener)
- How to check if your Google Analytics 4 tag is installed (and only counting once)
- Why GA4 shows your campaign traffic as Unassigned (and how to fix the links)
- Does your redirect keep your UTM tags? How to check before a campaign goes out
- How I built a self-hosted analytics MCP server on Cloudflare Workers and D1
- Conversion funnel analysis for small sites: a practical guide
- Sudden drop in website traffic? A checklist for finding the cause
- What is an MCP server? A plain-English guide for people who run websites
- Website Data Analytics for Owners: A Practical Guide
- Vanity Metrics vs Useful Metrics: What to Track
- How to Compare Cookieless Website Tracking Tools
- Why Your Analytics Numbers Differ Between Tools
- When GA4 Is Too Much for a Small Website
- How to keep historical data when switching analytics tools
- How to give an AI agent read-only access to your analytics
- Why developers are connecting agents to production data
- How to recover from a sudden traffic drop
- Website analytics for indie hackers: what to watch and what to ignore
- Direct Traffic Explained: Why So Much Is Unknown
- Why a high bounce rate is not always bad
- High bounce rate: 8 causes and practical fixes
- How to Set Up Traffic Alerts for Sudden Drops
- How to Track Traffic From a Podcast
- How to measure the return on a paid ad campaign
- How to use analytics to decide what to write next
- How the Model Context Protocol Works
- Track File Downloads Without Guesswork
- Adding analytics to a Next.js app without slowing it down
- Core Web Vitals and Traffic: Is There a Link?
- Analytics After Cookies: What Actually Changes
- GDPR and website analytics: a practical guide for small sites
- How to Compare Website Analytics Tools by Privacy
- GA4 Events Explained for Beginners
- How to measure a newsletter send with UTM links
- How to track Hacker News traffic
- Adding Analytics to a Framer Site
- How to ask your coding agent about your analytics
- What Is Bounce Rate and How Is It Calculated?
- A practical website analytics retention policy
- Map your site's funnel from first visit to signup
- What Is a Good Bounce Rate?
- How to automate a weekly traffic report
- A Practical Privacy-Friendly Analytics Checklist
- Adding an MCP server to Claude Code
- How long should you keep analytics data?
- How to Build a Small MCP Server That Actually Helps
- How to Find the Biggest Drop Off in a Funnel
- What Is the Urchin Tracking Module?
- What Microsoft MCP servers actually do
- UTM parameters for email newsletters
- Track Button Clicks Without Google Tag Manager
- How to track the results of a social media post without cookies
- How to track traffic from a GitHub README
- How to measure a product launch without guessing