playbook · measurement · ga4

How to measure AI referral traffic in GA4.

The complete GA4 setup: Custom Channel Group regex, client-side attribution event, and the 2026 benchmarks your conversion rates should hit.

Why the GA4 default report underreports AI traffic.

GA4’s default Channel Group was built for a pre-AI web. Traffic from chat.openai.com, perplexity.ai, gemini.google.com, and claude.ai lands mostly in Referral (when the referrer header survives), some in Direct (when the AI client strips it), and a meaningful slice in (Other). Looking at the channel report, you see none of these called out by name.

Conservative estimates: 30–70% of actual AI-referred sessionsare invisible in the default report. If you’re measuring “AI visibility ROI” off the default channel group, the number you’re reporting is wrong. The fix is one-time setup — 15 minutes per GA4 property.

Step 1 — Build the Custom Channel Group.

GA4 → Admin → Data display → Channel groups → + Create new channel group. Add 4 channels in this order (first-match-wins):

Channel 1: ChatGPT

Rule: Session source matches regex → ^(chat\.openai\.com|chatgpt\.com|openai\.com)$

Channel 2: Perplexity

Rule: Session source matches regex → ^(www\.perplexity\.ai|perplexity\.ai)$

Channel 3: Google AI (Gemini + Bard)

Rule: Session source matches regex → ^(gemini\.google\.com|bard\.google\.com)$. Note: AI Overviews referrals come through as google / organic and are not isolable at the GA4 level — see the limitations section below.

Channel 4: Claude / Other AI

Rule: Session source matches regex → ^(claude\.ai|anthropic\.com|you\.com|copilot\.microsoft\.com|bing\.com\/(chat|copilot))$

Step 2 — Client-side attribution event.

The Custom Channel Group buckets sessions. To tie AI referrals to conversions, fire a GA4 event on every page load that originated from an AI source. Paste this into the site’s <head>:

<script>
  (function () {
    if (!window.gtag) return;
    var AI_HOSTS = [
      'chat.openai.com', 'chatgpt.com', 'openai.com',
      'perplexity.ai', 'www.perplexity.ai',
      'gemini.google.com', 'bard.google.com',
      'claude.ai', 'anthropic.com',
      'you.com',
      'copilot.microsoft.com'
    ];
    var ref = document.referrer || '';
    try {
      var host = new URL(ref).hostname;
      if (AI_HOSTS.some(function (h) { return host === h || host.endsWith('.' + h); })) {
        window.gtag('event', 'ai_referral_session', {
          ai_source: host,
          event_category: 'ai_search',
          non_interaction: true
        });
      }
    } catch (e) {}
  })();
</script>

Now every conversion event (signup, demo request, purchase) can be sliced by “happened inside an ai_referral_session” — the single highest-value metric this program produces.

Step 3 — Single-regex for ad-hoc reports.

For Explorations, Segments, and Audiences where the Custom Channel Group isn’t available, use this one-paste regex:

^(chat\.openai\.com|chatgpt\.com|openai\.com|www\.perplexity\.ai|perplexity\.ai|gemini\.google\.com|bard\.google\.com|claude\.ai|anthropic\.com|you\.com|copilot\.microsoft\.com|bing\.com\/(chat|copilot))$

Apply as: Dimension = Session source, Match type = matches regex.

The limitation to name explicitly: Google AI Overviews.

AIO traffic is not isolable in GA4. Clicks from inside an AI Overview come through as google / organic, indistinguishable from plain organic. You cannot build a channel group or regex that separates them. Two workarounds:
  • Infer from Search Console CTR drops. For queries that trigger AIO, organic CTR has dropped an average of 61% since June 2024 (Dataslayer, 2026). The shortfall is the AIO impact.
  • Use AIO-specific citation tracking.Probe tools like Cited, Profound, or Semrush AI Visibility Toolkit measure AIO citations directly. Cited’s probe data is the source of truth for AIO attribution in its reports.

The benchmarks — what conversion rates should you hit?

