Your clients are asking a new question: “How many leads are we getting from ChatGPT?” In 2026 that's a fair thing to ask. AI assistants now recommend products, compare agencies and cite how-to guides, and some of those answers send visitors to your site. The challenge is that analytics tools were built for search engines and social networks, not chatbots.
Google Analytics 4 has started to catch up. It now has a dedicated AI Assistant channel, and ChatGPT tags many of its outbound links. But there are still gaps, and how you set up GA4 decides whether you see a clear picture or a muddle of referrals and “Direct” traffic.
This guide walks through every reliable method to track AI traffic in GA4: the built-in channel, a custom channel group you control, a quick report filter, and an exploration for landing pages and conversions. You'll also learn what GA4 cannot see and how to report AI traffic honestly.
Key Takeaways
- GA4's default channel group now includes an AI Assistant channel, with medium
ai-assistantand campaign(ai-assistant). - Clicks from Google AI Overviews and AI Mode are not in that channel; they are counted as Organic Search.
- ChatGPT adds
utm_source=chatgpt.comto links in its search results, which makes its traffic easier to spot. - A custom channel group with a regex rule gives you control over which AI tools are included, and it applies retroactively.
- Some AI visits arrive without a referrer and are recorded as Direct, so every GA4 figure for AI traffic is a minimum.
How AI traffic shows up in GA4
When someone clicks a link in an AI tool, GA4 tries to work out where they came from using the referrer and any UTM parameters in the URL. Depending on the tool and the device, that visit can land in very different places.
| Where the click happens | Typical source in GA4 | Where it is usually grouped |
|---|---|---|
| ChatGPT search result in a browser | chatgpt.com | AI Assistant (previously Referral or Unassigned) |
| Gemini, Copilot, Claude, Perplexity and similar web apps | The assistant's domain, e.g. gemini.google.com or perplexity.ai | AI Assistant if GA4 recognises the source, otherwise Referral |
| Google AI Overviews or AI Mode | google / organic | Organic Search |
| Mobile AI apps or in-app browsers that strip the referrer | (direct) / (none) | Direct |
| Links copied from an AI answer and pasted elsewhere | Varies | Often Direct or the platform where they were pasted |
Two points matter for reporting. First, Google treats its own AI search features as part of search. Its help page describes Organic Search as visits via non-ad links in organic results “including Google's AI Overviews and AI Mode.” Second, Google has not published the full list of assistants it recognises, so a niche tool may still show as Referral.
Method 1: Use the built-in AI Assistant channel
Google's What's new in Google Analytics page announced on 13 May 2026 a dedicated way to measure traffic from popular AI assistants. According to the default channel group documentation, AI Assistant covers visits from sources such as ChatGPT, Gemini, Deepseek, Copilot or Grok, and visits from a recognised assistant are given the medium ai-assistant and the campaign (ai-assistant).
To see it:
- In GA4, select Reports in the left menu.
- Open Acquisition > Traffic acquisition.
- Make sure the table's primary dimension is the session channel group (the report default).
- Find the AI Assistant row. Use the date picker to compare periods once you have enough data.
- Click the dimension drop-down and switch to Session source / medium to see individual assistants.
This is the easiest option and needs no setup. Its limits: you can't edit the default definitions, you can't see exactly which sources are included, and Google doesn't state that the channel reclassifies data from before the change.
Method 2: Build a custom AI channel group (recommended)
A custom channel group lets you define your own “AI Referrals” channel with a regex that you maintain. It's worth doing even with the built-in channel, because you decide which tools count and you can apply it to historical data.
“Custom channel groups can be applied to your reports retroactively.”
— Google Analytics Help, [GA4] Custom channel groups
You need Editor access or above on the property. Standard properties can have two custom channel groups (Analytics 360 properties can have five), each with up to 50 channels.
- Go to Admin and, under Data display, click Channel groups.
- Click Create new channel group. This starts from a copy of the default group, so all your normal channels are already there.
- Name it, for example “Channels incl. AI”.
- Click Add new channel and name it “AI Referrals”.
- Click + Add condition group, choose the dimension Source, the match type matches regex, and paste the regex below.
- Click Save channel.
- Click Reorder and drag “AI Referrals” above Referral (and above AI Assistant if you want your own definition to win), then click Apply.
- Click Save group.
Order is critical. Google's documentation says traffic is placed in the first channel whose definition it matches, so if Referral sits above your AI channel, Referral will swallow the traffic.
A starter regex for AI sources
.*(chatgpt\.com|openai\.com|perplexity|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com|deepseek\.com|grok\.com|meta\.ai|mistral\.ai|you\.com).*
The leading and trailing .* make the pattern work whether GA4 treats it as a full or partial match. Review the list every quarter: new assistants launch often, and referrer domains change. To find candidates, look in the Referral channel for unfamiliar domains that look like AI products.
Once saved, return to Reports > Acquisition > Traffic acquisition and pick your new channel group from the dimension drop-down.
Method 3: Quick filter in the Traffic acquisition report
If you only need an answer today, filter the standard report:
- Open Reports > Acquisition > Traffic acquisition.
- Click Add filter.
- Choose the dimension Session source, the match type matches regex, and paste the regex above.
- Click Apply, then add a secondary dimension such as Landing page + query string to see which pages receive AI visitors.
Filter by source rather than source / medium. ChatGPT links carry a UTM source but the medium can vary between “referral”, “(not set)” and “ai-assistant”, so a source filter is more robust.
Method 4: Build an AI traffic exploration
For client reporting, an exploration gives you landing pages, engagement and key events in one view:
- Go to Explore and start a Free form exploration.
- Import the dimensions Session source, Landing page + query string and your custom channel group.
- Import the metrics Sessions, Engaged sessions, Engagement rate, Key events and Total revenue.
- Add a filter: Session source matches regex (your AI pattern).
- Use landing page as rows and source as columns to see which content each assistant sends people to.
Remember that explorations are limited by your data retention setting, so set retention to the maximum available. Our GA4 beginner's guide explains where to change it.
Comparing the methods
| Method | Setup time | Historical data | Control over sources | Best for |
|---|---|---|---|---|
| Built-in AI Assistant channel | None | From Google's change onwards | None | Quick checks |
| Custom channel group | About 10 minutes | Yes, retroactive | Full | Ongoing reporting |
| Report filter | 2 minutes | Yes | Full | One-off questions |
| Exploration | About 15 minutes | Within retention period | Full | Page and conversion analysis |
What GA4 can't tell you about AI
- Dark AI traffic: visits from apps that strip the referrer appear as Direct. A rise in Direct traffic to deep content pages can be a clue.
- Mentions without clicks: many AI answers name your brand without a visit. This is the AI version of zero-click search, and you need prompt tracking or AI visibility tools to measure it.
- AI Overviews performance: Google reports these clicks inside Search Console's Web search type, mixed with regular results. See our Search Console guide.
- Crawler activity: GPTBot, OAI-SearchBot and similar bots don't run your GA4 tag. Use server logs to confirm they can access your pages.
OpenAI confirms how its search links are tagged:
“ChatGPT automatically includes the UTM parameter utm_source=chatgpt.com in referral URLs”
— OpenAI, Publishers and developers FAQ
Turning AI traffic data into decisions
Numbers alone don't help clients. Use the data to answer three questions each month:
- Which pages earn AI visits? Those are your most citable assets. Keep them fresh and link from them to service pages.
- Do AI visitors convert? Compare key event rate with organic search. If AI visitors land on guides but never convert, improve calls to action with conversion rate optimization.
- Where are we missing? Pair the data with a prompt benchmark from your GEO strategy and with AI Overviews optimisation to find topics where competitors are cited and you aren't.
Add AI sessions and AI-assisted conversions to your SEO KPIs dashboard so the trend is visible alongside organic search.
Common mistakes
- Leaving the AI channel below Referral in a custom group, so it never receives traffic.
- Reporting AI traffic as a complete number. Always label it as “at least”, because of Direct leakage.
- Counting AI Overviews as AI Assistant traffic. GA4 puts them in Organic Search.
- Filtering by source / medium only and missing visits where the medium differs.
- Never updating the regex as new assistants and domains appear.
- Using both custom channel group slots carelessly. Standard properties only get two, so plan them.
Related Guides
- Google AI Overviews: How to Get Your Content Cited
- Generative Engine Optimization (GEO): A Practical Guide
- Zero-Click Searches: What They Mean for Your Marketing
- Google Analytics 4 for Beginners: The Complete Guide
Frequently Asked Questions
Does GA4 track ChatGPT traffic automatically?
Yes, partly. Since May 2026 GA4's default channel group includes an AI Assistant channel for recognised assistants such as ChatGPT, Gemini and Claude. Visits that arrive without a referrer, such as many app clicks, still land in Direct.
Is traffic from Google AI Overviews counted as AI traffic in GA4?
No. Google's documentation says the AI Assistant channel excludes AI Overviews and AI Mode; those visits are counted as Organic Search, and their impressions and clicks appear in Search Console's Web search type.
Why does ChatGPT traffic show utm_source=chatgpt.com?
OpenAI adds the UTM parameter utm_source=chatgpt.com to links in ChatGPT search results so publishers can identify that traffic in analytics tools.
Can I see historical AI traffic with a custom channel group?
Yes. Google says custom channel groups can be applied to reports retroactively, so a new AI channel will also classify past data within your retention period.
Can GA4 show AI crawler visits like GPTBot or OAI-SearchBot?
No. GA4 measures people using browsers that run its tag. Bot crawls show up in server logs or CDN analytics, not GA4.
Conclusion
Tracking AI traffic in GA4 is now straightforward: check the built-in AI Assistant channel, add a custom channel group you control, and build one exploration that ties AI visits to landing pages and key events. Just be clear with stakeholders that GA4 shows the minimum, not the full influence of AI on your brand.
Need help setting up AI and organic reporting that your leadership team actually trusts? Our SEO specialists can configure GA4, Search Console and AI visibility tracking for you. Request a free quote.
References
- [GA4] Default channel group – Analytics Help
- [GA4] Custom channel groups – Analytics Help
- What's new in Google Analytics – Analytics Help
- [GA4] Traffic acquisition report – Analytics Help
- Publishers and developers FAQ – OpenAI Help Center
- How to Track, Measure, and Boost AI Referral Traffic – Semrush Blog




