GA4 traffic from AI assistants
ga4_ai_trafficTraffic from AI assistants (ChatGPT, Perplexity, Gemini, Claude, Copilot, ...): how much, which engines, which pages they send people to, and how it compares with Google organic on the same pages.
Use for "do AI assistants recommend my site?", "how much traffic does ChatGPT send?", "which of my pages does ChatGPT link to?", GEO / AEO / LLM visibility questions. This measures visits, the outcome of being recommended. It cannot see answers that mention the site without a click.
A session counts as AI traffic when GA4 put it in its "AI Assistant"
channel OR its source is a known assistant. The channel alone misses
about 10% (measured over 446 properties), filed as Referral;
ai_sessions_outside_ai_channel says how many that was here.
property_id="all" returns one summary row per GA4 property the user can
see (first 25), for comparing a portfolio of sites in one call.
Reading the result:
ai_to_organicis the comparable number across sites (AI sessions per Google organic session);ai_share_of_totaldepends on how much direct/paid/social traffic the site has.Conversion numbers come from GA4 over exactly the AI sessions (
sessionKeyEventRate,transactions,purchaseRevenue), never from dividing summed rows. Key events are whatever the property marked, so quote them next totransactions. Across 77 measured properties the AI key-event rate matched organic (median ratio 1.06): do not tell the user AI visitors convert better unless this property shows it.pageslists where AI assistants land people, each with its organic sessions beside it. A page AI sends people to that Google barely does (or the reverse) is the finding to surface.weekly_ai_sessionsis by ISO week; the last week is usually partial.engines[].key_eventsare summed key events, which exceed sessions wherever a session fires several. Take rates fromai_totals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | lookback window (1-365), default 90. AI traffic is small on most sites (median 1.3% of sessions), so short windows are noisy | |
| page_limit | No | landing pages to return (1-100), default 20 | |
| property_id | Yes | GA4 property id, or "all" for a per-property summary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||