MetricGoodGreatExceptional
AI referral conversion rate (B2B SaaS)5–10%10–15%15%+
ChatGPT referral conversion10%15%20%+
Perplexity referral conversion5–8%10–12%12%+
AI referral share of total site traffic0.2–0.5%1–2%3%+

Per-platform B2B baselines for comparison (Seer Interactive / ALM Corp, 2026): ChatGPT 15.9%, Perplexity 10.5%, Claude 5%, Gemini 3%, Google Organic 1.76%. The gap is structural — AI pre-qualifies visitors by answering the top-of-funnel questions before they click.

The 7-day verification ritual.

  1. Apply the channel group in GA4 Admin.
  2. Deploy the client-side event via GTM or direct script.
  3. Use GA4 DebugView to confirm ai_referral_session fires on a test visit from Perplexity.
  4. Wait 24 hours for GA4 daily processing to backfill.
  5. Open Reports → User acquisition; switch the primary dimension to the new channel group.
  6. Confirm non-zero rows for ChatGPT + Perplexity + Google AI + Claude / Other AI.
  7. In Explore, build a report: conversions split by “session included ai_referral_session” vs not. Compare conversion rates against the benchmark table.

If all four AI channels register zero sessions for 7+ days, the regex failed — revisit step 1. If only ChatGPT registers, the brand has no presence on Perplexity / Gemini / Claude yet and the off-site playbook is the fix.

How Cited uses this in monthly reports.

The assemble-reportjob pulls AI citation data from the internal probe database and includes a section titled “AI referral attribution” that stitches three numbers:

  1. AI referral sessions (from GA4 when operator has wired this playbook).
  2. AI-referred conversion count (from the ai_referral_session event joined with existing conversion events).
  3. AI-referred conversion rate vs overall site conversion rate — the headline number.

Without the GA4 setup above, the report falls back to internal probe-based attribution only. Operators wire the GA4 side during the onboarding call. See Cited pricing or start with the free audit.

◉ faq

What most people ask first.

Does GA4 show AI referral traffic by default?+
No. AI-referred sessions land in (Other), Direct, or Referral channels by default, spread across too many buckets to read. You need a Custom Channel Group to bucket ChatGPT, Perplexity, Gemini, Claude sources into a single "AI Search" channel. Without it, 30–70% of AI-referred sessions silently disappear from your reports.
Can I isolate Google AI Overviews traffic in GA4?+
Not directly. AIO clicks come through as google / organic — indistinguishable from plain organic at the GA4 level. Use Cited's probe data or Semrush AI Visibility Toolkit for AIO-specific attribution. For GA4, infer from CTR drops on AIO-triggering queries in Search Console.
What's a good AI referral conversion rate?+
5–10% = good. 10–15% = great. 15%+ = exceptional. Per-platform B2B benchmarks (Seer Interactive, 2026): ChatGPT 15.9%, Perplexity 10.5%, Claude 5%, Gemini 3%, Google Organic 1.76%. AI traffic runs 3–6× the organic rate because AI pre-qualifies the visitor before they arrive.
Why does Google organic underperform AI referrals so badly?+
AI referrals are further down the funnel at arrival. The AI already answered the basic question, the visitor is coming to commit. Google organic visitors are earlier in research. The 14.2% vs 2.8% conversion gap (Semrush, 2025) is structural, not a measurement artifact.
How long does GA4 take to backfill after I set up the channel group?+
24 hours. Don't panic if the new channel shows zero data the first day — GA4 backfills on a daily processing cycle.
What does Cited include on this?+
Every tier ships with a GA4 setup walkthrough (docs/ga4-ai-attribution.md in the repo). Growth and Dominate tiers include an operator session to wire it live against the client's property. Monthly reports include AI referral sessions, conversion counts, and conversion rate — sourced from GA4 where available, from Cited's own probe attribution where AI Overviews hide it.
◉ keep reading

Want Cited to run the audit for you?

50 target queries, 5 AI engines, competitor gap analysis. 48-hour turnaround. Free.

Get your free audit →