UTM parameters: What they are, how to use them, and best practices
Outline
Subscribe
Marketers who can accurately attribute revenue and traffic to specific campaigns, content, or channels are more likely to reach and exceed their macro goals for a few reasons:
Accurate attribution helps inform strategy — when you know what performs, you know where to amp up
Proving ROI helps unlock additional marketing budget and resources
With a marketing attribution model that goes beyond last-click, marketers can prove the value of upper-funnel and middle-funnel activities
UTM parameters are an essential part of tracking attribution — and the more you understand how they work and how to get the most out of them, the better you'll be able to ensure accuracy.
In this article, we share what UTM parameters are, why they're important, how they work, and best practices for use. Plus, don't miss our customizable UTM parameter bulilder template!
UTM stands for Urchin Tracking Module. UTM parameters (also called UTM codes or tags) are snippets of text you can add to the end of a URL.
These snippets help you track where website traffic comes from. So if a user clicks on a URL from Facebook and lands on your landing page, you’ll be able to determine the source of the click.
Aside from identifying the source of a click, adding UTM parameters to your URLs will enable you to answer questions such as: Which advertising platform brought in the most website traffic? Or, more specifically: Which call-to-action in our social activity generated the most revenue?
Ultimately, UTM parameters add an important layer of understanding and visibility to your marketing efforts. The screenshot below shows how Ortto users can break down UTM links by campaign source.
Every business dedicates resources to producing campaigns and content to generate new business. Among all the LinkedIn posts, blog articles, and PPC ads, some assets or channels are likely contributing an outsized chunk to your bottom line, and others are not delivering what they need to.
Using UTM parameters to discover your highest-performing content or campaigns can help you allocate your marketing budget more effectively, focusing on the content formats, topics, and channels that drive more traffic and, most importantly, more leads or revenue.
Discovering your highest-performing channels isn’t as easy as slapping a UTM parameter on the end of a URL. You need to have a general understanding of naming conventions and combination techniques to ensure accuracy in the data.
There are five types of UTM parameters you can add to your content to help you track traffic. Each one has its own job to do, and the more you use, the more your analytics platform will be able to show you:
This tag identifies the source of your traffic (e.g. Facebook, search engine, etc.). For example, if the user arrived to your website by clicking through a Google search engine result, the tag would read:
utm_source=google
This UTM code specifies the medium, like CPC or newsletter, for example. If your source is Facebook, you might use the label “social” to indicate the traffic came from social media. Below is what the tag would look like in this instance:
utm_medium=social
This parameter indicates the campaign that the URL is part of. This might be an identifier like a tagline – e.g. “launch02015” or “website-redesign.” Example:
utm_campaign=website-redesign
This is where things get granular. If you have, for example, two different calls to action in one piece of content, you can use this tag to tell your analytics tool which one is more effective. Here’s an example from a Glassdoor email with several CTAs.
Click the first green button and you’ll be redirected to a page with this URL:
utm_content=salary-alert-1-viewcompany-national
Click on the second green button and you’ll be directed to a page with this URL:
utm_content=salary-alert-1-allsalaries
These URLs are part of the same campaign and come from the same source and medium, but the piece of content is different. The UTM parameter “utm_content” indicates this difference.
This UTM parameter is important for identifying the keywords that drive clicks via a paid search campaign. Here’s an example from scheduling tool Calendly.
The “utm_term” tag here shows that “calendar scheduling tool” was the key phrase responsible for generating this click.
In short, UTM paramters should be used on just about all of your digital marketing. The more visibility and data you have, the better you can draw insights about channel and campaign performance. Here are some of the most common examples.
UTM parameters help you identify which social media posts or ads drive the most traffic to your website. You can measure clicks and conversions, and see which posts resonate most with your audience. This data helps you fine-tune your social media strategy and allocate resources where they matter most. For example, if you're sharing a link to a new product on Facebook, you could add UTM parameters like this:
URL: https://www.example.com/blog-post
UTM Source: linkedin
UTM Medium: social
UTM Campaign: industry-insights
Adding UTM parameters to the links in your emails gives you the ability to track who's clicking on your links, which emails are performing well, which links within your emails are being clicked most frequently, and whether they're leading to desired actions (like purchases or sign-ups). For instance, if you're sending out a newsletter, you could use UTM parameters like this:
URL: https://www.example.com/demo-request
UTM Source: email
UTM Medium: newsletter
UTM Campaign: product-demo
By tagging your PPC ad URLs with UTM parameters, you can differentiate between various ad creatives, keywords, and campaigns. This granular data helps you optimize your ad spend by allocating resources to high-performing ads and keywords while eliminating wasteful spending on underperforming ones. For example, if you're running ads for a winter clothing sale on Google Ads, your UTM parameters might look like this:
URL: https://www.example.com/software-solution
UTM Source: google
UTM Medium: cpc
UTM Campaign: B2B-software-promo
UTM parameters allow you to track the effectiveness of content partnerships and syndication efforts. For example, if you have a guest post on another business's website, you could use UTM parameters like this:
URL: https://www.example.com/guest-post
UTM Source: partner-website
UTM Medium: content-syndication
UTM Campaign: industry-expertise
UTM parameters help you understand which local listings or efforts are the most effective. For example, if you have a Google Business Profile listing, you could use UTM parameters like this:
URL: https://www.example.com/local-offers
UTM Source: google-my-business
UTM Medium: organic
UTM Campaign: local-listing
With UTM parameters on influencer or affiliate posts, you can measure the traffic, conversions, and revenue generated from individual creators or publications to measure impact. For example, if an industry influencer shares a link to an eBook on their social platforms, you could add UTM parameters like this:
URL: https://www.example.com/ebook-download
UTM Source: influencer
UTM Medium: social
UTM Campaign: industry-expert-promo
Inconsistent parameters lead to incorrect, incomplete, or hard-to-interpret data, so it is crucial to set up naming conventions, monitor them, and stick to them. Here are a few guidelines to help you do it right.
Remember, the point of UTM parameters is to track your data and sort it into an easily digestible report. If you tag your URLs with ambiguous terms or number sequences like 1A, IB, 1C, you’ll have a hard time interpreting those later on.
Instead, be descriptive with recognizable and clear terms that anyone interpreting the data can understand,
Every UTM parameter should tell you something different about your visitors, so a good UTM parameter reads more like a sentence than a keyword. Example below:
?utm_source=linkedin&utm_medium=paid-social&utm_campaign=product-launch&utm_content=blog
Each parameter answers a question:
What campaign is this? Product launch
Where was the URL clicked (i.e. source)? URL was on LinkedIn
Where/how was the URL displayed (i.e. medium)? Paid social
Where do we send the user? Blog post
The UTM tagged URL tells a story and can inform future marketing strategy.
If your UTM parameters contain spaces, they will default to percentage signs in the URL, which leads to complications in tracking and inconsistencies in your campaign results.
Either dashes or underscores are acceptable alternatives, but whatever you choose, just be consistent! If one year you track a LinkedIn campaign and name it “google_eofy_campaign_2024” and the next year it’s named “google-eofy-campaign-2025”, historical comparisons will be much harder.
You don’t have to use every parameter just because it’s available to you. If you’re going to tag your URLs, you’re required to include “utm_source” but all the others are optional.
Unless you’re running a paid search ad, it’s best not to use the “utm_term” tag. In this case, it doesn’t tell us anything else about the traffic coming through this email that the “utm_campaign” parameter doesn’t.
Once you start using UTM parameters, you’ll want to use them everywhere. But don’t get tag-happy, especially on internal links. Here’s why:
Let’s say you published a new blog post and shared it on Twitter. One of your followers clicks on the link and arrives at www.yoursite.com/blog/post. When they are done reading, they want to go to your home page. They click on a link that takes them to http://www.yoursite.com/?utm_source=blog. You just lost the information that the user came from Twitter. Your analytics report will say that the visitor came from blog and not from Twitter.
Only use UTM parameters with outbound content – the social posts, emails, and paid search ads you push out to the masses. Otherwise, the tracker in your analytics software will completely reset when a visitor clicks on a tagged internal link, and you’ll get a completely false report of where your traffic is coming from.
If the utm_source for an email is “Webinar” but the parameters used are “utm_source=webinar” and “utm_source=Webinar”, the tags will be registered as unique tags in Google Analytics.
Furthermore, if you’re tagging every other link using a capital “W” you’ll notice in your reports that half your traffic is coming from the source “Webinar” and the other half is coming from “webinar”.
To avoid confusion, stick to using lowercase letters in all tags.
It's a good idea to test your links before you set them out into the world, especially for larger campaigns. The easiest way to do this is to click on it and review the URL in your browser's address bar to verify that the UTM parameters are present.
Then, you can check in GA4 or your reports in Ortto to ensure your UTMs are appearing correctly, and attributing to any conversions or goals you set.
Most marketing automation platforms, including Ortto, automatically put UTMs in URLs across your email and SMS marketing. For campaigns across channels like social or partner programs, you will need a way to generate UTMs that fall in line with your the naming conventions you've laid out. Here are two tools that will help:
One of the simplest ways to generate and keep track of UTMs is with a sharable spreadsheet.
To help you out, we've built a UTM builder template that can be copied for your use. On the first tab, you'll see naming conventions and examples of the different parameter types for your reference. Use the second tab to build out your UTMs with platforms, urls, and campaign types. We've provided an example to get you started.
The Campaign URL Builder from Google is a nifty tool you can simply plug in all the details of your campaign without worrying about stringing a coherent UTM parameter:
Once you’re through, the builder will spit out your full URL, complete with UTM codes:
From there you can simply click the “Copy URL” button (and even “Convert URL to Short Link” before that to shorten your long URL), and plug it into whatever tool you’re using to promote your URL.
UTM parameters are an incredibly simple way to generate more data around your marketing campaigns and channels, allowing you to generate insights, prove ROI, and make more data-driven decisions.
Marketing strategy
Churn busters: How to monitor and reduce customer churn
Marketing strategy
Better together: Top SaaS communities for networking and inspiration
Product-led growth
Customer acquisition: How to build a winning strategy
Build a better journey.
Product
Pricing
Features
About
Resources