AI-native DeepTechDeepSEODeepAEOAI agentsGenerative searchHuman-approved

How to measure visits and sales from ChatGPT and other AI assistants in Google Analytics 4

By the SEOCells team, OmCells R&D Labs LLP · Published

To measure visits from AI assistants in Google Analytics 4, group sessions whose source is chatgpt.com, perplexity.ai, gemini.google.com, claude.ai or copilot.microsoft.com into one segment or channel, then mark your leads, sign-ups and purchases as key events. Add a regular check of AI answers, because many people read an answer and never click.

Why measure AI assistants separately?

Visits from AI assistants behave differently from search visits: people often arrive with a narrower question and a decision half made. Lumped into “referral”, they are invisible. Separating them shows whether your AEO work brings people, and whether those people become customers.

Which sources should the segment include?

Use the referring domains of the assistants your customers use. ChatGPT links often also carry utm_source=chatgpt.com, which GA4 records as the session source. A regular expression keeps the list in one place:

chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|claude\.ai|copilot\.microsoft\.com

Review the list every few months: new assistants appear and domains change. Google AI Overviews and AI Mode clicks arrive as Google organic traffic and cannot be separated by referrer.

How do you set it up in GA4?

  1. In Admin → Data display → Channel groups, copy the default group and add a channel called “AI assistants” whose condition is Session source matches the regular expression above. Place it above “Referral”.
  2. Or, for a quick look, open Explore, create a free-form exploration and add a segment with the same condition.
  3. In Admin → Data display → Events, mark the actions that matter as key events: generate_lead for enquiries, sign_up, purchase.
  4. Build a report of sessions, engaged sessions, key events and revenue by channel, and compare AI assistants with organic search.
  5. If your site sends the AI source as an event parameter (for example ai_source), register it as an event-scoped custom dimension so it can be used in reports.

What about people who never click?

Many answers satisfy the question without a visit, so clicks undercount your real visibility. Complement analytics with direct measurement: a fixed list of customer questions asked of each assistant several times a month, recording whether you are cited, where, and who else is. Watch brand searches and direct visits too — people who saw your name in an answer often search for it later.

How does SEOCells measure this?

seocells.ai is set up the same way: visits from ChatGPT, Claude, Perplexity, Gemini and Copilot are tagged with their source, and enquiries and sign-up starts are sent as events — only after the visitor accepts analytics cookies. For customers, the AEO Report samples live AI answers for your questions with ranges, and scores commercial impact separately from citations, so you can see both visibility and value.

Questions answered

Does ChatGPT traffic show up in Google Analytics?

Yes, when someone clicks a link in ChatGPT the visit usually arrives with chatgpt.com as the referrer or utm_source=chatgpt.com. By default GA4 files it under Referral, so create a channel or segment to see it separately.

Can I see Google AI Overviews clicks separately?

Not by referrer: clicks from AI Overviews and AI Mode arrive as Google organic search. Measure AI Overviews visibility by checking the answers for your questions directly.

Is AI traffic worth tracking for a small business?

Yes. It takes a few minutes to set up, and it shows whether work on AI visibility brings enquiries rather than just mentions.

Sources

  1. Google Analytics Help — Get started with Explorations
  2. ChatGPT crawlers — official documentation
  3. Google Search Central — AI features and your website

Search engines and AI assistants change often; check the linked documentation for the latest details. Nothing in this guide is a promise of rankings, citations or results.

See your visibility in AI answers, and what it is worth, in one report.

See the AEO Report