Sub topic 10
Unassigned Traffic and How It Differs from (not set)
This chapter assumes you know how GA4 builds the source, medium and campaign values, and that you have read the earlier chapters on the default channels and on how GA4 matches a session to a channel. You should also be comfortable opening a traffic acquisition report. Here you will learn what Unassigned means, why it is a different thing from (not set), and how to trace each one back to its cause.
Two labels that look alike
Both labels appear in channel reports, and both often signal a tagging or collection problem. They mean different things.
- Unassigned is a real channel value. GA4 evaluated the session's source, medium and campaign against every rule in the default channel group and none of them matched. The rules ran and had nothing to assign.
- (not set) is a placeholder. GA4 shows it when a dimension has no value for a row. Nothing was classified because there was nothing to classify, or the value never reached that dimension.
The practical difference is where you look. Unassigned usually points to the values in your campaign URLs. (not set) usually points to how the data was collected.
| Aspect | Unassigned | (not set) |
|---|---|---|
| What it is | A channel in the default channel group | A placeholder for a missing dimension value |
| Rules evaluated | Yes, and none matched | Usually no usable input to evaluate |
| Typical cause | Unrecognized or missing medium, odd UTM values | Missing session context, incomplete collection, an unavailable field |
| First place to look | Source and medium of the Unassigned rows | Data collection method and event parameters |
How a session ends up Unassigned
The default channel group works as an ordered list of conditions. The first condition that fits decides the channel. Unassigned is the fall-through: it is what remains when no earlier condition matched. This means a session lands there for one of two reasons.
- The medium has a value that no rule recognizes.
- The medium is missing, and the source alone does not satisfy any rule.
Cause 1: a medium the rules do not know
The default rules match specific medium values or patterns. For example, email matches Email, cpc combined with a search source matches Paid Search, and referral matches Referral. Anything else, such as banner-x, newsletter used as a medium, or paid_ads, matches no rule unless another condition happens to catch it.
This is the most common source of Unassigned traffic. Teams invent medium names that make sense internally, and GA4 has no way to guess what they mean.
Consider these two URLs:
https://www.example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026
https://www.example.com/spring-sale?utm_source=newsletter&utm_medium=blast&utm_campaign=spring_sale_2026The first lands in Email because its medium is email. The second has the same source and campaign but the medium blast, so it falls through to Unassigned.
Cause 2: a source without a medium
If a link carries utm_source but no utm_medium, GA4 has a source and no medium. Most rules need a medium, so the session usually falls to Unassigned. A URL like ?utm_source=partner&utm_campaign=promo is a typical example. Some sources are recognized on their own (a known search engine, for instance), so the outcome can vary. Check the actual source and medium of the rows instead of assuming.
Cause 3: unusual collection paths
Sessions built from events sent through the Measurement Protocol, or from server-side setups, can arrive without the session context GA4 normally derives from the browser. If an event is sent without a valid session identifier or without the session start information, GA4 may have no traffic source to classify and may show Unassigned. Treat this as a likely suspect when the Unassigned traffic does not match any URL you tagged and the property receives server-sent events.
A simplified diagnostic model
The real rules are broader than any short script. This sketch keeps only the distinction this chapter cares about: no usable data, versus data that matches nothing. It is not GA4's actual rule set.
KNOWN_MEDIA = {"email", "cpc", "ppc", "organic", "referral", "social", "affiliate", "display", "cpm"}
def diagnose(source, medium):
source = (source or "").strip().lower()
medium = (medium or "").strip().lower()
if not source and not medium:
return "(not set): no traffic source data"
if medium in ("", "(not set)"):
return "Unassigned: source present, medium missing"
if medium not in KNOWN_MEDIA:
return "Unassigned: medium not recognized"
return "Matches a rule"
samples = [
("newsletter", "email"),
("newsletter", "blast"),
("partner", None),
(None, None),
]
for source, medium in samples:
print(source, medium, "->", diagnose(source, medium))Running it prints:
newsletter email -> Matches a rule
newsletter blast -> Unassigned: medium not recognized
partner None -> Unassigned: source present, medium missing
None None -> (not set): no traffic source dataThe last line is the key contrast. Missing input and unmatched input are different outcomes, and they need different fixes.
Where (not set) appears and what it implies
The label (not set) shows up in many dimensions, not only channel groups. In traffic reports you may meet it in several forms:
(not set)as the value of Session medium or Session campaign. This is normal. A session with no campaign has no campaign name, so Session campaign shows(not set). A direct session often shows(none)as its medium. Do not treat these as errors on their own.(not set)in Session default channel group. This is less common and deserves attention. It suggests the row has no session-level traffic source data, which often points to how the data arrived.(not set)in landing page or page-related dimensions. It can mean the session had no page view event with a location.
The point to hold on to is that (not set) in campaign is expected for untagged traffic, while (not set) in the channel group is the one that needs investigation.
Diagnosing Unassigned traffic step by step
Work from the row to the cause.
- Open a traffic acquisition report and set the primary dimension to Session default channel group.
- Add Session source / medium as a secondary dimension.
- Filter to the Unassigned row, or click it, and read the source / medium pairs listed under it.
- Group the pairs by pattern:
- An unfamiliar medium value points to a tagging convention problem.
- A source with
(not set)as the medium points to links that lackutm_medium. - A pair like
(not set) / (not set)points to a collection issue. - Add Session campaign to see which campaigns produce the odd values. Tagged campaigns usually reveal the exact link that was built wrong.
- Fix the source of the problem, as described below. Past data does not change, so note the date of the fix in your annotations or documentation.
Fixes
- For wrong medium values, correct the URLs and adopt a short, documented list of allowed medium values.
- For missing mediums, add
utm_mediumto every tagged link. A URL builder or a shared spreadsheet with locked values prevents most of these mistakes. - For Measurement Protocol traffic, check that events carry the session identifier and engagement fields GA4 expects, and that the client identifier matches the one used on the web.
- When your business really does use a channel the defaults cannot express, a custom channel group can capture it. That is covered in a later chapter.
Common mistakes
- Treating Unassigned as a small, harmless bucket. A rising Unassigned share means campaign data is leaking out of the channels you are reporting on.
- Mixing up the two labels in a ticket or a dashboard note. Saying "set up the (not set) fix" for an Unassigned problem sends someone to the wrong layer of the setup.
- Fixing the report instead of the link. Filtering Unassigned out of a dashboard hides the problem. The URLs keep producing it.
- Assuming the label is stable. GA4 updates its channel definitions from time to time. Compare a historical period with a recent one only after you confirm which rules applied, using Google's published channel group documentation.
Exercise
Your traffic acquisition report shows an Unassigned row. Under it, the source / medium pairs are "newsletter / blast" and "partner / (not set)". A separate row for Session default channel group shows "(not set)" for a handful of sessions sent through the Measurement Protocol. For each of the three cases, say which label applies and what you would check or change.
Show answer
"newsletter / blast" is Unassigned because the medium "blast" matches no default rule. Change the link to use utmmedium=email (or another recognized medium) and document the allowed values. "partner / (not set)" is also Unassigned: a source is present but the medium is missing, so add utmmedium to the partner links. The Measurement Protocol sessions show (not set) in the channel dimension because GA4 had no usable traffic source data for them. Check that the events include the correct session identifier and that they belong to the same client as the web sessions, instead of editing any UTM values.