How to track AI traffic in Google Analytics 4 in 2026

Cyril Cretin
Founder RadarLLM.ai
AI traffic from ChatGPT, Perplexity, Gemini, and Claude often shows up as "Direct" or generic "Referral" in Google Analytics 4 — making it invisible in your reports. This guide shows you exactly how to isolate AI traffic with custom channel groups and regex filters, so you can finally measure what matters.
Why AI traffic is misattributed in GA4
GA4 was designed for a world where traffic comes from Google Search, social media, or email campaigns. LLMs don't fit any of these categories. The result: a blind spot in your marketing attribution.
Copy-paste without referrer
A user reads ChatGPT's response, copies the URL and pastes it in their browser. GA4 records "Direct" — you'll never know ChatGPT recommended you.
Mobile apps strip referrers
Mobile apps from ChatGPT, Perplexity, and Gemini strip referrer headers. The click exists, but GA4 can't see the source.
No default "AI" channel
GA4's default channel groups don't include an "AI Chatbots" category. AI traffic falls into "Referral" at best, "Direct" at worst.
Attribution blind spot
Without a dedicated channel, you can't compare AI vs organic traffic, calculate the ROI of your GEO optimizations, or prove the impact of your AI visibility.
GA4 setup step by step
Here's the complete procedure to create an "AI Chatbots" channel in GA4 and capture traffic from LLMs.
Access channel groups
Go to Admin → Data Settings → Channel Groups → Create custom channel group. Name it for example "Channels with AI".
Add the "AI Chatbots" channel
Click "Add new channel". Name it "AI Chatbots". This name will appear in all your GA4 reports.
Configure the regex filter
Set the condition: Source matches the regular expression below. This regex captures ChatGPT, Claude, Perplexity, Gemini, Grok, Copilot, and BingGPT.
CRITICAL: place the channel ABOVE "Referral"
GA4 evaluates channels from top to bottom. If "Referral" is above "AI Chatbots", it captures the traffic first. Drag your AI channel above Referral in the priority order.
Save and wait 24-48h
Save the channel group. Data will start appearing within 24 to 48 hours. The channel does not apply retroactively.
chatgpt\.com|chat-gpt\.org|claude\.ai|openai\.com|perplexity|gemini\.google\.com|x\.ai|copilot\.microsoft\.com|bnngpt
Copy this regex as-is into the "Source matches regex" field of your custom GA4 channel.
AI visibility KPIs
GA4 alone can't measure everything. Complete AI visibility requires combining GA4 data (clicks) and citation data (mentions in AI responses). Here are the 6 essential KPIs.
Citation Frequency
X / 15How often your brand appears in AI responses. Measured via RadarLLM across 120 tests (10 questions × 4 AIs × 3 runs). Not measurable in GA4.
RadarLLMAI Share of Voice
%Percentage of mentions for your brand vs competitors on the same queries. Key positioning indicator in the AI ecosystem.
RadarLLMAI Sessions & Conversions
↑ 14.2%Number of sessions and conversions from the "AI Chatbots" channel in GA4. The average AI traffic conversion rate is 14.2%, or 5x Google traffic.
GA4AI Conversion Rate
14.2% vs 2.8%Compare the conversion rate of your "AI Chatbots" channel with your "Organic Search" channel. The gap is typically 3x to 5x.
GA4Citation Drift
±40-60%Monthly stability of your AI citations. LLMs are non-deterministic: a 40-60% variance between two measurements is normal. Track the trend, not the exact number.
RadarLLMSentiment Score
+/-/~Tone of AI mentions: positive, neutral, or negative. Negative sentiment can destroy conversion even with good visibility.
RadarLLMRecommended dashboard
Here are the metrics to track weekly in your custom GA4 report + your RadarLLM dashboard.
| Metric | Source | Frequency |
|---|---|---|
| "AI Chatbots" channel sessions | GA4 | Weekly |
| "AI Chatbots" channel conversions | GA4 | Weekly |
| AI vs Organic conversion rate | GA4 | Weekly |
| Top landing pages from AI | GA4 | Weekly |
| Overall AI-Ready score | RadarLLM | Monthly |
| Citation frequency (X/15) | RadarLLM | Monthly |
| Mention sentiment | RadarLLM | Monthly |
| AI vs Organic vs Direct comparison | GA4 | Monthly |
GA4 limitations for AI traffic
GA4 is essential but insufficient alone. Here's why you need both perspectives — clicks and citations — for complete AI visibility measurement.
Invisible traffic
Copy-paste from ChatGPT and mobile apps generate no referrer. GA4 sees the click but not the source. Real AI traffic is likely 2 to 3 times higher than what GA4 reports.
GA4 measures clicks, not citations
When an AI cites your brand without a clickable link, GA4 sees nothing. Yet that mention influences the user's decision. You need a tool like RadarLLM to measure citation quality.
No "pre-click" view
GA4 tells you how many people arrived on your site from AIs. It doesn't tell you how many people saw your brand cited by AIs without clicking. Measuring both is essential.
Bottom line: GA4 measures clicks. RadarLLM measures citations. The combination of both gives you the complete picture of your AI visibility. Setting up GA4 is step one — measuring your citations is step two.
Related articles
Measure your AI visibility beyond GA4
Scan my website for freeReal Perplexity test · Free, in under a minute