العربية Build a link – free

Why campaign traffic shows as Unassigned or Direct in GA4

Two GA4 labels that hide where visits came from, the usual causes, and a checklist to fix them.

Unassigned means GA4 knows the source and medium but no channel rule matches them. Direct means GA4 has no source at all: no UTM tags and no referrer. Unassigned is fixed by changing your tags; Direct is fixed by tagging links that travel without a referrer.

Why visits are Unassigned

  • A medium GA4 doesn’t recognise, such as mail, newsletter, print, qr, offline or whatsapp as a medium, together with a source that isn’t a known site. Google’s wording: the value it uses “when there are no other channel rules that match”.
  • A user-defined source or medium that only your team understands, for example gmb / local.
  • Tagging problems Google lists: events sent before the configuration tag, a changed cookie prefix, gaps in server-side tagging, or a client or session ID changed by hand. These leave sessions without the information needed to assign them.

Check any pair in the GA4 channel checker.

Why visits are Direct

  • Links opened from apps (WhatsApp, Instagram, TikTok, Snapchat, email apps) often arrive without a referrer.
  • Documents and PDFs: a link clicked in a PDF, a slide or a spreadsheet carries no referrer.
  • QR codes without tags: a scan opens the page with no referrer, so an untagged code is always Direct.
  • Redirects that drop the query: a redirect from http to https, from example.com to www.example.com, or through a shortener that removes the ?utm_… part.
  • Typed or bookmarked addresses, which really are direct.

A checklist that fixes most of it

  1. Tag every link you control that leaves your site: emails, messages, social bios, QR codes, PDFs, partner links.
  2. Use mediums GA4 recognises: email, social, paid_social, cpc, referral, sms, affiliate, display.
  3. Open each tagged link once and check that the address bar still shows the utm_ tags after any redirects.
  4. Watch GA4’s Realtime report for the visit with your source and medium; standard reports can take 24 to 48 hours.
  5. Keep values in lower case, so one campaign doesn’t split into several rows.

And (not set)?

A link with some tags but no utm_campaign shows the campaign as (not set). Google Ads traffic can also show (not set) when auto-tagging and the Google Ads link aren’t set up. Always send source, medium and campaign together; the UTM checker flags missing ones.

Frequently asked questions

Is Unassigned traffic bad?

It isn’t lost: the source, medium and campaign are still recorded, so you can find it by campaign. It only means no default channel matched. Fix the medium if you want it in a channel.

Why does WhatsApp traffic show as Direct?

The WhatsApp app usually opens links without a referrer. Tag every link you send with utm_source=whatsapp and utm_medium=social (or sms-style mediums for messages) so GA4 can credit it.

Can I move Unassigned traffic into a channel after the fact?

Custom channel groups in GA4 are applied to reports, including past data, so a new Print channel can classify earlier visits tagged print. Changing the tags only affects new visits.

How do I test a link?

Open it in a private window, then look for your source and medium in GA4’s Realtime report within a few minutes.

Sources

Rules checked against Google’s documentation on 29 November 2026.

Keep reading