How to Track AI Referral Traffic in GA4
AI assistants like ChatGPT and Perplexity send real referral traffic — but it's easy to miss, scattered under generic 'Referral' or lost to under-attribution. Here's how to find it in GA4: the referrer domains to watch, how to build the view, and why the number is a lower bound.
On this page▾
1Why It's Easy to Miss
AI referral traffic is real referral traffic — GA4 just doesn't label it as "AI" for you. Visits from ChatGPT, Perplexity, and Gemini land in your reports scattered under generic "Referral," and a chunk gets lost to under-attribution entirely. So unless you deliberately isolate the known AI referrer domains, you won't see the channel that's increasingly shaping discovery. This is the traffic side of measuring AI visibility.
2The Referrer Domains
The traffic hides behind a handful of source/referrer domains. Watch for:
- chatgpt.com / chat.openai.com — ChatGPT
- perplexity.ai — Perplexity
- gemini.google.com — Google Gemini
- copilot.microsoft.com — Microsoft Copilot
- AI app and assistant domains — add new ones as you spot them
The list evolves as products launch and rename, so periodically scan your source reports for new AI referrers and add them.
3Build the View in GA4
- Open an Exploration and add Session source / referrer as a dimension, with sessions, engagement, and conversions as metrics.
- Filter to the AI domains above (a "matches regex" filter on the referrer catches them all at once).
- Save it — or create a custom channel grouping that classifies these referrers as their own "AI" channel so it shows up consistently in standard reports.
- Track the trend weekly or monthly, not just the snapshot.
Exact menu paths shift as GA4 updates, but the approach — isolate the referrers, then monitor — stays the same.
Set up Google Search Console & GA4
Connect Google's APIs to enrich your AI visibility data with real field metrics and traffic.
4Attribution Caveats
Be honest about the limits: GA4 undercounts true AI influence. Some AI answers are consumed with no click (zero-click search), some referrals arrive without a referrer and fall into "Direct," and product behavior changes. So treat your AI referral number as a directional lower bound, not a precise total. Rising is the signal you care about, even if the absolute figure is understated.
5Pair It With Visibility Metrics
Because traffic under-attributes, don't rely on it alone. Pair GA4 AI referrals with presence metrics — mention rate and AI Share of Voice — so you see both "are we being cited?" and "is it converting into visits?" Together they give the full picture: visibility leading, traffic confirming.
Frequently Asked Questions
How do I track AI referral traffic in GA4?
Filter your traffic by session source/referrer for known AI domains — chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com, and similar. Build an exploration or comparison in GA4 that isolates these referrers, then track sessions, engagement, and conversions from them over time. It's referral traffic like any other; you just have to know which domains to look for.
Which referrer domains indicate AI traffic?
Common ones include chatgpt.com and chat.openai.com (ChatGPT), perplexity.ai (Perplexity), gemini.google.com (Gemini), copilot.microsoft.com and bing.com in copilot contexts, and various AI app domains. The exact list evolves as products change, so periodically add new AI referrers you spot in your source reports.
Why is AI traffic hard to measure?
Several reasons: some AI answers are consumed without a click (zero-click), some referrals arrive without a clear referrer or get bucketed as direct, and product behavior changes over time. So GA4 likely undercounts true AI influence. Treat the numbers as a directional lower bound and pair them with AI visibility metrics like mention rate and Share of Voice.
Should I create a GA4 channel group for AI traffic?
It can help. You can create a custom channel grouping or segment that classifies known AI referrers as their own channel, so AI traffic shows up consistently in reports instead of scattered across 'Referral.' Maintain the domain list as it evolves. It won't fix under-attribution, but it makes the traffic you can see easy to monitor.
Is AI referral traffic worth tracking if it's small?
Yes — the trend matters more than the current volume. Even small AI referral numbers rising over time confirm your visibility work is converting into real visits, and AI traffic is often high-intent. Track it as a leading indicator alongside your AI visibility metrics, not as your only measure of AI impact.