How to Track AI Traffic in GA4: ChatGPT, Gemini, Perplexity and Google AI Overviews

By Obsidian Six6 min read
Laptop screen showing website performance graphs, for a guide on how to track AI search traffic in GA4

Ask a room of Indian business owners whether ChatGPT sends them customers and most will say "maybe, but I can't see it". Their agency report shows Organic, Direct and Referral, and AI is nowhere.

That is changing. Google Analytics added an AI Assistant channel in May 2026, and Search Console now reports clicks from AI Overviews and AI Mode. But neither tool gives you the full picture by default. This guide shows how to track AI traffic in GA4 properly, what the default setup misses, and how to connect those visits to enquiries, which is the only number that matters.

How to track AI traffic in GA4: the short answer

To track AI traffic in GA4: check the new AI Assistant channel, build a custom channel group that also catches Perplexity and other AI referrers, mark your enquiry forms and WhatsApp clicks as key events, and use Search Console's Generative AI report for Google AI Overviews and AI Mode, which GA4 counts as Organic Search.

Why AI traffic hides in your reports

AI visitors reach your site in three different ways, and each lands in a different bucket:

  1. A link inside a chatbot answer (ChatGPT, Gemini, Claude, Perplexity). If the browser passes the referrer, GA4 can see where the visit came from.
  2. A link inside Google's AI Overviews or AI Mode. This is still a Google click, so it is counted as Organic Search.
  3. A link opened from a mobile AI app. Many apps open links without a referrer, so the visit shows as Direct.

There is also the visitor you will never see: someone who asks ChatGPT "best hotel in Pachmarhi for families", reads your name, then searches for you on Google or messages you on WhatsApp. That is why we pair analytics with a simple question on your enquiry form, covered below.

Step 1: Check GA4's AI Assistant channel

Google's default channel group documentation lists a release dated 13 May 2026. When the referrer matches a recognised AI assistant, GA4 sets the medium to "ai-assistant", puts the visit under the "AI Assistant" channel, and labels the campaign "(ai-assistant)". Google names ChatGPT, Gemini and Claude as examples but does not publish the full list.

To see it: Reports, Acquisition, Traffic acquisition, then look for AI Assistant in the session default channel group. No setup is needed.

The catch is what it leaves out. A Search Engine Journal analysis from July 2026 found that Perplexity was not on the recognised list and kept landing in Referral, that AI Overviews and AI Mode visits stay in Organic Search, and that AI app visits with no referrer end up in Direct.

ChatGPT tagging is also not fully stable. Search Engine Roundtable reported in October 2026 that ChatGPT's utm_source=chatgpt.com tags briefly went missing, pushing visits into Direct, before being restored a day later. If you see a sudden drop in ChatGPT visits with a matching rise in Direct, check this before you panic.

Step 2: Build a custom AI channel that catches the rest

GA4 lets you create your own channel group, and Google's own custom channel group help page uses "AI assistants" as its example. Here is how we set it up:

  1. Go to Admin, Data display, Channel groups, and create a new group (copy the default so the other channels stay the same).
  2. Add a channel called "AI search".
  3. Set the condition to Source, matches regex, and paste a pattern such as the example below.
  4. Move "AI search" above Referral and Direct, so it gets first claim on the visit.
  5. Save, then pick this channel group in your Traffic acquisition report.

Example regex (adjust it as new tools appear):

.*(chatgpt|openai|perplexity|gemini|copilot|claude|deepseek|meta\.ai|grok).*

A custom channel group applies to past data as well, so you can look back at earlier months right away. It still cannot classify visits that arrive with no source at all. For those, the form question in Step 4 is your best tool.

Step 3: Get Google AI Overviews and AI Mode data from Search Console

GA4 cannot split AI Overviews clicks from normal Google clicks. Search Console can. Its Generative AI performance report shows clicks, impressions and CTR for links to your site in AI Overviews and AI Mode, broken down by page, country, date and device. Google says it was rolled out to all properties worldwide as of 31 August 2026.

Two things to know. The report may not appear if your site has had too few AI impressions, and it does not cover the Gemini app or other Google products outside Search. If you do not see it yet, that itself tells you something: Google's AI features are not showing your pages much.

What to look at each month:

  • Pages with high AI impressions but low clicks. The AI answer may already satisfy the searcher. Make the page offer something the summary cannot, like a calculator, a price list or a booking link.
  • Pages that appear in AI features at all. These are the pages Google trusts on that topic. Build internal links from them to your service pages.

Step 4: Track leads, not just sessions

A hundred AI visits that never enquire are worth less than five that book a site visit. So:

  • Mark your conversions as key events in GA4. Form submissions, click-to-call, WhatsApp button clicks and booking confirmations. In our SEO work we set these up before changing any content, because without them every report is guesswork.
  • Add one question to your enquiry form: "How did you first hear about us?" with options like Google search, Instagram, a friend, and "ChatGPT or another AI assistant". It is simple and catches the visitors analytics never sees.
  • Ask on calls. Train whoever answers the phone to ask the same question and note it in the CRM.

A simple monthly AI search report

Here is the table we would put in a monthly report. The numbers below are an example only, not real client data:

Metric Where it comes from Example
AI search sessions GA4 custom "AI search" channel 140
AI search leads (key events) GA4, same channel 6
Lead rate from AI search Leads divided by sessions 4.3%
AI Overviews and AI Mode clicks Search Console Generative AI report 310
Leads who said "ChatGPT or AI" on the form CRM 4

Compare the AI lead rate with your Organic Search lead rate. If AI visitors enquire at a similar or higher rate, that is your case for investing more in generative engine optimization (GEO) and answer engine optimization (AEO).

Mistakes we see

  • Judging AI search on sessions alone. The volumes are small for most Indian SMBs. The quality is what matters.
  • Trusting one tool. GA4, Search Console and your CRM each see a different part. Use all three.
  • Forgetting to update the regex. New AI tools launch often. Review the list every quarter.
  • Changing content before tracking is in place. If you start GEO work without a baseline, you will never know whether it worked.

What to do this week

  1. Open Traffic acquisition in GA4 and check whether the AI Assistant channel shows anything for the last 90 days.
  2. Create the custom "AI search" channel group with the regex above.
  3. Check that your enquiry form, call button and WhatsApp button are marked as key events.
  4. Open Search Console and look for the Generative AI report.
  5. Add the "How did you first hear about us?" question to your main form.

If you want the background on why AI answers are changing search, read our explainer on GEO and AEO. If you run Google Ads, our post on AI Mode ads in India covers the paid side. And if you want us to set up this tracking and an AI search plan for your business, get in touch.

Frequently asked questions

Does GA4 show traffic from ChatGPT?

Yes. Since May 2026 GA4 has an AI Assistant default channel for recognised AI chatbot referrers such as ChatGPT and Gemini. Visits that arrive without a referrer, often from mobile apps, still land in Direct.

Where does Google AI Overviews traffic show up in GA4?

Clicks from AI Overviews and AI Mode come from Google, so GA4 counts them as Organic Search. To see them separately, use the Generative AI performance report in Search Console.

Why is Perplexity traffic showing as Referral in GA4?

Perplexity was not on GA4's list of recognised AI assistants as of mid-2026, so its visits fall into Referral. A custom channel group with a source rule fixes this.

Is AI search traffic worth tracking for a small business?

Yes, if you care about leads rather than visits. AI traffic is usually small, but tracking which of those visitors enquire tells you whether your GEO and AEO work is paying off.

  • generative engine optimization
  • answer engine optimization
  • ga4
  • ai search
  • search console