As the share of visits from generative answers grows, businesses face a practical problem: how to correctly record and evaluate traffic that comes from AI chat windows.
With default analytics settings, visits from chatbots are often mixed in with general referral traffic or land in the Direct category, distorting the real picture of the return on AEO work.
A map of generative search traffic sources
When a user follows a link from a generated answer, the browser passes a Referer header. Below are the main sources you need to combine into a separate segment in your analytics system:
| Platform | Source domain in analytics (Referrer) | Note |
|---|---|---|
| ChatGPT (Web) | chatgpt.com, chat.openai.com | The main stream of visits from the web version of the chat. |
| ChatGPT (Android App) | android-app://com.openai.chatgpt | Visits from the official mobile app. |
| Perplexity AI | perplexity.ai | Clicks on footnote links in answers. |
| Claude | claude.ai | Clicks on links from Anthropic chats. |
| Gemini | gemini.google.com | Clicks on links from Gemini answers. |
Setting up a custom channel in Google Analytics 4
To see all generative traffic in one report:
- Go to Admin → Data display → Channel groups.
- Create a new channel group. The standard Default Channel Group cannot be edited: copy it and work with the copy.
- Add a channel and name it AI Search / AEO.
- Set the condition: Source matches regex
.*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com).* - Drag the AI Search / AEO channel above the Referral channel. GA4 applies the rules from top to bottom, and without this step, visits from AI systems will stay in Referral.
Once this is set up, you can directly track conversions, leads and the bounce rate of users who came from language model answers.
Setting up a segment in Yandex Metrica
In Metrica, visits from AI systems appear in the “Sites” report (Reports → Sources → Sites): it shows the domains chatgpt.com, perplexity.ai and the others from the table above. To view them as a single slice:
- Open the “Sources, summary” report and click “Add condition.”
- Choose a referrer condition (Sources → Referrer) and list the AI system domains from the table.
- Save the segment as AI Search / AEO so you can apply it to conversion and goal reports.
The Rank By Ai “Watch” plan: tracking brand mentions
Web analytics only shows users who have already clicked a link. But it is just as important to know how often the brand is recommended by name inside the chats themselves, even if the user did not click through to the site right away.
For this, Rank By Ai has the “Watch” plan at $990 per month:
- We track up to 15 key industry queries in generative systems.
- We record whether AI answers name your brand.
- We analyze which competitors the algorithms recommend and based on which data sources.
If you want an initial snapshot of your company’s presence in search and generative systems, start with a $99 Rank By Ai express site check. The full amount ($99) is deducted from the first month of ongoing work if you start working with us within 30 days.
Read next
- AEO site audit: a step-by-step protocol
- How to check whether AI names your company
- AEO economics: what a lead from AI costs
- How to measure the ROI of AI search work
- How to measure AEO effectiveness: from mentions to sales
- How to turn AI search visibility into leads
Frequently asked questions
How do visits from ChatGPT show up in Google Analytics 4?
Visits from the web version of ChatGPT are usually recorded in GA4 under the Referral source with the session value chatgpt.com. Visits from the mobile app may be recorded as Direct or via the android-app://com.openai.chatgpt protocol.
How much does regular monitoring of AI answers cost at Rank By Ai?
The agency has a dedicated “Watch” plan at $990 per month (tracking mentions for 15 queries). The initial check costs $99, and this amount is deducted from the first month if you start working with us within 30 days.