How to track traffic from ChatGPT and other AI assistants in GA4
Visits from ChatGPT, Perplexity, Gemini, Claude and Copilot are easy to miss in Google Analytics 4. Here's how to find them, give them their own channel and measure what they're worth.
AI assistants now send real visitors to websites. When ChatGPT, Perplexity, Gemini, Claude or Copilot cite a page, some people click through. The problem is seeing those visits in your analytics, and then knowing whether they convert.
This guide shows how to check what Google Analytics 4 is already capturing, how to build a channel that catches everything, and what the data can and can’t tell you.
Step 1: Check what you already have
Google has added an AI Assistant channel to GA4’s default channel grouping. Before that, AI chatbot traffic landed in Referral by default, and teams had to build their own channel groups with regex to separate it.
Open Reports → Acquisition → Traffic acquisition and look for:
- An “AI Assistant” row in the default channel column
- Sources such as
chatgpt.com,perplexity.ai,claude.ai,gemini.google.comandcopilot.microsoft.com(switch the dimension to Session source)
If you see them, you’re already getting AI referral traffic. The question is whether you’re seeing all of it.
Step 2: Build a custom channel group that catches everything
The default AI Assistant channel depends on how each visit is tagged. The same assistant can arrive as a referral, with a utm_source=chatgpt.com tag, or with no medium at all, so some visits can still slip into Referral or Unassigned.
A custom channel group that matches on source only fixes this. It also applies retroactively, so older sessions get reclassified too.
- Go to Admin → Data display → Channel groups → Create new channel group.
- Name it something like “Channels with AI”.
- Add a new channel called AI Assistants.
- Set the condition to Session source matches regex and paste:
chatgpt|openai|perplexity|claude|anthropic|gemini|copilot|deepseek|grok|meta\.ai
- Move the channel above Referral. GA4 assigns each session to the first rule it matches, from top to bottom. If AI Assistants sits below Referral, it never fires.
- Save, then pick this channel group in your Traffic acquisition report.
Two things to know. GA4 limits how many custom channel groups a property can have, so use the slot deliberately. And review the regex every few months, because AI products change domains and new assistants appear.
Step 3: See which pages AI assistants send people to
In Explore, create a free-form exploration with:
- Rows: Landing page + query string
- Columns: Session source
- Values: Sessions, Engaged sessions, Key events
- Filter: your AI Assistants channel
This shows which pages get cited and clicked. Those pages tell you what AI systems consider your best answers, which is useful input for generative engine optimization.
Step 4: Measure whether the traffic is worth anything
Sessions alone don’t matter. Compare the AI channel against Organic Search and Paid Search on:
- Engagement rate and average engagement time
- Key event rate (sign-ups, demo requests, purchases)
- Revenue per session, if you’re ecommerce
Visitors from AI answers often arrive further along in their research, because the assistant has already explained the basics. Check whether that’s true for your site rather than assuming it.
What GA4 won’t show you
- Missing referrers. Some AI apps, especially on mobile, don’t pass a referrer. Those visits show up as Direct, and no regex can recover them.
- Zero-click answers. When an assistant mentions your brand but nobody clicks, nothing reaches your analytics. Watch branded search volume and direct traffic for indirect signs.
- Google’s own AI features. Clicks from AI Overviews and AI Mode are generally reported as Google organic traffic, not as a separate AI source.
So treat your AI Assistants channel as a lower bound, not the full picture.
A simple monthly routine
- Check AI Assistant sessions and key events against last month.
- List the top 10 landing pages from AI sources.
- Run your key buyer questions through the main assistants and note whether you’re mentioned.
- Update or expand the pages that get cited, and fix the ones that describe you wrong.
Sources: Search Engine Journal on GA4’s AI Assistant channel, Search Engine Journal on custom AI channel groups.
Get the inside track every week
One email a week: what changed in AI search and paid media, one ad teardown, and one tool worth your time. No fluff.