On this page
What are UTM parameters?
UTM parameters are key–value pairs added to the end of a link. When a visitor clicks the link, your analytics reads the values from the address and records the visit based on them.
Without UTM parameters, Google Analytics 4 has to guess the source from what the browser says about the previous page. Often it says nothing: email clients, mobile apps and PDF files do not pass this information on, and the traffic shows up in the Direct channel. And without tags, a paid social ad looks like an ordinary social post.
UTM parameters do not change the page itself. The visitor sees the same page, and the parameters are only there for analytics.
The five parameters
Source and medium are required, because GA4 works out the channel from them. Always add a campaign too, or you cannot tell your campaigns apart. Content and term are optional.
| Parameter | Tells | Example |
|---|---|---|
utm_source |
Which platform or service the visitor came from | facebook |
utm_medium |
How the traffic was acquired. Decides the channel. | paid-social |
utm_campaign |
Which campaign the click belonged to | spring_sale_2026 |
utm_content |
Which ad version or link was clicked | video_a |
utm_term |
Search term or target audience | running_shoes |
GA4 also knows a few less common parameters, such as utm_id (a campaign ID you can use to import campaign data into GA4). Most teams do not need them.
How GA4 decides the channel
GA4 sorts every visit into a channel of the default channel group, such as Paid Social, Email or Organic Search. It goes through its rules in order and picks the first one that matches.
The deciding value is usually utm_medium. For social, search and video, it also matters whether utm_source is on GA4's list of known sources. That is why the spelling of the source matters: facebook is on the list, meta is not.
The source is a social network and the medium is paid.
The channel rules ignore letter case, but the reports do not. Facebook and facebook land in the same channel, but in the source report they are two separate rows.
Ready-made values for common channels
With these values, traffic lands in the right GA4 channel. You can write the source your own way when the medium alone decides the channel (for example Email and Display).
| Where the traffic comes from | utm_source | utm_medium | GA4 channel |
|---|---|---|---|
| Facebook or Instagram ad | facebook or instagram |
paid-social |
Paid Social |
| LinkedIn ad | linkedin |
paid-social |
Paid Social |
| Your own social post | facebook, linkedin … |
social |
Organic Social |
| Newsletter | newsletter |
email |
|
| Banner ad | publisher name | display |
Display |
| Partner website | partner name | referral |
Referral |
| Text message | text_message |
sms |
SMS |
| Microsoft Advertising | bing |
cpc |
Paid Search |
| Print and QR codes | event name | qr |
Unassigned* |
* GA4 has no default channel for print. The guide Why GA4 shows traffic as Unassigned explains how to create your own channel for it.
Google Ads is an exception: it tags its links itself. Read Google Ads and UTM before you add tags to Google ads.
Naming rules
Good naming is boring and consistent. These rules are enough for most teams:
- Always lowercase. Then the same value does not split into two rows in your reports.
- No spaces and no accented letters (ä, ö, å). Use an underscore between words:
spring_sale_2026. If one person types “spring sale” and another “spring_sale”, the same campaign shows up twice. - Always the same word for the same thing. Pick
facebookand stick with it. Do not usefb,Facebookormetaalongside it. - A pattern for campaign names. For example topic and year:
spring_sale_2026,newsletter_2026_10. With a pattern, anyone can work out the name without asking. - One list for the whole team. Write down the allowed sources and mediums. Most messes start when everyone makes up their own values.
Where not to use tags
Do not use UTM tags on internal links within your own site. GA4 treats them as a new campaign. A purchase that started from an ad can then be credited to the banner on your home page.
Track clicks on internal banners with GA4 events, not with UTM tags.
You usually do not need to tag Google Ads links by hand, because auto-tagging (gclid) takes care of it. Read more in Google Ads and UTM.
The most common mistakes
A medium GA4 does not know. Values like newsletter, ad or print match no rule, and the traffic lands in the Unassigned channel:
None of the rules of GA4's default channel group match, so the traffic shows up in reports without a channel.
The source meta. GA4 does not recognize it as a social platform, so a paid ad shows up in Paid Other instead of Paid Social. Use the source facebook or instagram.
A paid ad with the medium social. The ad then shows up in Organic Social, and paid and organic visits get mixed up. Use the medium paid-social for ads.
A missing medium. If a link has a source but no medium, the channel is decided by the source alone. An unknown source without a medium lands in Unassigned.
The same campaign spelled several ways. To GA4, spring_sale, Spring-Sale and springsale are three different campaigns.
Not sure about your values? Enter the source and medium in the GA4 channel checker. It shows the channel and suggests a fix if GA4 does not know the value.
Check the link before you share it
- Build the link with the generator. It lowercases the values, removes accents and shows the GA4 channel before you share the link.
- Open the finished link in a browser and make sure the page loads and the parameters are in the address.
- Check GA4's Realtime report to see that your visit shows up with the right source and medium.
Try it yourself
Open the generator with this guide's example values.
Kanavoi is a Finnish UTM tool for teams. It keeps naming consistent and shows the GA4 channel before a link is shared.