Track ChatGPT and AI traffic in GA4
How to see visits from ChatGPT, Gemini, Claude, Perplexity and other AI assistants in Google Analytics 4. It's the setup I use when I report on AI search.
GA4 has a built-in AI Assistant channel. Open Reports → Acquisition → Traffic acquisition and find the AI Assistant row. Google doesn't publish its full list of AI tools, so also build a custom channel group that catches the rest, such as Perplexity. Then check Search Console for AI Overviews and your CRM for leads.
Google announced the AI Assistant channel on 13 May 2026. Before that, AI visits ended up in Referral, Unassigned or Direct, depending on whether the AI tool passed on where the visit came from and how the link was tagged. The new channel makes the AI visits GA4 recognises easier to spot, but Google's announcement doesn't say older visits are moved into it. For step 4 you need Editor access to the GA4 property.
Step 1: Find the AI Assistant channel
In GA4, go to Reports → Acquisition → Traffic acquisition. The table groups visits by channel. Look for the AI Assistant row. If it isn't there, GA4 hasn't recorded a visit it recognises as coming from an AI assistant in that date range.
How GA4 decides: when the referring site matches its list of AI assistants, it sets the medium to ai-assistant and the campaign to (ai-assistant). The channel is simply "medium is ai-assistant". Google's help page gives ChatGPT, Gemini, Deepseek, Copilot and Grok as examples, and Google's launch note names ChatGPT, Gemini and Claude. Neither page publishes the full list.
Step 2: See which AI tools sent the visits
In the same report, change the main dimension from channel to Session source / medium. Rows ending in / ai-assistant are the AI visits, and the source shows the tool, for example chatgpt.com / ai-assistant.
Step 3: Check Referral and Unassigned for missed AI visits
Still in Session source / medium, look through the rows with referral as the medium, then the channel called Unassigned (visits that matched no channel rule, for example a link tagged with a source but no medium). Scan both for AI tools: perplexity.ai, claude.ai, chat.deepseek.com and so on. An AI source showing up here means GA4 didn't count those visits in its AI channel, at least not every time. Write those sources down for the next step.
Step 4: Build a custom channel group
The default channel group can't be edited, so make your own copy and add a channel that you control:
- Go to Admin → Data display → Channel groups and click Create new channel group. It starts as a copy of the default group.
- Name it, for example "Channels with AI".
- Click Add new channel, name it "AI assistants", and add a condition: Source · matches regex · the list below.
- Click Reorder and move "AI assistants" above Referral. GA4 puts each visit in the first channel it matches, so if Referral comes first it takes these visits.
- Click Save group.
A starting list (check your own source values and add to it):
chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|chat\.deepseek\.com|grok\.com
Google's help page has its own example regex. It includes short terms such as "ai", which can also match unrelated sources that contain those letters. I prefer a list of exact domains, and I add new ones when they show up in Referral or Unassigned.
A standard GA4 property allows two custom channel groups (360 properties allow five), so don't waste one. And Google says custom channel groups can be applied to your reports retroactively. That gives you a fairer view of AI visits before May 2026 than the default channel, which only starts at its launch. It can only sort what GA4 stored, though: a visit that arrived with no source recorded stays in Direct. To use the group, go back to Traffic acquisition and pick it from the dimension menu.
Step 5: Look at what AI visitors do
Visits alone don't tell you much. In the same report, look at key events (your enquiry form, email clicks, bookings) for the AI rows. AI numbers are usually small, so look at months and quarters, not days.
For one client, an Australian legal-services firm, GA4 recorded 134 visits and 38 key events from AI assistants between 9 June and 31 October 2026. The firm's CRM gave the clearer growth figure: contacts whose first source was an AI answer went from 2 to 10 (1 January to 14 November, 2025 vs 2026). The full story is in the AI search case study.
Google AI Overviews and AI Mode aren't in this channel
Google's help page says the AI Assistant channel excludes AI Overviews and AI Mode. Visits from those arrive as Google organic search. To measure them, use Search Console: Google says AI feature traffic is included in the Performance report under the "Web" search type. A click on a link in an AI Overview or AI Mode counts as a click. Every link in one AI Overview gets the same position. Google's pages don't describe a separate AI Overviews filter, so expect those clicks to be mixed in with normal results.
What GA4 can't see
- Visits with no referrer. If a visit arrives without referrer details, GA4 can't tell it came from an AI tool. It usually lands in Direct. That doesn't make Direct a measure of AI traffic: it also holds typed addresses and saved links. Leave it unattributed unless something else, such as what a lead told you, backs it up.
- Answers without a click. If ChatGPT or Claude names your business and the person searches for you later, or just emails you, GA4 has nothing to connect it to.
- Before and after May 2026. The default AI Assistant channel shows nothing before its launch because it didn't exist. Don't call that a jump from zero. Compare with a custom channel group or with CRM data instead.
That's why I use three sources together: GA4 for the AI visits it can recognise, Search Console for Google's AI features, and the CRM for leads. Add "an AI assistant (ChatGPT, Claude, Perplexity…)" as an option when your form or sales team asks new leads how they found you.
Quick version
- Check the AI Assistant row in Traffic acquisition.
- Look in Referral and Unassigned for AI tools GA4 didn't recognise.
- Build a custom channel group with an "AI assistants" channel above Referral.
- Watch key events, not just visits.
- Use Search Console for AI Overviews and AI Mode, and your CRM for leads.
Measuring is the last step of getting found in AI answers. For the steps before it, read the checklist for getting cited by AI search.
Sources
- Google Analytics Help: Default channel group (AI Assistant, Referral, Direct)
- Google Analytics Help: Custom channel groups
- Google Analytics Help: What's new in Google Analytics (13 May 2026: AI Assistant traffic)
- Google Search Central: AI features and your website
- Search Console Help: What are impressions, position and clicks?