Why this matters
AI engines are starting to drive measurable traffic. Without setup you will see ChatGPT and Perplexity referrals lumped into Direct or Other. With proper setup you can attribute conversions, track query volume, and see which AEO moves are working.
Step 1, identify the AI referrer domains
The current set of AI engines worth tracking.
- chat.openai.com and chatgpt.com
- claude.ai
- perplexity.ai and www.perplexity.ai
- copilot.microsoft.com
- gemini.google.com
- poe.com
- you.com
Step 2, create a custom channel group
In GA4, Admin, Data Display, Channel groups, Create new channel group. Add a rule named "AI Engines" with the condition Referrer matches regex.
(chatgpt\.com|chat\.openai\.com|claude\.ai|perplexity\.ai|copilot\.microsoft\.com|gemini\.google\.com|poe\.com|you\.com)Order this rule above Organic Search so the AI traffic does not get reclassified.
Step 3, add a custom dimension
Admin, Custom definitions, Create custom dimension. Name it "ai_engine", scope Event, Event parameter "ai_engine". Then in GTM or your tag setup, populate the parameter on the page_view event using a referrer regex.
Step 4, build the Looker Studio panel
The panel I deploy has four cards.
- AI sessions over time, broken down by engine.
- AI traffic conversion rate vs Organic Search baseline.
- Top landing pages from AI traffic.
- Engaged sessions by AI engine, not just sessions.
What good looks like in 2026
For a marketing site with 50000 monthly sessions, AI traffic ranges from 0.5 to 4 percent of total. Conversion rate on AI traffic is often 1.5 to 2 times Organic Search because users arrive with intent already shaped by the AI answer. If your AI traffic conversion rate is below your Organic Search rate, the AI is sending you wrong fit users and you should review what your pages are getting cited for.
Quick answers
- Why does Direct traffic include AI traffic?
- Some AI engines strip referrer headers when the user clicks a citation through a redirect. The traffic lands as Direct. There is no clean fix today. The custom channel group catches the rest.
- Can I track which prompt drove the visit?
- Sometimes. Perplexity passes the query in URL parameters. ChatGPT does not. Capture all UTM and referrer URL parameters in a custom dimension to maximize what you can see.
- Is GA4 the right tool for AI traffic analysis?
- GA4 plus a Looker Studio panel covers most needs. For deeper analysis on small samples, complement with PostHog or Mixpanel. Your warehouse plus a BI tool wins for executive reporting.
- How often should I review the AI traffic panel?
- Monthly for trend, quarterly for AEO investment decisions. Weekly is too noisy at typical traffic volumes.
- Should I run paid campaigns on AI engines?
- Perplexity is the only one with a paid ads beta as of 2026. Most teams should focus on AEO content first. Ads will follow once volume is large enough to matter.