All posts
SEO7 min read

Attributing traffic from AI search engines in GA4

ChatGPT, Perplexity and Gemini increasingly drive direct traffic. Here is how to capture, segment and attribute it correctly in GA4.

LE
LumenEntity Research
Visibility & AI search team

AI engines are quickly becoming a top-five traffic source for technical brands. If they sit inside 'Direct', you cannot manage what you cannot measure.

Known referrers

  • chatgpt.com, chat.openai.com
  • perplexity.ai, www.perplexity.ai
  • gemini.google.com (often strips referrer)
  • copilot.microsoft.com, bing.com/chat

Custom channel grouping

In GA4, create a custom channel 'AI Search' with a rule matching the referrers above. Place it ahead of Organic and Direct in priority.

Event-level enrichment

Capture the full referrer as a user-scoped or event-scoped parameter. It enables per-engine reporting without rebuilding the channel rules every quarter.

The Gemini problem

Gemini frequently sends users without a referrer. Mitigate with branded-query trend analysis and on-site surveys ('How did you hear about us?').

Frequently asked questions

Will Google ever report AI search natively?
Search Console already shows AI Overviews data for enrolled properties. Native ChatGPT reporting is unlikely.
Should I use UTM-tagged outbound links?
Only on places you control (docs, social posts). You cannot tag links inside AI answers.
Does AI Search traffic convert?
Yes, often better than generic organic — users arrive pre-qualified by the model.
AnalyticsGA4Attribution

Keep reading