How to Fix Unassigned Traffic in GA4 with Clean UTM Rules (2027)

Add Session source / medium in Traffic acquisition, align UTMs with Google's Default Channel Group regex rules, rebuild history with Custom Channel Groups, and fix missing session_start tagging.

As seen in

  • Fox News
  • ABC News
  • CBS
  • NBC
  • Associated Press
  • USA Today
  • Bloomberg
  • HuffPost
Otto the beaver next to the Google Analytics logo
On this page6

To fix Unassigned traffic in GA4, open Acquisition > Traffic acquisition, add Session source / medium as a secondary dimension, and note whether Unassigned rows show odd source / medium pairs or (not set). Align live URLs with Google's Default Channel Group rules, copy those rules into a Custom Channel Group under Admin > Data display > Channel groups for retroactive cleanup, and set your Google tag in Google Tag Manager to fire on Initialization - All pages so session_start is never skipped.

Most fixes fall into two buckets. Bucket 1 is traffic with real source and medium values that still miss every channel rule. Bucket 2 is (not set) session identity, which Google shows as Unassigned because no channel rule can match. Splitting the two stops you from editing channel groups when the real problem is a missing tag.

Why GA4 labels traffic as Unassigned (two-bucket triage)

GA4 shows channel data on three related dimensions: event-scoped Default channel group, session-scoped Session default channel group, and user-scoped First user default channel group, all defined in Google's Default channel group documentation. Unassigned is the value Analytics uses when no other channel rules match the event data.

Start in Traffic acquisition. Click + next to the primary dimension and add Session source / medium (documented in URL builders guidance as the dimension that reveals which campaigns sent traffic). Filter or sort for the Unassigned channel row and read the source / medium values on those lines.

Tagging best practices describe the same split: Unassigned appears when traffic comes from a user-defined source or medium that matches no predefined rule, or when it is (not set) because session or user identity is missing.

If you only want a weekly plain-English read on whether tracking still lines up after site changes, Otto Website Analytics is built for that check. Otto still cannot rewrite GA4 configuration from MCP; reporting fixes stay in Google Analytics and Tag Manager.

GA4's Default Channel Group UTM rules: the 2027 lookup table

Channel definitions aren't case sensitive and the default group cannot be edited. What is case sensitive are UTM parameter values in reports — utm_source=Meta and utm_source=meta split into separate rows even though utm_medium=CPC and utm_medium=cpc still evaluate the same channel rule.

Use this table for manual (non–Google Ads auto-tag) traffic. Google Ads, DV360, CM360, and SA360 use separate source-platform rules in the same doc; this focuses on links you tag by hand.

ChannelOfficial GA4 rule (manual traffic)Clean UTM exampleCommon mistake → Unassigned
Paid SocialSource on social site list and medium matches `^(.cp.\ppc\retargeting\paid.*)$`utm_source=facebook&utm_medium=paid_social&utm_campaign=spring-saleutm_medium=social on a paid link (lands in Organic Social, not Paid Social)
Paid SearchSource on search site list and same paid medium regexutm_source=bing&utm_medium=cpc&utm_campaign=brandutm_medium=cpc without a recognized search utm_source
Organic SocialSocial source list or medium is social, social-network, social-media, sm, etc.utm_source=instagram&utm_medium=organic_socialPaid boost links left untagged (shows as referral or Direct)
Organic SearchSource on search list or medium exactly organic (includes Google AI Overviews and AI Mode)(often no UTMs on organic links)Tagging organic blog links with utm_medium=email
AI AssistantMedium exactly ai-assistant, or referrer matches AI assistant list (excludes Google AI Overviews)utm_medium=ai-assistant&utm_campaign=(ai-assistant)Expecting ChatGPT referrals without ai-assistant medium when referrer is stripped
EmailSource or medium matches `email\e-mail\e_mail\e mail`utm_source=newsletter&utm_medium=email&utm_campaign=nov-promoutm_campaign only, no utm_source / utm_medium
DisplayMedium is display, banner, expandable, interstitial, or cpmutm_medium=display&utm_source=partner-networkutm_medium=banner-ad (non-matching token)
Paid VideoVideo source list and paid medium regexutm_source=youtube&utm_medium=paid_video&utm_campaign=pre-rollutm_medium=video without paid regex → Organic Video
Cross-networkCampaign name contains cross-networkName contains cross-network in utm_campaignRenamed campaign without that substring
ReferralMedium is referral, app, or link(automatic for off-site links)Forcing utm_medium=referral on email or paid links
AffiliatesMedium = affiliateutm_medium=affiliate&utm_source=partner-siteutm_medium=affiliates (plural)
SMSSource or medium exactly smsutm_medium=sms&utm_source=twilioutm_medium=text
AudioMedium exactly audioutm_medium=audio&utm_source=podcast-networkutm_medium=podcast
Paid OtherMedium matches paid regex onlyutm_medium=paid_other&utm_source=partnerCustom medium strings outside regex

