AI referral traffic in GA4
Who it is for
Anyone who wants to know whether AEO work produces visits, and which pages earn them.
The job
Count sessions that arrive from AI assistants, rank the landing pages they reach, and compare their quality with other traffic.
Tools and skills
On the aeo-toolkit server. Sign in with your AEO Toolkit account and connect Google on your project.
list_ga4_propertieslists the GA4 properties you can read.ga4_run_reportruns a report. It takespropertyId,dateRanges,dimensions,metricsandlimit. It has no filter argument, so you filter the returned rows yourself.
The method and the referrer regex are in the aeo-ai-referral-analytics skill.
Steps
- Call
list_ga4_propertiesand confirm the property with the owner. Do not guess the ID. - Run
ga4_run_reportover at least 28 days. Use dimensionssessionSourceandsessionMedium, metrics such assessionsandengagedSessions, and a highlimitso the long tail is not cut. - Match AI sources with the regex in the skill. Also list sources that almost match and any unfamiliar source with
ai,gpt,chatorclaudein the name. Review them yourself. New assistants appear faster than any list. - Re-run with
landingPageadded. Filter to the AI sources and rank pages by sessions. - Compare engaged sessions per session, and key events, against organic search. With fewer than about 30 AI sessions, say the comparison is too thin.
- Repeat weekly only if the volume supports a trend.
What you get
- “At least N sessions” from AI assistants, with the denominator: AI sessions as a share of all sessions, both counts shown.
- The pages assistants actually send people to.
The GA4 tools live on the account server, which signs in with your AEO Toolkit account.
Limits
- The number is a floor. Readers who see your brand in an answer and later type your URL arrive as direct or organic.
- Copied links, in-app browsers and some privacy settings drop the referrer.
- Assistants that do not tag their links cannot be identified in GA4.
- Do not apply a correction multiplier. There is no verified one.
- A visit does not show that an AEO change caused it.
AEO Toolkit is an open-source instrument by Advance Labs.