How to see AI referrals in Google Analytics 4
In short
AI assistants show up as referral sources in GA4. Here is where to look and how to group them.
In Google Analytics 4, visits from AI assistants appear as referrals from domains such as chatgpt.com, perplexity.ai, claude.ai, gemini.google.com and copilot.microsoft.com.
Where do I look?
Open Reports, then Acquisition, then Traffic acquisition. Change the main dimension to Session source / medium and search for the assistant’s name.
How do I group them?
Create a custom channel group with a channel called AI assistants. Set the rule to Source matches regex, with a pattern that lists the domains you want, for example chatgpt|openai|perplexity|claude|gemini|copilot. Place it above Referral so it wins.
What will be missing?
- Clicks from apps that send no referrer land in Direct.
- People who read an AI answer and type your name later look like Direct or Organic.
- Crawler visits never appear. GA4 needs a browser that runs JavaScript.
So what do the numbers mean?
Treat them as a floor, not a total. Watch the trend and the landing pages. For crawler visits, you need server logs or a server-side tool.

Free downloads
Four PDFs to put this into practice
The AEO checklist, the AI crawler cheat sheet, an llms.txt template and writing guidelines.
Get the PDFs