Custom groups use the same rule syntax and the same case-insensitive definition matching.

Five UTM tagging rules that prevent Unassigned and (not set) rows

Google's URL builder documentation lists five governance rules that map directly to Unassigned and (not set) rows in URL builders and traffic-source guidance.

  1. Set utm_source, utm_medium, and utm_campaign together every time. If you set one UTM, set all relevant parameters, especially utm_id and utm_source_platform when you use them. Missing fields become (not set).
  1. Never add a lone UTM to auto-tagged Google Ads URLs. When manual and auto tagging mix, Google Analytics normally uses auto-tagged source and medium. If GCLID or DCLID cannot be used as intended and any UTM is on the URL, Analytics derives all cross-channel dimensions from UTMs only. A stray utm_content without utm_source and utm_medium breaks attribution.
  1. Lowercase and name platforms consistently. Parameter values are case sensitive. Use fb and insta as separate sources if you need granularity, and dynamic campaign-name fields from your ad platform so utm_campaign matches the live campaign name.
  1. Know where UTMs show up. UTMs appear in Page location, not in Landing page + query string or Page path + query string. Neither utm_creative_format nor utm_marketing_tactic is currently reported in Google Analytics properties.
  1. Confirm Google Ads linking and auto-tagging. Unlinked accounts or disabled auto-tagging produce (not set) in advertising reports and leak into channel views.

For tying UTMs on landing pages to paid media dashboards, see GA4 and paid media landing page dashboards.

How to fix historical Unassigned traffic with Custom Channel Groups

You cannot edit Google's built-in Default channel group. Custom channel groups can be applied to reports retroactively, while changing which group is Primary only populates primary channel group values from that point forward.

  1. In Admin > Data display > Channel groups (Editor role or above), create a group by copying the default definition.
  2. Add channels for your real mediums — for example a rule where utm_medium exactly matches newsletter maps to Email, or a regex bucket for partner traffic.
  3. Reorder channels. Traffic enters the first channel whose definition it matches. Put specific rules above Referral and Unassigned catch-alls.
  4. In Traffic acquisition, switch the primary dimension to your custom group to see past months reclassified.
  5. Respect limits: 2 custom groups on Standard properties, 5 on 360, 50 channels per group. Custom groups are not available in Key events paths or BigQuery export schema. They apply retroactively in reports, Explorations, and segments, but in audiences user eligibility changes only going forward—the change is not applied retroactively.

Updating live ad URLs fixes forward data only. Retroactive cleanup requires a custom group, not a Primary swap alone.

How to fix Unassigned when Session source / medium is (not set)

