Deep Marketing, homepage
Blog

UTM parameters: how to write them without polluting your data (2026)

UTM parameters tell GA4 where each visit comes from. Which ones to use, a ready table of names for every channel and the mistakes that send visits to Unassigned.

UTM parameters: how to write them without polluting your data (2026)

In short

  • UTM parameters are labels you add at the end of a link to tell GA4 the source, medium and campaign of the visit; Google asks you to always use utm_source, utm_medium and utm_campaign (Google Analytics).
  • Values are case sensitive: for GA4 "Meta" and "meta" are two different sources, so Google recommends lowercase (Google Analytics).
  • GA4 assigns the channel with fixed rules on the medium: "email" goes into the Email channel, "newsletter" matches no rule and ends up in Unassigned (Google Analytics, default channel groups).

UTM parameters are the labels you add at the end of a link, after the question mark, to tell Google Analytics where the visit comes from. To write them without polluting your data you always use source, medium and campaign, all in lowercase, with the medium names GA4 recognizes. The link https://www.example.com/?utm_source=newsletter&utm_medium=email&utm_campaign=november-webinar tells GA4 that the person comes from the newsletter, through the email channel, for the November webinar campaign. With labels always written the same way, each campaign has its own row in the reports. One name written in two ways is enough to split the same campaign into several rows or send it to the wrong channel.

What are UTM parameters?

UTM parameters are name-value pairs that GA4 reads in the page address and uses to assign the visit to a source, a medium and a campaign. The Google Analytics guide to custom URLs lists these parameters:

Parameter What it indicates Example
utm_source The site or tool the visit comes from newsletter, linkedin, google
utm_medium The type of channel email, social, cpc
utm_campaign The campaign, product or promotion november-webinar
utm_id The campaign identifier the same ID you use to import costs
utm_source_platform The platform that manages the traffic Search Ads 360, Display & Video 360
utm_term The paid keyword crm-software
utm_content The creative or the link, if you have more than one in the same message top-button

Google adds two rules. The first: when you use a parameter, always use utm_source, utm_medium and utm_campaign, because a missing parameter shows up in reports as "(not set)". The second: utm_creative_format and utm_marketing_tactic exist but GA4 does not record them today.

You find the data in Acquisition > Traffic acquisition, with the Session source, medium and campaign dimensions.

How GA4 turns UTM parameters into channels

GA4 assigns each visit to a channel by reading mainly the medium, with rules you cannot change. The default channel groups contain the exact rules. Which row of the report your campaigns land in depends on those rules.

The rules that matter most for an SME:

  • Email: source or medium equal to email, e-mail, e_mail or "e mail".
  • Organic social: source in GA4's list of social sites, or medium equal to social, social-network, social-media, sm, "social network" or "social media".
  • Paid social: source in the list of social sites and medium that contains "cp", matches ppc or retargeting, or starts with "paid".
  • Display: medium equal to display, banner, expandable, interstitial or cpm.
  • Referral: medium equal to referral, app or link.
  • Unassigned: the value GA4 uses when no rule matches.

Two mistakes come directly from these rules. With utm_medium=newsletter the visit goes to Unassigned, because "newsletter" appears in no rule. With utm_medium=social_paid the visit does not enter Paid social, because the medium does not start with "paid": if the source is a recognized social site, GA4 counts it as Organic social. Your paid campaign thus disappears from the right channel.

The table of names to use for each channel

Choose one name for each source and each medium, write it in lowercase and always use it the same way. This table starts from GA4's rules and Google's advice, which recommends a single source value for each platform and a single medium for each channel, such as paid_social.

Where you put the link utm_source utm_medium Channel in GA4
Newsletter newsletter email Email
Sales reps' email signature email-signature email Email
Organic LinkedIn post linkedin social Organic social
Facebook ad facebook paid_social Paid social, if GA4 recognizes the source among social sites; otherwise Paid other
LinkedIn ad linkedin paid_social As above
Banner on an industry site site-name display Display
A partner's article site-name referral Referral
QR code on a flyer or at a fair event-name qr Unassigned: no default channel covers print

For print GA4 has no channel. You find those visits by filtering by campaign, or you create a custom channel group, that is a set of your own rules that GA4 places alongside the default channels.

For the campaign use lowercase and hyphens, with the topic and the date: ga4-webinar-2026-11 reads well even a year from now. For ads use the platform's dynamic parameters, such as {{site_source_name}} on Meta or {{campaign.name}} for the campaign name, so nobody copies names by hand.

How do you create a link with UTM parameters?

Take the page address, add a question mark and then the parameter=value pairs separated by the & symbol. Google explains the format in the same guide to custom URLs and provides the Campaign URL Builder tool.

  1. Start from the final address of the page in https, with no redirect in between: a redirect can strip the parameters and send the visit to direct traffic.
  2. Add ?utm_source= with the name from the table.
  3. Add &utm_medium= and &utm_campaign=.
  4. If you have two links in the same message, tell them apart with utm_content.
  5. Click the finished link and check in GA4's Realtime report that source and medium arrive correctly.

If you use a link shortener, shorten the link that already contains the parameters.

How to clean up UTM data already written badly

In GA4 badly written values stay in the reports, so you fix the links from today and group the history with rules of your own. Google treats "Meta" and "meta" as two different values. The same goes for fb, facebook and Facebook. Channel rules, however, do not distinguish case, as Google writes on the default channel groups page, so the channel stays right. The Source/medium report, on the other hand, shows you three rows instead of one.

You have two routes:

  • In GA4: create a custom channel group that brings the variants together. From then on you write all new links with the table.
  • In Deep Intelligence: Deep Marketing's marketing dashboard gives each source a single name before counting visits. Fb, ig and adwords become a single name even on the history. AI assistants have a channel all of their own.

With clean names you can compare channels on the same days and calculate the cost per lead of each. To choose which numbers to keep an eye on, start from the guide to marketing KPIs.

Frequently asked questions

Which UTM parameters are mandatory?

Google asks you to always use utm_source, utm_medium and utm_campaign. A missing parameter shows up in reports as "(not set)".

Are UTM parameters case sensitive?

Yes. For GA4 utm_source=google and utm_source=Google are different values, so write everything in lowercase.

Why does my newsletter end up in Unassigned?

It happens when the link contains utm_medium=newsletter. GA4 puts in the Email channel only the medium email and its variants.

Where do I see UTM parameters in GA4?

In Acquisition > Traffic acquisition, with the Session source, medium and campaign dimensions.

What is the difference between utm_source and utm_medium?

The source indicates the site or tool the visit comes from, for example newsletter. The medium indicates the type of channel, for example email.

Sources

PS: the cover image is generated with artificial intelligence.

Read more: Choose the alternative to Google Analytics in 2026 and Marketing KPIs: which ones to watch to decide. Also read how you use Deep Intelligence to compare the results of your channels.