UTM parameters: a complete guide

UTM parameters tell Google Analytics where a visitor came from and which campaign the click belonged to. This guide covers all five parameters, ready-made values for the most common channels, naming rules and the most common mistakes.

Updated 27 October 2026 · 7 min read

On this page
  1. What are UTM parameters?
  2. The five parameters
  3. How GA4 decides the channel
  4. Ready-made values for common channels
  5. Naming rules
  6. Where not to use tags
  7. The most common mistakes
  8. Check the link before you share it

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.

https://shop.example.com/spring?utm_source=facebook&utm_medium=paid-social&utm_campaign=spring_sale_2026
A link in a Facebook ad. GA4 reports the visits in the Paid Social channel and the campaign spring_sale_2026.

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.

GA4 channel when the source is facebook and the medium paid-social
Paid Social

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 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:

  1. Always lowercase. Then the same value does not split into two rows in your reports.
  2. 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.
  3. Always the same word for the same thing. Pick facebook and stick with it. Do not use fb, Facebook or meta alongside it.
  4. 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.
  5. 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:

GA4 channel when the source is newsletter and the medium newsletter
Unassigned

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

  1. Build the link with the generator. It lowercases the values, removes accents and shows the GA4 channel before you share the link.
  2. Open the finished link in a browser and make sure the page loads and the parameters are in the address.
  3. 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.

Open the generator

Kanavoi is a Finnish UTM tool for teams. It keeps naming consistent and shows the GA4 channel before a link is shared.

The same naming for the whole team

In Kanavoi's team version, the agreed values are ready-made lists, and nobody can misspell a campaign. Join the waitlist and we'll let you know when accounts open.