Free Setup Kit · Analytics
GA4 AI Referral Traffic Setup Kit
Isolate measurable visits from major AI assistants in Google Analytics 4 in five minutes, while accounting honestly for dark-traffic blind spots.
Reference ChartVerified November 2026 against Google Analytics 4 RE2 regex and Google Search Console Generative AI reporting documentation. Free to download or embed with attribution.
1. Tested GA4 Regex for AI Assistant Sources
Copy this RE2-compatible pattern into GA4’s Session source condition (matches regex):
^(.*\.)?(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|meta\.ai|chat\.mistral\.ai)$2. Create an “AI Assistants” Custom Channel Group
- Open GA4 and go to Admin → Data display → Channel groups.
- Click Create new channel group (or copy the default group).
- Click Add new channel and name it
AI Assistants. - Add condition: Source → matches regex → paste the regex above.
- Crucial step: Click Reorder and drag
AI Assistantsabove Referral. Otherwise GA4 will continue filing those visits under generic Referral. - Save the channel group and wait for new sessions to populate (custom channel groups also apply retroactively in standard reports).
3. Build a Landing-Page Exploration
- Rows: Session source, Landing page + query string.
- Values: Sessions, Engaged sessions, Engagement rate, Key events (conversions).
- Filter: Session custom channel group exactly matches
AI Assistants.
4. What GA4 Cannot See (Pair With Upstream Tracking)
- Mobile app referrer stripping: Clicks from native mobile apps frequently arrive as Direct traffic.
- Zero-click brand influence: A buyer reads your name in ChatGPT or Google AI Overviews, then searches your brand in Google later.
- Google AI Overviews / AI Mode links: These appear inside Search Console’s Generative AI performance report (impressions only) and blend into organic search in GA4.
Pair GA4 visit tracking with upstream answer monitoring in Mentioned (free plan for 5 weekly ChatGPT questions, or daily across all six platforms on paid plans). Read the complete walkthrough in How to Track AI Referral Traffic in GA4.
Get New Guides and Free Templates by Email
Practical guides, templates, and research on how AI answers choose which businesses to cite. We send a confirmation link first, and you can unsubscribe anytime.