When the secondary dimension shows (not set) / (not set), channel rules are not the first fix. Work through tagging in this order.

  1. Google Tag Manager trigger: In Tags, open your Google tag and set triggering to Initialization - All pages, removing a late Page View-only trigger that skips session_start.
  2. Config before custom events: Fire the config command before any custom events. Events that run early batch with session_start and break session identity.
  3. Consent Mode: After the banner, call update, not another default, and do not send later events with denied consent after the user granted it or you split sessions without session_start.
  4. One pipeline per property: Do not run server-side and standalone client-side tags on the same page for the same GA4 property.
  5. Identity fields and cross-domain linking: Keep one cookie_prefix, and do not hand-edit auto-generated client_id or session_id except in the rare manual cross-domain setups Google documents. If you rely on the automatic cross-domain linker, initialize it before cross-domain hops: a late config command after navigation can split sessions, discard short sessions when linker values are adopted, and strand hits without a matching session_start.
  6. Merchant Center links: Shared URLs with srsltid but no google.com referrer can show (not set) per Google's (not set) guide.

How to audit GA4 Unassigned traffic and stage ad and website fixes with Otto

After Google-side fixes, you still need to compare GA4 rows to live ad URLs, landing pages, and revenue. Otto Webmaster is built by IslaIntel in San Juan, Puerto Rico, as an AI digital webmaster with a 227-tool Model Context Protocol server across 15 integrations for Claude, ChatGPT, and Cursor. Otto connects those same integrations to its web app and to MCP clients, including GA4, Google Search Console, Google Ads, Meta Ads, LinkedIn Ads, WordPress, Shopify, and YouTube.

Honest limits: In Otto MCP, Google Analytics 4, Google Search Console, Google Ads, Google Business Profile, YouTube, Google Sheets, Shopify, and PageSpeed Insights are read-only with no spend or configuration changes. Otto reads the accounts you connect, proposes changes, and ships only after you approve; new ads stay paused, WordPress stays a draft, and site edits wait on a preview. Full read-and-write execution on paid ads and social publishing requires the Master plan at $3,500/mo or $3,000/mo billed annually, with human approval on every change that goes live or spends money. Pro at $199/mo ($99/mo billed annually) covers website updates, SEO, and read-only access to ads and socials; the $1 trial runs three days and includes a homepage redesign.

Connect Google Analytics 4 to Otto, then add Otto MCP in Claude. OAuth secrets stay on Otto's server; you hold one organization-scoped MCP token instead of pasting GA4 keys into the chat. Querying aggregated GA4 and ad metrics through Otto MCP typically cuts Claude token use by 80–90% versus uploading a raw 3,000-row export that can burn 40,000 to 80,000 tokens in one turn.

Paste these prompts after GA4 and ad accounts are connected:

List GA4 traffic acquisition for the last 28 days broken down by session default channel group and session source/medium. Flag any rows where channel is Unassigned or source/medium contains (not set). For the top 5 Unassigned pairs by sessions, summarize likely bucket (bad UTM vs missing session_start).
For each Meta and Google Ads campaign active in the last 14 days, compare final URL query strings to GA4 Unassigned source/medium pairs. List ads where utm_medium will not match Google's paid regex or where only utm_content is appended to auto-tagged URLs.
Cross-check Shopify orders in the last 7 days with GA4 landing pages and Unassigned sessions. Propose WordPress draft title/meta updates for the worst landing page; do not publish without my approval.
Read my Google Sheets KPI tab (for example a weekly leads or revenue target range) and compare GA4 Unassigned session counts and conversion rows for the last 28 days against those targets. Flag weeks where Unassigned or (not set) traffic would miss the sheet's goals. Otto MCP can read Sheets only; it cannot edit the workbook.

Otto can open a GitHub pull request with a preview or a WordPress draft (29 tools, draft-first) when a landing page fix is part of the answer. For ad execution beyond read-only auditing, see Otto AI Paid Ads Manager and the Claude workflows for Meta Ads with Otto MCP. Nothing merges or activates without your sign-off.

MCP uses the same Trial, Pro, and Master plans as the core product — no separate MCP subscription. Otto handles weekly site, SEO, ad checks, and reporting while strategy and final approval stay with you. Start $1 trial to run the workflow on your own connected accounts.

Written by

Enrique Vazquez

Chief Operating Officer at IslaIntel

Runs planning, process automation, and project delivery for IslaIntel's AI work in the Caribbean.