UTM parameters: what a UTM code is and how to use one
What each UTM parameter means, real examples for email, Instagram, ads and QR codes, naming rules that keep reports clean, and mistakes to avoid.
A UTM code is a set of tags added to the end of a link so your analytics can tell where a visit came from. Without them, a click from your newsletter and a click from a text message can look the same in your reports. With them, each visit arrives labeled with its source, its channel and the campaign it belongs to.
This guide covers the five UTM parameters, examples you can copy, how to name things so your reports stay readable, and how to keep a tagged link short enough to share.
What a UTM code looks like
Here is a plain link:
https://example.com/summer-menu
And the same link with UTM parameters:
https://example.com/summer-menu?utm_source=newsletter&utm_medium=email&utm_campaign=summer_menu
Everything after the ? is a tag. Each tag is a name and a value joined by =, and the tags are joined to each other by &. The page itself does not change. Your analytics tool reads the tags when the visit arrives and files the visit under them.
The five UTM parameters
| Parameter | What it answers | Example value |
|---|---|---|
utm_source |
Where did the click come from? | newsletter, instagram, google |
utm_medium |
What kind of channel was it? | email, social, cpc, print |
utm_campaign |
Which promotion was it part of? | summer_menu, black_friday |
utm_term |
Which paid keyword? | running_shoes |
utm_content |
Which link or version of the ad? | top_button, video_ad |
utm_source
The site, app or publication that sent the visit. Use the name of the place: instagram, facebook, newsletter, partner_blog. If you only tag one thing, tag this.
utm_medium
The type of channel. Several sources can share a medium: Instagram and LinkedIn are both social, and Google Ads and Microsoft Ads are both cpc (cost per click). Google Analytics uses the medium, along with the source, to sort visits into channel groups such as Email, Organic Social and Paid Search. Common values like email, social and cpc land in the group you expect. An invented medium such as newsletter_blast may end up as Unassigned.
utm_campaign
The name of the promotion, launch or season. Every link that belongs to the same push should share it, whatever the source. That way you can see one campaign's results across email, social and print in a single row.
utm_term
Meant for paid search, to record the keyword that triggered the ad. Most people can leave it empty.
utm_content
Tells apart two links that would otherwise carry identical tags. Two buttons in the same email, two versions of an ad, or two posters in different places are the usual cases.
Source, medium and campaign are the three to fill in every time. Term and content are optional.
Examples for common channels
| Where the link goes | utm_source | utm_medium | utm_campaign | utm_content |
|---|---|---|---|---|
| Monthly email newsletter | newsletter |
email |
june_update |
header_button |
| Instagram bio | instagram |
social |
spring_launch |
bio |
| Instagram story | instagram |
social |
spring_launch |
story |
| Google Ads | google |
cpc |
spring_launch |
text_ad_a |
| Facebook or Instagram ads | facebook |
paid_social |
spring_launch |
carousel |
| QR code on a poster | qr |
print |
spring_launch |
poster_main_street |
| YouTube video description | youtube |
video |
spring_launch |
description |
A full link for the poster would read:
https://example.com/spring?utm_source=qr&utm_medium=print&utm_campaign=spring_launch&utm_content=poster_main_street
A note on Google Ads: if auto-tagging is on in your Google Ads account, Google Analytics already knows which campaign and keyword a click came from. Manual UTM tags matter most for other ad networks and for everything that is not an ad.
The UTM builder has these channels as presets. Pick one, type the campaign name and copy the link.
Naming conventions that keep reports clean
UTM values are case sensitive in most analytics tools. Instagram, instagram and IG show up as three different sources, and your Instagram traffic gets split across three rows. A few rules prevent that:
- Use lowercase only. It removes the most common cause of split rows.
- Use underscores or hyphens instead of spaces. A space becomes
%20or+in the address, which is hard to read and easy to mistype. Pick one separator and keep it. - Write down your values and reuse them. A short shared list (source names, mediums, campaign names) stops each person on a team from inventing their own.
- Name campaigns so they sort well. Putting the year or season in the same place each time, such as
2026_spring_launch, keeps related campaigns together in a report.
The UTM builder has a "Use lowercase and underscores" switch that does the first two for you.
If you tag links often, a siz.la account lets you save a set of parameters once and add it to any short link from the link editor. The values fill in for you, and you can change them for that one link.
Common mistakes
Tagging links on your own site
UTM tags are for links that bring people in from somewhere else. A tagged link from your homepage to your pricing page tells Analytics the visit came from that "campaign", and the real source, such as the search or email that brought the person in, gets lost.
Mixing up source and medium
utm_source=email and utm_medium=newsletter is backwards. The source is the specific place; the medium is the kind of channel. Swapping them puts your visits in the wrong channel group.
Leaving out the medium
A link with only utm_source still works, but the visit may not land in any channel group. Fill in source, medium and campaign together.
Putting tags after a #
Anything after # in an address is not sent to the server and is not read as a UTM tag by most tools. The tags go before the #: example.com/page?utm_source=x#section.
Adding personal data
Do not put names, email addresses or phone numbers in UTM values. They show up in reports anyone on the account can see, and Google's terms for Analytics do not allow personal information to be sent to it.
Redirects that drop the tags
Some redirects strip everything after the ?. Click your finished link once and check that the address you land on still has the tags.
How to see the results
In Google Analytics
In Google Analytics 4, open Reports, then Acquisition, then Traffic acquisition. The table shows visits by channel group at first. Change the dimension above the first column to Session campaign, Session source / medium or Session manual ad content to see your UTM values. You can add a second dimension to see, for example, each campaign broken down by source.
In siz.la
When you shorten a tagged link with siz.la, the short link has its own stats: clicks by day, unique and returning visitors, QR code scans counted apart from clicks, and breakdowns by country, city, language, referring site, browser, device and operating system. These numbers come from the short link itself, so they work even for visits your analytics misses, such as people who leave before the page loads.
Analytics tells you what people did after they arrived. The short link's stats tell you how many tapped or scanned in the first place. Looking at both shows where people drop off.
Shortening long UTM links
A tagged address often runs past 100 characters. That is a problem in several places:
- Bios and posts: long links look like spam and get cut off.
- Print and QR codes: a long address makes a denser QR code that has to be printed larger. A short link keeps the code simple. The QR code size guide explains why.
The fix is to build the tagged link, then shorten it. The short link sends people to the full address with every tag intact. In the UTM builder, the "Shorten this link" button takes the finished link straight to the link shortener.
Make a separate short link for each place you share it, each with its own utm_source or utm_content. Then both your analytics and your siz.la stats show which placement did the work.
FAQ
What is a UTM code?
A UTM code is a set of tags added to the end of a web address, such as ?utm_source=newsletter&utm_medium=email. Analytics tools read the tags to record where each visit came from. The page the link opens does not change.
Do UTM parameters affect SEO?
No. Search engines do not rank a page higher or lower because of UTM tags on links pointing to it. If your pages set a canonical address, tagged versions are treated as the same page. Do not use tagged links for internal links on your own site.
Which UTM parameters are required?
None are required for the link to work. For useful reports, always fill in utm_source, utm_medium and utm_campaign. Use utm_content to tell apart two links in the same place, and utm_term for paid keywords.
Are UTM parameters case sensitive?
Yes, in Google Analytics and most other tools. Facebook and facebook are counted as two separate sources. Use lowercase for every value.
Can I add UTM tags to a short link?
Yes. Build the tagged address first, then shorten it. The short link keeps the tags and passes them on when someone clicks or scans.