Skip to content
AEO5 min read

AI Search Traffic Attribution: Why GA4 Undercounts AI Referrals by Half

A big share of your AI-referred traffic files itself as Direct. Why referrers die in transit, the exact GA4 channel-group regex that catches what survives, and the three-layer stack that recovers the rest.

Mariya B·Published September 20, 2026·Updated September 27, 2026
AI search attributionGA4AI trafficAEOmeasurement

Article

The AI Attribution Problem

Your AI referral traffic is growing. Your analytics can't see most of it — across a 200-site cohort tracked by Attrifast, a median ~34% of what GA4 files as "Direct" is actually AI-referred, with B2B SaaS skewing higher.

Three mechanisms kill the referrer before analytics ever sees the hit: in-app mobile browsers that strip it, referrer-policy headers, and copy-paste navigation. The result: your highest-converting discovery channel lands in Direct, and every budget decision you make from GA4 defaults systematically undervalues it. AI-referred visitors convert 3–6x higher than other channels in Erlin's 500-brand data — the traffic you're not counting is the traffic that performs best.

The measurement gap

GA4 isn't broken — it's accurately reporting what arrives at its doorstep. The referrer dies in transit more often than it survives, and dead referrers look like Direct traffic. The channel exists; the attribution doesn't.

Why Referrers Die

In-app browsers strip them. ChatGPT iOS uses WKWebView, Perplexity Android uses WebView, Claude and Copilot mobile follow the same pattern — all frequently drop the Referer header.

AI Overviews look identical to organic. Clicks from an Overview citation pass google.com — indistinguishable from a normal SERP click. No public referrer field separates them; AIO traffic is invisible by design.

Copy-paste is structurally invisible. Reader copies the URL from a ChatGPT answer, pastes into a new tab — no referrer exists to capture. A meaningful share of AI-influenced visits arrives exactly this way and always will.

The Referrer Reliability Map

SurfaceReferrer hostsReliabilityNotes
Perplexityperplexity.aiHighMost reliable AI engine for attribution — see Perplexity SEO
ChatGPT (web)chatgpt.comMediumSends on desktop, strips in mobile app — ChatGPT SEO
ChatGPT (mobile)—LowWKWebView strips; lands as Direct
Google AI Overviewsgoogle.comNoneIdentical to organic clicks
Claudeclaude.aiLowOften drops referrer entirely
Copilotcopilot.microsoft.comMediumPartially stripped via bing.com
Geminigemini.google.comLowInconsistent

The Three-Layer Fix

You can't make engines pass data they strip. You can build a stack that recovers most of the signal.

Layer 1: GA4 custom channel group

Google shipped a native "AI Assistant" channel in 2026 covering ChatGPT, Gemini, Deepseek, Copilot, Grok — but not Claude or Perplexity as of this writing, and it isn't retroactive. You need your own.

Create a channel group named AI Traffic, positioned above Referral and Organic Search, with this source regex:

chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|you\.com|poe\.com|phind\.com|kagi\.com|meta\.ai

Priority order matters — a Copilot session arriving via bing.com files as Organic if your AI rule sits below it. This layer catches every visit that does send a referrer. Copy it, paste it, done.

Links in your llms.txt, schema, and content can carry utm_source=chatgpt / utm_medium=ai_referral / utm_campaign=ai_citation. Only works when the engine renders your link clickable and the user clicks — but it's free signal on the traffic that does.

Layer 3: Server-side detection

The majority arrives with no referrer at all. Recovering it means joining every surviving signal server-side: intact referrers, UTMs, URL patterns, user-agents, and behavioral fingerprints (AI-referred visitors' time-on-page and conversion patterns differ measurably from Direct's). This is the layer Attrifast's tracking is built on — and the layer inside our own fleet.

What each layer catches

Layer 1: the ~30% that sends referrers. Layer 2: clicks through citations you control. Layer 3: the ~70% that arrives silent. You need all three — Layer 1 alone is where most teams stop, and it's why their AI numbers look wrong.

What the Fixed Picture Shows

Once attribution works, the pattern is consistent:

  • AI referral is the fastest-growing channel on the web — ChatGPT alone is ~800M weekly users, and referral volume from AI engines compounds with every model release.
  • AI-referred visitors convert 3–6x higher than other channels in Erlin's 500-brand dataset — they arrive pre-qualified by the answer that sent them.
  • The gap is biggest where you can't see it — engines that strip referrers hardest (Claude, mobile ChatGPT) are often the ones driving the most valuable sessions.

Reporting It to Clients

  • Separate line item. AI traffic is a distinct channel, not a rounding error inside Direct.
  • Citations alongside traffic. Traffic is downstream of citations — show both, correlate the trends. Framework: AI visibility tracking.
  • Trend over absolute. 50 → 500 AI sessions/month matters even at small absolute numbers. The trajectory is the story.
  • Revenue, not sessions. "AI visitors convert 3–6x higher" sells the budget; "500 ChatGPT visits" doesn't.

Frequently Asked Questions

Can I track AI Overview traffic in GA4?

Not precisely — AIO clicks pass google.com, identical to organic. You can estimate by comparing organic traffic before/after Overviews appear on your queries, but exact measurement doesn't exist publicly.

Didn't GA4 add an AI channel?

Yes — the native "AI Assistant" channel shipped in 2026, but it misses Claude and Perplexity and isn't retroactive. Keep the custom channel group on top of it.

How much of my Direct traffic is actually AI?

The Attrifast cohort's median is ~34%, B2B SaaS higher. If your Direct is unusually high and you've been getting cited, a meaningful share is probably AI.

Yes — costs nothing, catches the click-throughs that do happen. It won't fix copy-paste or stripped referrers; that's what Layer 3 is for.

Layer-3 detection is what the Altyzo platform runs server-side for agencies — $30K license. For brands, Altyzo Managed builds the whole attribution stack.

Written by Mariya BFounder at Altyzo — writes about AI search, entity SEO, and the agent fleet.

For agencies

Take on more clients without hiring more people.

Altyzo is self-hosted AI that does the research, writing, publishing, and monitoring for your clients' SEO, AEO, and GEO. Your team reviews it. $30K lifetime license.