The Five UTM Parameters
A UTM tag is just a `key=value` pair in the link's query string. There are five, and three of them are the ones you'll use constantly.
| Parameter | What it answers | Example value |
|---|---|---|
| utm_source | Where the traffic is from | newsletter, facebook, google |
| utm_medium | The marketing channel type | email, cpc, social |
| utm_campaign | Which campaign or promotion | spring_sale, launch |
| utm_term | The paid keyword (optional) | running_shoes |
| utm_content | Which specific link or ad (optional) | header_button, blue_cta |
The three core parameters that should be included in every tag are Source, Medium and Campaign. Term and Content are optional and are mostly used with paid search campaigns and link A/B testing respectively.
utm_source
This is the specific place the click came from. A site, a publication, a newsletter name. Think "facebook," "mailchimp," "partner_blog." It's the most granular of the three needed tags.
utm_medium
This is one level up from the source level. Instances include "email," "social," "cpc" for clicked ads, "organic," and "referral." Keep this short and standard. Medium is how your analytics groups the big traffic categories.
utm_campaign
This attribute allows you to connect a specific link to a campaign, allowing you to measure performance across different channels. Use "black_friday_2024," or "product_launch," or "webinar_may."
Naming Conventions That Survive
Different capitalizations of tag names make reports a complete mess. Create order to avoid wasting time later on cleaning up reports. Always use lower case.
A few rules keep it clean. Always use lowercase. UTM values are case-sensitive, so "Email" and "email" become two separate rows in your report. Pick one and stick to it. Lowercase is the safe default.
Use a single space to separate words. Spaces in URLs are encoded as “%20,” which can be hard to read and are hard to work with. Use “spring_sale.”
Keep a master list. Write down your approved values for source and medium. Make everyone on the team use them. This single document prevents 90 percent of UTM chaos. Store it in a shared doc and link it wherever you build tagged links.
Be steady. Don’t try to be clever with your tag names. The idea is to use names you will be able to read and grasp when looking back at old tags.
A Worked Example
Let’s tag a real link. Let’s say you’re creating a newsletter with a button to a sale. You want to track how many times the button is clicked.
Start with your landing page URL:
https://example.com/sale Now add the UTM parameters. The first one starts with a `?`, and the rest are joined with `&`:
https://example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_content=main_button Read it left to right. The source is the newsletter, the medium is the email. The campaign is spring_sale. The content is the main button. So, if there is another link in the email with the same naming convention, you can tell them apart. If someone clicks the button, the four values would be sent to your analytics to help measure the performance of that newsletter.
Don’t type these out. One little mistake and your data is unreadable and broken. Use a URL builder instead. A URL builder is one of the tools we’ll cover next.
How UTM Parameters Show Up in GA4
Google Analytics 4 reads UTM tags and stores the data. They change the names to something confusing. Here’s what they mean.
| UTM parameter | GA4 dimension |
|---|---|
| utm_source | Session source |
| utm_medium | Session medium |
| utm_campaign | Session campaign |
| utm_content | Session manual ad content |
| utm_term | Session manual term |
To view tagged traffic in GA4 go to Reports > Acquisition > Traffic acquisition. Here you can add Session source or Session campaign as the primary dimension to view your campaigns. In GA4, channel groupings are built using a combination of source and medium. To compare channels you would have to look at Source/Medium.
One thing to note is that GA4 attributions are based on sessions. You may see slightly different numbers from what is reported in your email tool click counts. It’s totally normal to see differences.
A Real-World Example
Let’s say you manage a small online shop and you post the same product link in three different places. in your Instagram bio, in your weekly newsletter email and in a paid ad on Google. Without UTMs, these clicks would be lumped together and you wouldn't be able to differentiate which ad campaign is producing results.
Tag each of the following. The Instagram link contains utm_source=instagram&utm_medium=social. The email link contains utm_source=newsletter&utm_medium=email. The ad contains utm_source=google&utm_medium=cpc. Use utm_campaign=summer_drop for all three.
About a week later GA4 shows you the truth: email drove 60% of sales, Instagram 30% and the ad 10% despite being the most costly. Knowing this you can allocate your next marketing dollar where it’s most good. Before UTMs this would be a complete guess.
Build Your Tagged Links Safely
Never build UTM links by hand in production. A URL builder keeps the format correct and your values steady. Google's own [Campaign URL Builder](here is the standard free tool. For the official definitions, [Google's documentation on custom campaigns](here is the authoritative reference. If you need to inspect or clean up a messy link, the free [Denwix tools](here can help you read a URL's parts.
The Bottom Line
Use UTM parameters to track where your visitors come from. Use a URL builder to create links for marketing campaigns and implement UTM parameters for source, medium and campaign. Keep the values lower case, use steady values for each. Read the results in GA4’s Acquisition report. Within a week you’ll know what’s good for your marketing efforts.
Questions and Answers
What are UTM parameters?
UTM parameters allow you to track and measure campaign visits. Five UTM parameters exist: source, medium, campaign, term and content.
What are the five UTM parameters?
They are utm_source, utm_medium, utm_campaign, utm_term and utm_content. Source and medium are essential for good tracking, term and content are optional.
What is the difference between utm_source and utm_medium?
An instance of each is as follows: utm_source could be “newsletter” or “facebook”. utm_medium could be “email” or “social”. Source describes the specific location with respect to the medium.
Are UTM parameters case-sensitive?
Yes. Search engines count “Email” and “email” as different values and thus split your data. To keep your data reports clean and steady always use lower case.
Do UTM parameters affect SEO?
Not negatively, as long as they are implemented correctly. From an SEO standpoint, they don’t affect rankings negatively. You should use canonical tags on tagged URLs to prevent search engines from treating them as duplicate pages.
How do I add UTM parameters to a URL?
Append a question mark to the end of the URL you wish to track and add utm parameters using “&” to separate each key:value pair. For instance: “?utm_source=newsletter&utm_medium=email&utm_campaign=sale”. Use a URL builder to avoid mistakes.
What is utm_campaign used for?
Campaigns can be very long and complex and include many different marketing channels and efforts. Using UTMs allows you to measure the performance of those efforts.
What is the difference between utm_term and utm_content?
utm_term shows the keyword used in a search campaign. utm_content is used to differentiate links within the same page, for instance, a header versus footer link.
How do UTM parameters show in GA4?
In GA4, these are called dimensions and include Session source, Session medium and Session campaign, among others. To view these go to Reports, Acquisition, Traffic Acquisition.
Why is consistency important with UTMs?
From a data review standpoint this creates inconsistency and splits data unnecessarily. To avoid this, create and maintain a master list of approved values.
Should I use spaces in UTM values?
No. Spaces become `%20` in the URL and look broken. Use underscores instead, like "spring_sale," to keep values readable and reliable.
Do UTM parameters work on social media?
Yes. Use them on any link you post on social with utm_medium=social to tell your analytics what site the link was posted on.
Can I use UTM parameters for internal links?
No. If you’re tagging links on your site, you could be altering the original source of a click and disrupting your attribution. Properly implement UTMs only on off-site links.
What is a UTM builder?
A tool to create UTM links is to input your URL and values and it makes the full UTM link for you. The Campaign URL Builder by Google is one option.
How do I track email clicks with UTMs?
For email, include utm_source with the name of your email account, utm_medium of email. A name of your choosing for the campaign. Repeating this for each link allows you to see in your analytics how many people clicked and converted from that email.
Do UTM parameters slow down my page?
No. Those are just labels in the URL. From a load speed perspective they don’t impact anything. They’re in short just labels that get passed to the analytics service.
Why does my GA4 data differ from my email tool?
Email click tracking and click tracking in GA4 are different things. Email click tracking tools count clicks, GA4 counts sessions and assigns attribution to them.
How long can a UTM-tagged URL be?
Browsers display long URLs, but for the purpose of ease and convenience, they are truncated. Short and simple UTM parameters are easier to handle and manage.
Can I shorten a UTM URL?
Yes. A link shortener can transform a long tagged URL into a more compact link. UTM values are preserved and sent to analytics with each click.
Do I need all five UTM parameters?
No. Mostly, for most tracking needs, source and medium would suffice. Term and content should be added only when comparing different links for paid search campaigns.
Can I use UTM parameters on a QR code?
Yes. By encoding a tagged URL in a QR code, users scanning the code will also pass the UTM parameters to your analytics. You can then track offline marketing efforts like posters and flyers.
Do UTM parameters work with link shorteners?
Yes. A URL shortener can be used to shorten a long, tagged URL. UTM parameters are forwarded to analytics when the shortened URL is clicked.
What happens if I forget a UTM parameter?
The missing dimension is reported as "not set". The three core parameters are source, medium and campaign. These should be included in every URL that you wish to track.
Should I tag my own internal links with UTMs?
No. Tracking UTM parameters on internal links will overwrite the original source of the visit and so corrupt your analytics.
How do I keep my UTM values consistent?
Create a shared document with source and medium parameters. Embed links from there. This can also prevent people from using different words to describe the same source.
Can UTM parameters track conversions?
Indirectly. You can view which campaigns resulted in user sign ups and purchases by setting up goals in analytics.
Do UTM parameters expire?
No. They're just text in the URL and work whenever the link is clicked. The data stays in your analytics according to its own retention settings, not the link's.
Will UTMs show up in my page URL for visitors?
Yes. Parameters appear in the address bar after the user has clicked the link. In some configurations, a script removes the parameters from the address after analytics records them.