What Is a UTM Code?
A simple guide to UTM codes, UTM parameters, and UTM tracking — with real examples you can actually use.
Updated March 2026 · 9 min read
What Is a UTM Code?
A UTM code is a small piece of text that you add to the end of a link. That's it. Nothing fancy, nothing complicated.
Its job is simple: tell you where your website visitors came from. Did they click a link in your email? A post on LinkedIn? A Google ad? A UTM code answers that question so you're not left guessing.
Here's what a regular link looks like:
https://yourwebsite.com/pricing
And here's that same link with a UTM code added:
https://yourwebsite.com/pricing?utm_source=linkedin&utm_medium=social&utm_campaign=spring_promo
Everything after the ? is the UTM code. Both links take you to the exact same page. The visitor sees no difference. But now your analytics tool knows that this person came from LinkedIn, through a social media post, as part of your spring promotion.
Think of it like a name tag on a party invitation. The guest still gets to the party either way — but the name tag tells you which invitation brought them.
What Does UTM Stand For?
UTM stands for Urchin Tracking Module.
The name comes from Urchin Software Corporation, a company that built one of the first popular web analytics tools back in the early 2000s. Google bought Urchin in 2005 and turned it into what we now know as Google Analytics.
The tracking system that Urchin created — those little text tags you add to URLs — stuck around. That's why we still call them UTM codes today, even though Urchin itself hasn't existed for over 20 years.
You'll hear people call them different names — UTM codes, UTM tags, UTM parameters, UTM links, or just UTMs. They all mean the same thing: tracking tags on a URL.
Why Do UTM Codes Matter?
Let's say you're promoting your website in three places: an email newsletter, a LinkedIn post, and a Google ad. A week later, your website got 500 new visitors. Great — but which channel brought them?
Without UTM codes, you'd see something like this in Google Analytics:
That "Direct / (none)" bucket? That's Google's way of saying "I have no idea where these 312 people came from." Your email traffic is probably hiding in there. You can't tell which campaign worked, which didn't, or where to spend your budget next.
With UTM codes, the same report looks like this:
Now you can see exactly what's happening. Your email newsletter drove the most traffic. LinkedIn contributed. Google Ads helped. And only 25 visitors are truly unknown. That's the difference UTM codes make.
In short, UTM tracking helps you:
Know what's working. See which channels and campaigns actually drive visitors, leads, and sales.
Stop wasting money. If LinkedIn ads aren't bringing results but emails are, you know where to shift your budget.
Prove your work. When your boss asks "did that campaign work?" — you have the numbers to show it.
How Does UTM Tracking Work?
UTM tracking is surprisingly simple. There are no scripts to install, no code to write, and nothing to configure on your website. Here's how it works in four steps:
You add UTM tags to your link
Before sharing a link anywhere — an email, a tweet, an ad — you add UTM parameters to the end of the URL. This takes about 10 seconds with a UTM builder tool.
Someone clicks the link
The visitor sees your page as normal. The UTM tags in the URL don't change anything about the page itself — they're invisible to the visitor in terms of experience.
Google Analytics reads the tags
When the page loads, Google Analytics (or whatever analytics tool you use) sees the UTM parameters in the URL and records them. It now knows: this visitor came from LinkedIn, via a social media post, as part of the spring campaign.
You check your reports
Open Google Analytics, go to your traffic or campaign reports, and you'll see all your UTM-tagged traffic organized by source, medium, and campaign. That's it.
No extra setup needed. If you already have Google Analytics on your website, UTM tracking works automatically.
The 5 UTM Parameters Explained
There are five UTM parameters you can add to a link. You don't need to use all five every time — the first three are the important ones. Think of each parameter as answering a specific question about where your traffic came from.
utm_source
Answers: "Where did they come from?"
This is the platform or website that sent the visitor to you. It's the most basic thing you need to know.
Examples: google, facebook, linkedin, newsletter, twitter, partner_blog
utm_medium
Answers: "How did they get here?"
This tells you the type of channel — was it an email, a paid ad, a social media post, or a referral link? It's about the method, not the specific platform.
Examples: email, cpc, social, referral, display, affiliate
utm_campaign
Answers: "Why are they coming?"
This groups traffic by the specific campaign or promotion that brought them. It ties the visit back to a marketing initiative.
Examples: spring_sale, product_launch, black_friday_2026, weekly_newsletter
utm_term
Answers: "What keyword or audience?"
Mostly used for paid search ads. If someone clicked your Google Ad after searching for "crm software", you'd put that keyword here so you know which search terms are actually driving clicks.
Examples: crm_software, free_project_tool, email_marketing_platform
utm_content
Answers: "Which link or version did they click?"
This is great for A/B testing. If you have two buttons in the same email — one at the top and one at the bottom — utm_content lets you see which one people actually clicked.
Examples: hero_button, footer_link, sidebar_banner, blue_cta, version_a
For a deeper dive into each parameter with advanced tips, check out our complete UTM parameters guide.
Real UTM Examples You Can Copy
Theory is great, but examples make things click. Here are real-world UTM codes for the most common marketing scenarios:
📧 Email newsletter link
You're sending a weekly newsletter and want to track how many people click through to your blog.
?utm_source=newsletter&utm_medium=email&utm_campaign=weekly_digest_mar2026
💼 LinkedIn organic post
You're sharing a blog post on LinkedIn and want to see how much traffic it brings compared to other platforms.
?utm_source=linkedin&utm_medium=social&utm_campaign=blog_share&utm_content=march_post
💰 Google Ads (paid search)
You're running a paid search campaign and want to track which keyword brought the click.
?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale&utm_term=crm_software
📱 Instagram bio link
You can't track Instagram bio clicks without UTMs since Instagram doesn't pass referral data reliably.
?utm_source=instagram&utm_medium=social&utm_campaign=bio_link
🖨️ QR code on a flyer
You're printing flyers for an event and want to know if the QR code is actually driving sign-ups.
?utm_source=flyer&utm_medium=qr_code&utm_campaign=summit_2026
🧪 A/B testing two buttons in the same email
Same email, two CTAs. Use utm_content to figure out which button people prefer.
Button at the top:
?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_content=hero_button
Button at the bottom:
?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_content=footer_button
How to Create a UTM Code
You don't need to type UTM codes by hand (and you shouldn't — typos will mess up your data). Use a UTM builder tool instead. Here's how:
Enter your destination URL
This is the page you want people to land on. For example: https://yoursite.com/pricing
Fill in the UTM fields
At minimum, add your source (where the link will be shared), medium (the channel type), and campaign name. Keep everything lowercase and use underscores instead of spaces.
Copy the generated link and use it
The builder combines everything into one link. Copy it and use it wherever you're sharing — your email, your ad, your social post.
Try it yourself: Our free UTM builder generates UTM links instantly with live preview, QR codes, and a copy button. No sign-up needed.
Where to See UTM Data in Google Analytics
Once someone clicks a UTM-tagged link, the data shows up in Google Analytics automatically. Here's where to find it in GA4:
Quick check: Realtime report
Right after clicking your link, go to Reports → Realtime in GA4. You should see your visit appear with the correct source and medium within seconds. This is the fastest way to verify your UTM code is working.
See all campaign traffic: Traffic acquisition
Go to Reports → Acquisition → Traffic acquisition. Change the primary dimension to Session source/medium to see which sources and channels are driving traffic. Add Session campaign as a secondary dimension to see campaign names.
Deep dive: Exploration reports
For more detailed analysis, go to Explore → Blank. Add dimensions like Session source, Session medium, Session campaign, and Session manual ad content (that's utm_content). Add metrics like Sessions, Conversions, and Revenue. This gives you a custom report that shows exactly how each UTM-tagged campaign is performing.
UTM Mistakes to Avoid
UTM codes are simple, but small mistakes can make your data messy and unreliable. Here are the most common ones:
1. Mixing uppercase and lowercase
Google Analytics treats "Facebook" and "facebook" as two different sources. This is the #1 mistake teams make. Pick lowercase for everything and stick to it — always.
2. Using spaces in UTM values
Spaces turn into "%20" in URLs, which looks messy and can break in some email clients. Use underscores (spring_sale) or hyphens (spring-sale) instead.
3. Putting UTMs on links inside your own website
Never add UTM parameters to links between pages on your own site. This creates a new session in analytics and overwrites the original traffic source. A visitor who came from a Google ad would suddenly appear as coming from your own website.
4. Using vague campaign names
"test", "campaign1", or "ad" will be meaningless when you look at your reports next month. Use descriptive names with context: "product_launch_q1_2026" tells you everything at a glance.
5. Forgetting to tag all channels
If you tag your emails but forget to tag your social posts, you'll see great email data but your social traffic will show up as generic referrals. Be consistent — tag every link you share outside your website.
6. Not having a naming convention
When everyone on your team uses different names — one person types "fb", another types "facebook", another types "Facebook" — your data fragments into dozens of rows that should be one. Write down your naming rules and share them with your team.
For the full list of best practices, read our UTM best practices guide.
Frequently Asked Questions
What does UTM stand for?
UTM stands for Urchin Tracking Module. It's named after Urchin Software, the company that created this tracking method before Google bought them and turned their product into Google Analytics.
What does UTM mean in marketing?
In marketing, UTM refers to tracking tags added to links so you can see where your website traffic is coming from. When a marketer says "add UTMs to that link", they mean add tracking parameters like source, medium, and campaign name to the URL.
Is UTM tracking free?
Yes, completely free. Creating UTM codes costs nothing. Google Analytics (which reads UTM data) is free. And UTM builder tools like ours are free to use. You don't need to buy anything to start tracking your campaigns.
Is a UTM the same as a URL?
No. A URL is the web address of a page (like yoursite.com/pricing). A UTM is extra tracking text added to the end of that URL. The UTM doesn't change where the link goes — it just tells analytics tools extra information about who clicked it and why.
Do UTM codes affect SEO?
No. Search engines ignore UTM parameters. They don't change your page content, don't create duplicate content issues (Google is smart enough to handle this), and don't affect your search rankings. UTMs are purely for analytics tracking.
What is a UTM link?
A UTM link is just a regular link with UTM parameters added to it. For example, yoursite.com/pricing?utm_source=linkedin&utm_medium=social is a UTM link. It takes the visitor to your pricing page while telling analytics that they came from LinkedIn.
What does UTM mean on Instagram?
It means the same thing as everywhere else — tracking tags on a link. On Instagram, UTMs are especially important because Instagram doesn't always pass referral data to analytics tools. Adding UTMs to your bio link, story links, or ad links is the only reliable way to track Instagram traffic.
How many UTM parameters should I use?
At minimum, always use three: utm_source, utm_medium, and utm_campaign. These give you the essential information. Add utm_content when you're A/B testing, and utm_term when you're tracking paid search keywords. You don't need all five every time.
Should I enable UTM tracking?
Yes. If you're sharing links anywhere — emails, social media, ads, QR codes — you should be using UTM codes. Without them, you're spending time and money on marketing without knowing what's actually working. There's no downside to enabling UTM tracking.
Keep Learning
Ready to create your first UTM code?
Takes 10 seconds. Free forever. No sign-up needed.
Build Your UTM Link Free