Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

Unassigned Traffic in GA4: Why It Happens and How to Fix It

A growing Unassigned row in the Traffic acquisition report means GA4 could not place sessions in any channel. This guide explains the two root causes, how to tell which one you have from the source / medium breakdown, and the fix for each.

The EndFrame Team5 min read

You open Traffic acquisition in GA4 and a row called Unassigned is sitting among your channels, sometimes with a sizeable share of sessions or key events. Unassigned is not a channel in the marketing sense. It is the bucket GA4 uses when the traffic source of a session or event matches none of the rules in the default channel group. That makes it a useful signal: every Unassigned session is telling you that either your campaign labels or your tag setup does not fit what GA4 expects. This guide explains both causes, how to tell them apart, and how to fix each one.

How GA4 decides a channel

Every session gets a source and medium, from UTM parameters, from a Google Ads click, from the referrer, or as (direct) / (none). GA4 then runs those values (plus campaign name and a few platform fields) through the rules of the default channel group: medium exactly organic is Organic Search, medium email is Email, a known social source with a paid medium is Paid Social, and so on. Our guide to GA4 default channel groups lists the rules. If nothing matches, the session is Unassigned. There is no fallback to Referral or Direct. That is also why Unassigned tends to grow after a team starts using its own medium names, or after a change to how the tag is loaded: both stop GA4 from finding a rule it can apply.

Step one: break Unassigned down by source / medium

In Traffic acquisition, filter the session default channel group to Unassigned and change the primary dimension to Session source / medium. What you see tells you which cause you have.

What the rows look likeLikely causeWhere to fix it
Real values such as mailchimp / newsletter or flyer / qrYour UTM values do not match any channel ruleYour UTM conventions, or a custom channel group
A source with medium (not set), such as newsletter / (not set)Links tagged with utm_source but no utm_mediumYour link building process
(not set) / (not set) or a blank sourceSessions without a usable session_start, or events sent outside a sessionYour tag, consent or server-side setup

Cause 1: UTM values no rule recognises

The default channel group is strict. Email is matched when source or medium is exactly email, e-mail, e_mail or e mail, so utm_medium=newsletter with utm_source=mailchimp is Unassigned. Affiliates requires medium exactly affiliate, so affiliates (plural) is Unassigned. Display is matched on display, banner, expandable, interstitial or cpm. Paid channels rely on a medium that matches cpc-like patterns, ppc, retargeting, or anything starting with paid. Organic Social, Organic Search, Organic Video and Organic Shopping rely on GA4 recognising the source from its own lists of sites, so a source it does not know, such as a small community forum with medium community, matches nothing. Matching is not case sensitive, but spelling and exact values matter.

The fix going forward is to use mediums the rules understand. A short reference that covers most campaigns:

  • Email campaigns: utm_medium=email, with the platform or list in utm_source.
  • Paid social: utm_medium=paid_social or cpc, with a recognised social source such as facebook, instagram or linkedin.
  • Display and programmatic: utm_medium=display or cpm.
  • Affiliates and partners paid on commission: utm_medium=affiliate.
  • Organic social posts: utm_medium=social, with the network in utm_source.
  • Text messages: utm_source or utm_medium=sms.

Some traffic has no natural home, such as QR codes on printed material or offline events. You can either choose the closest channel deliberately, or keep a descriptive medium and create a custom channel group with a rule for it. Custom channel groups also apply to historical data, which makes them the only way to reclassify old Unassigned sessions. Our explainer on utm_source vs utm_medium and the UTM naming convention template make the conventions stick across a team.

Cause 2: missing source and medium

Rows of (not set) / (not set) are a tagging problem, not a naming one. Google's tagging best practices page and its (not set) documentation describe the patterns behind them:

  1. 1The Google tag fires late. If events fire before the config command or the Google tag in Tag Manager (whose trigger should be Initialization - All Pages), session_start can be missing and the session has no source.
  2. 2Consent mode is set up incorrectly. Using the default command for every consent change, rather than default first and update after the user chooses, can lose the initial session_start. Sending events while consent is denied after it was granted creates sessions without one.
  3. 3Server-side tagging is mixed with client-side tagging. Google advises against running server-side and standalone client-side implementations for the same property, and recommends routing all tags through the server container so client and session identity stay consistent.
  4. 4Inconsistent cookie prefixes or modified client or session IDs. Different cookie_prefix values on different parts of the site, or custom code that rewrites client_id or session_id, split events away from their sessions.
  5. 5Events sent through the Measurement Protocol without the browser's client_id and session_id. GA4 cannot join them to the session that carried the campaign data, so they arrive with no source.

To confirm, open a private window, enable debug mode, land on the site with a tagged URL, and check in DebugView that session_start and page_view are the first events and carry your campaign values. Then accept or reject consent and repeat. Our guide to what (not set) means in GA4 covers the same causes report by report.

When conversions are Unassigned but sessions are not

A specific and common pattern: sessions look healthy, but a large share of key events such as purchase or generate_lead are Unassigned. This nearly always means the key event is sent from somewhere other than the browser session: a payment provider webhook, a CRM, or a server sending Measurement Protocol events. If that request does not include the client_id from the visitor's _ga cookie and the session_id of the current session, GA4 has no way to attach it to the session that carried the campaign. Capture both values in the browser when the visitor converts, store them with the order or lead, and send them with the server event. Our guide to sending server-side conversions to GA4 shows the payload.

A checklist to keep Unassigned small

  • Every tagged link has utm_source, utm_medium and utm_campaign, and the medium is one the default rules recognise.
  • The Google tag is the first thing to fire on every page.
  • Consent mode uses default on load and update on choice.
  • Only one tagging route per property: all server-side or all client-side, not both.
  • Server-sent events carry the browser's client_id and session_id.
  • A custom channel group covers any deliberate custom mediums.

Building links with a UTM builder that enforces source, medium and campaign removes most of cause 1. Cause 2 needs a look at the tag itself, and once both are fixed, Unassigned should shrink to a small residual you can safely ignore.

Frequently asked questions

Is Unassigned the same as direct traffic in GA4?

No. Direct is a channel with a rule of its own: source is (direct) and medium is (none) or (not set). Unassigned means GA4 had some source or medium information, or none it could use, and no rule matched. The two can share causes, but they are separate rows and need separate checks.

Can I fix Unassigned traffic retroactively?

Partly. Custom channel groups apply to historical data, so you can create a channel group that classifies your own mediums, such as newsletter or qr, and see older sessions categorised. Sessions that lost their source entirely cannot be recovered.

Why are my conversions Unassigned but sessions are not?

Usually because conversions are sent separately from the browser session, for example through the Measurement Protocol or a server container, without the client_id and session_id of the session that produced them. GA4 cannot join them to a session with a known source, so they land in Unassigned.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading