Unassigned & (not set) Traffic in GA4

Why GA4 reports Unassigned and (not set) traffic, and how to fix the attribution.

  • Unassigned traffic, (not set) values, and payment domains showing as referrals look alike in GA4 reports but have different causes, so fix each one separately.
  • Unassigned means GA4 has a source and medium that don't match any channel rule; the usual cause is non-standard UTM values (e.g. 'newsletter' instead of 'email', 'cpc' with no social source mapping).
  • To prevent Unassigned: always set utm_source, utm_medium and utm_campaign together, lowercase everything, put the platform in source and traffic type in medium, keep allowed values in one shared sheet, and never use UTMs on internal links.
  • Past data can't be repaired; fixing your links only fixes attribution from that day forward.
  • (not set) depends on the dimension: source/medium usually means events arrived without a session (often Measurement Protocol events missing session_id and client_id); campaign (not set) on Google Ads means the account isn't linked or auto-tagging is off; landing page (not set) often means the tag fired late or was held back by consent.
  • Data from the last day or two may show (not set) simply because it hasn't finished processing; check again after 48 hours.
  • Payment domains (PayPal, bank 3-D Secure pages, hosted checkouts) can steal credit for sales; add them under Admin > Data streams > Configure tag settings > List unwanted referrals, then test with a real order and review the list every few months.
  • If you own multiple domains, configure them under 'Configure your domains' to stop your own domains appearing as referrals and sessions splitting in two.
  • A small amount of Unassigned and (not set) (about 1 to 2% of sessions) is normal; it's worth fixing if either exceeds 5% or carries revenue.

Unassigned traffic, (not set) values and payment domains credited as referrals all point to attribution GA4 can’t resolve.

If you want to fix them, treat each one separately. They look alike in reports and have different causes.

What Each One Means

What You See What It Means Usual Cause
Unassigned GA4 has a source and medium, and they don’t match any channel rule. Non-standard UTM values
(not set) GA4 has no value for that dimension. Events with no session, or missing links
A payment domain as a referral The visitor left for a third party and came back. No unwanted referral or cross-domain setup

Fix Unassigned With UTM Naming

GA4 assigns channels from utm_medium and utm_source using fixed rules. Find the offenders in Reports > Acquisition > Traffic acquisition: set the dimension to Session source / medium and filter the channel group to Unassigned.

Channel Use This Medium Values I See That Break It
Email email newsletter, mailchimp, blast
Organic Social social linkedin, post, organic_social
Paid Social paid_social or cpc, with a social source facebook_ads, sponsored
Paid Search cpc or ppc adwords, search
Display display, banner or cpm programmatic, ads
Affiliates affiliate partner, referral_program
SMS sms text

Rules that prevent most of it:

  • Always set utm_source, utm_medium and utm_campaign together. A link with only a source ends up Unassigned.
  • Lowercase everything.
  • Put the platform in the source (linkedin) and the type of traffic in the medium (social).
  • Keep the allowed values in one shared sheet, and build links from it.
  • Never put UTMs on internal links. They restart attribution mid visit.

You can’t repair past data. Fixing the links fixes it from that day on. I go deeper in UTM attribution.

Fix (not set)

What causes it depends on the dimension:

  • Source / medium (not set): events that arrive without a session. The most common cause I find is server-side events sent through the Measurement Protocol without the visitor’s session_id and client_id.
  • Campaign (not set) on Google Ads traffic: the Google Ads account isn’t linked to GA4, or auto-tagging is off and the ads have no UTMs.
  • Landing page (not set): a session with no page_view, often because the GA4 tag fired after another event or was held back by consent.
  • Anything from the last day or two: the data hasn’t finished processing. Check again after 48 hours.

For Measurement Protocol events, read the session ID from the GA4 cookie in the browser, pass it to your server, and include it with the event:

{
  "client_id": "123456789.1700000000",
  "events": [{
    "name": "generate_lead",
    "params": {
      "session_id": "1700000123",
      "engagement_time_msec": 1
    }
  }]
}

Payment Domains as Referrals

When a customer pays through PayPal, a bank’s verification page or a hosted checkout and returns, GA4 can start a new session with that domain as the source. The sale is then credited to the payment provider instead of the ad or search that brought the customer in.

  1. In GA4, go to Admin > Data streams and open the web stream.
  2. Click Configure tag settings, then Show more.
  3. Open List unwanted referrals.
  4. Add each payment and vendor domain: your payment gateway, 3-D Secure bank domains that show up in reports, booking tools and hosted forms.
  5. Save, then place a test order and confirm the session source stays the same.

Check the referral report every few months. New bank verification domains appear over time.

Cross-Domain Tracking

If visitors move between domains you own (a marketing site and an app, or a store on a second domain), list them under Configure tag settings > Configure your domains. Without it, your own domain shows up as a referral and the session splits in two. I cover the full setup in cross-domain tracking for Webflow and web apps.

What’s Normal

A small amount of Unassigned and (not set) is expected, usually 1 to 2% of sessions. If either is above 5%, or if any of it carries revenue, it’s worth fixing. For how GA4 decides source in the first place, see Google Analytics attribution and traffic source.