Home / Free tools

Free tool

UTM builder and GA4 channel checker

Paste a landing URL with utm_ parameters, or fill in the fields to build one, and see which GA4 default channel the session would land in, the rule that put it there, and what nearly matched when the answer is Unassigned.

Examples:

Build a tagged URL from fields

Also free: _gl and cookie decoder · Tracking request decoder

How GA4 decides the channel

Every session gets a channel from the default channel group: the session default channel group for the session that started, and the first user default channel group for the user’s first arrival. The group cannot be edited, and its definitions are not case sensitive. For a tagged link, the rules read three values: utm_source, utm_medium and utm_campaign. Some rules compare the source with Google’s lists of search, shopping, social and video sites, published as a spreadsheet of sources and categories; this page uses that list as published, matched exactly and ignoring case.

The paid rules share one pattern for the medium, ^(.*cp.*|ppc|retargeting|paid.*)$: it starts with paid, contains cp, or is ppc or retargeting. The shopping pattern for campaign names is ^(.*(([^a-df-z]|^)shop|shopping).*)$, which catches shop or shopping in the name.

The checker tries the rules in the order Google’s page lists them and takes the first that matches. Google does not say that order is the precedence, so when the values also match a rule further down, the result says so. Google Ads, Display & Video 360, Campaign Manager 360, Search Ads 360 and Shopping free listings traffic is classified from those platforms’ own data, not from these rules: a Google Ads click by its ad network type and campaign type.

The 19 channels and their rule for tagged traffic

ChannelMatches when
DirectSource is exactly (direct) and medium is (not set) or (none).
Cross-networkCampaign name contains cross-network.
Paid ShoppingSource is in the shopping list, or the campaign name matches the shopping pattern, and medium matches the paid pattern.
Paid SearchSource is in the search list and medium matches the paid pattern.
Paid SocialSource is in the social list and medium matches the paid pattern.
Paid VideoSource is in the video list and medium matches the paid pattern.
DisplayMedium is display, banner, expandable, interstitial or cpm.
Paid OtherMedium matches the paid pattern (and none of the paid rules above matched).
Organic ShoppingSource is in the shopping list, or the campaign name matches the shopping pattern.
Organic SocialSource is in the social list, or medium is social, social-network, social-media, sm, social network or social media.
Organic VideoSource is in the video list, or medium contains video.
Organic SearchSource is in the search list, or medium is exactly organic.
AI AssistantMedium is exactly ai-assistant. Analytics sets this itself when the referrer is a known AI assistant.
ReferralMedium is referral, app or link.
EmailSource or medium is email, e-mail, e_mail or e mail.
AffiliatesMedium is exactly affiliate.
AudioMedium is exactly audio.
SMSSource or medium is exactly sms.
Mobile Push NotificationsMedium ends with push or contains mobile or notification, or source is exactly firebase.

Why a session ends up Unassigned

Google’s wording is plain: Unassigned is the value Analytics uses when no channel rule matches the event data. Its troubleshooting page names two families of cause.

The full walk through both is in GA4 Unassigned traffic. When the tags are right but the campaign still goes missing between the click and the session, see campaign attribution debugging, and for visitors who cross to another of your domains, cross-domain tracking.

Tagging mistakes the checker flags

Google changes the source lists from time to time; requests for changes go to [email protected]. Data from before June 15, 2022 may show inconsistent channels.

Questions

Why is my traffic Unassigned in GA4?

Unassigned is the value Analytics uses when no channel rule matches the event data. With utm tags that usually means a source or medium that fits no channel definition, such as utm_medium=newsletter or social_paid. It also happens when session source / medium is (not set), for example when the session_start event is missing, and that is not something a URL can fix.

What utm_medium should I use for paid social?

One that matches the paid pattern in Google’s rules: it starts with paid, contains cp, or is ppc or retargeting. paid_social and cpc both do. The source also has to be in Google’s social list (facebook, instagram, linkedin, tiktok and so on) for the session to land in Paid Social; with a source outside the list it lands in Paid Other.

Does case matter in utm parameters?

Not for the channel: Google says the default channel group definitions are not case sensitive, so Email and email both reach the Email channel. In the reports it does, because the values are stored as sent, so Facebook and facebook show as two rows. Pick one spelling and keep to it.

Does GA4 use utm_source_platform for the channel?

The manual-traffic rules on Google’s channel page use source, medium and campaign name only. Source platform appears in the rules for Google’s own platforms (Google Ads, Display & Video 360, Campaign Manager 360, Search Ads 360 and Shopping free listings), which Analytics classifies from their own data. You can still add utm_source_platform to the link; it does not change the channel this page shows.

Do utm tags on a Google Ads link decide its channel?

No. Google Ads traffic is classified by its own Google Ads data, the ad network type and the campaign type, not by utm values. With a gclid on the link, the utm medium does not move the session into another channel.

In the Tag Master extension, expand the session’s first GA4 hit and read dl, the landing address, which carries the utm_ values the session started with; _ss=1 marks the hit that started the session.

Try it on your own site

Tag Master is free, needs no account, and collects no data.

Add to Chrome, it’s free