Skip to content
Back to insights

AI Traffic · GA4

How to Measure AI Traffic from ChatGPT, Perplexity & Co. in GA4

How to measure AI traffic in GA4: since May 2026 the AI Assistant channel counts ChatGPT & co. Add Perplexity with a regex and see what GA4 can’t measure.

Updated 9 min readResponsible: Mehdi Bornak

You measure AI traffic in Google Analytics 4 in two ways. Since May 13, 2026, GA4 automatically assigns visits from AI assistants such as ChatGPT, Gemini or Copilot to the “AI Assistant” channel (medium ai-assistant). A custom channel group with a regex adds services Google doesn’t name, such as Perplexity. Clicks from Google’s AI Overviews and AI Mode, however, still count as “Organic Search”.

How does GA4 identify traffic from ChatGPT and other AI assistants?

Automatically, through the default “AI Assistant” channel. If a visit’s referrer matches an AI assistant on Google’s list, GA4 sets three values: the medium ai-assistant, the campaign name (ai-assistant) and the “AI Assistant” channel in the default channel group. If you set ai-assistant as the medium yourself, the visit lands there too.

Google only describes the list by example: the announcement names ChatGPT, Gemini and Claude, the channel definition names ChatGPT, Gemini, DeepSeek, Copilot and Grok. Perplexity appears in neither text. The downloadable source list for the default channel group doesn’t settle it either: as of November 2026 it only contains the search, social, shopping and video categories.

Where to find the numbers

  • Total: in Acquisition > Traffic acquisition, “AI Assistant” is its own row in the default channel group.
  • Breakdown by service: switch to the Source dimension and filter for the medium ai-assistant. That shows which hosts GA4 actually classified as AI assistants in your property.
  • Impact: compare the channel’s key events, such as contact form submissions, with those of other channels. Only that tells you whether these visits matter to your business.

How do you set up a custom channel group with a regex?

You copy the default channel group and add your own AI channel that checks the source with a regex. The default channel group itself can’t be edited, and Google’s GA4 help describes this exact route for AI assistants. It pays off for two reasons: you capture services GA4 doesn’t recognize, and Google says custom channel groups can be applied to reports retroactively – including periods before May 13, 2026.

  1. In GA4, go to Admin > Data display > Channel groups and click Create new channel group. You start with a copy of the default group; you need at least the Editor role.
  2. Choose Add new channel, name it, for example, “AI assistants”, and add a condition on the Source dimension with matches regex.
  3. Paste the regex from the block below and save the channel.
  4. Use Reorder to set its position. A visit lands in the first channel whose definition it matches: placed below “AI Assistant”, your channel only shows what GA4 doesn’t recognize itself; placed above it, it collects every matching source in one row. Either way, it belongs above “Referral”.
  5. Save the group and select it as the primary or secondary dimension in Traffic acquisition.
^(.+\.)?(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com)$

What this regex covers – and what it doesn’t

  • Matches: chatgpt.com, chat.openai.com (now redirects to chatgpt.com but appears in older data), perplexity.ai and www.perplexity.ai, claude.ai, gemini.google.com, copilot.microsoft.com and copilot.com. The group (.+\.)? allows subdomains such as www.
  • No match: other domains that merely contain one of these names, such as evilchatgpt.com or chatgpt.com.example.net, and help sites like help.openai.com. Tested with 9 expected and 13 unwanted values on November 4, 2026.
  • Matching: GA4 treats a regex as a full match by default, and Google says channel definitions aren’t case sensitive.
  • Maintenance: domains change. On November 4, 2026, copilot.microsoft.com led to copilot.com in the browser. Google itself advises updating the regex when URLs or the list of assistants change.
  • Quota: standard properties allow two custom channel groups with up to 50 channels each.

Why not just use Google’s example? The regex in the GA4 help is very broad: parts like ^.*ai and .*gpt.* also catch every other .ai domain or a blog called gpt-blog.de. A list of specific hosts gives you a more reliable number. Check first which source values actually arrive in your property, and extend the list if needed.

What can’t GA4 measure about AI traffic?

Anything that happens without a click or without a recognizable origin. GA4 counts visits to your website. If an AI answer mentions your brand and nobody clicks, GA4 never sees it. Three more gaps are worth knowing:

  • Google’s own AI features: according to the channel definition, GA4 assigns clicks from AI Overviews and AI Mode to “Organic Search”, not “AI Assistant”. They sit in the same row as every other organic Google click.
  • Visits without an origin: without a referrer and without UTM parameters, a visit counts as “(direct) / (none)” – for example when someone copies a URL from an answer and enters it straight into the address bar. Google says ad blockers can cause this too.
  • Bots: GA4 automatically excludes known bots and spiders and doesn’t show how many. Analyze crawler requests in your server logs instead.

One detail helps with ChatGPT: in a spot check on November 4, 2026, both links checked in a ChatGPT answer carried the parameter utm_source=chatgpt.com. When it’s present, GA4 sets the source to chatgpt.com, even without a referrer. This behavior isn’t documented – OpenAI’s former help article on it now leads to a different page. Treat it as an observation, not a guarantee.

What do Search Console and Bing Webmaster Tools show?

Both show visibility in AI answers, not visits. That covers exactly the part GA4 can’t see.

Google Search Console: generative AI performance report

Google introduced the performance report for generative AI features on June 3, 2026, and rolled it out to all websites worldwide on August 31, 2026. It shows impressions in AI Overviews and AI Mode – how often links to your site were shown there – grouped by page, country, date and device. The same data feeds into the regular Performance report under the “Web” search type; that’s also where the clicks are, mixed in with all other web clicks.

If you can’t see the report, Google says your site usually hasn’t had enough impressions in these features – or it has been excluded from generative AI features in Search Console.

Bing Webmaster Tools: AI Performance

Since February 10, 2026, Bing Webmaster Tools has offered the “AI Performance” report as a public preview. It counts how often your content was cited as a source in Microsoft Copilot, in AI-generated summaries on Bing and with select partners: total citations, average cited pages, citations per URL and a sample of grounding queries – the phrases the AI used to retrieve your content. On June 16, 2026, Intents, Topics, Citation Share and Compare were added in preview. Microsoft makes clear that Citation Share doesn’t represent traffic share.

What do server logs reveal about AI crawlers?

Server logs show whether AI services’ bots fetch your pages. That’s the prerequisite for appearing in an answer, but it isn’t a human visit. Search your server or CDN logs for these official user agents:

ProviderUser agentPurpose according to the provider
OpenAIOAI-SearchBotWebsites in ChatGPT’s search results
OpenAIGPTBotContent that may be used to train its models
OpenAIChatGPT-UserFetches triggered by user actions; robots.txt rules may not apply
OpenAIOAI-AdsBotOnly landing pages submitted as ads
AnthropicClaude-SearchBotSearch result quality in Claude
AnthropicClaudeBotContent that may contribute to training
AnthropicClaude-UserFetches when someone asks Claude a question
PerplexityPerplexityBotSearch results in Perplexity, not model training
PerplexityPerplexity-UserUser requests; generally ignores robots.txt
GoogleGooglebotGoogle Search including all its features, so also AI Overviews and AI Mode
MicrosoftbingbotBing’s standard crawler; Bing and Copilot search rely on the same crawling and indexing foundation

You won’t find Google-Extended in your logs: according to Google, it has no user agent of its own and only works as a control token in robots.txt.

Telling real bots from fakes

User agents can be spoofed – Google and Bing both say so explicitly. Check the IP addresses instead: OpenAI publishes a JSON list per bot (openai.com/searchbot.json, gptbot.json, chatgpt-user.json), Perplexity does the same (perplexity.ai/perplexitybot.json, perplexity-user.json), and Anthropic at claude.com/crawling/bots.json. Google’s common crawlers can be identified by reverse DNS on hostnames under googlebot.com, Bingbot with the “Verify Bingbot” tool.

What to take from it: OpenAI recommends allowing OAI-SearchBot and requests from its published IP ranges so your pages can appear in ChatGPT search. If the bot never shows up in your logs, check robots.txt, firewall and CDN first. Which crawlers to allow on purpose is covered in our AI search readiness checklist.

How do you measure AI traffic step by step?

With a fixed routine across several sources, because each one answers a different question:

SourceShowsDoesn’t show
GA4, “AI Assistant” channelVisits from recognized AI assistants and their key eventsClicks from AI Overviews and AI Mode, visits without an origin
GA4, custom channel groupAdditional services via regex, also retroactivelyServices whose domain isn’t in the regex
Search Console, generative AIImpressions of links to you in AI Overviews and AI ModeOther AI services, mentions without a link
Bing Webmaster Tools, AI PerformanceCitations in Copilot and Bing’s AI answersVisits and traffic share
Server logsRequests from AI crawlers and user-triggered fetchersWhether a person visits your site afterwards
  1. Check what you have: open the “AI Assistant” channel in Traffic acquisition and break it down by source.
  2. Create the channel group: add the regex above and compare it with the real source values in your property.
  3. Connect impact: compare key events such as inquiries per channel, not just sessions.
  4. Export Search Console monthly: the generative AI report has an export for chart and table data, so you can build your own time series.
  5. Check Bing: in AI Performance, see which URLs get cited for which grounding queries.
  6. Analyze logs: filter for the user agents monthly and verify matches against the IP lists.
  7. Maintain the lists: review the regex and bot list regularly against the providers’ documentation.

Whether your brand appears in answers without a click only shows up in samples with fixed questions; our guide Test your AI visibility has a template. How to make content easier to cite is covered in How to get your brand cited in AI answers.

Good measurement starts with the website itself: content that sits in the HTML as text, and tracking that’s planned in from the start. We build websites and relaunches as part of our software development service.

Sources

  1. What’s new in Google Analytics: New AI Assistant traffic measurement – Google Analytics Help, entry of May 13, 2026
  2. Default channel group – Google Analytics Help, retrieved November 4, 2026
  3. Custom channel groups (example: AI assistants) – Google Analytics Help, retrieved November 4, 2026
  4. Generative AI performance report (Search) – Search Console Help, retrieved November 4, 2026
  5. AI features and your website – Google Search Central, last updated December 10, 2025
  6. Introducing AI Performance in Bing Webmaster Tools Public Preview – Microsoft Bing Blog, February 10, 2026
  7. Overview of OpenAI Crawlers – OpenAI, retrieved November 4, 2026
  8. Perplexity Crawlers – Perplexity, retrieved November 4, 2026

Responsible

Mehdi Bornak, AI Manager (IHK)

Mehdi Bornak is the owner of Rocket-Monkeys and an IHK-certified AI manager. Rocket-Monkeys was founded in 2022 and builds custom software and AI solutions for companies.

More about us

Frequently asked questions

Frequently asked questions

01How do I see ChatGPT traffic in Google Analytics 4?

Since May 13, 2026, GA4 automatically assigns visits whose referrer belongs to a recognized AI assistant such as ChatGPT to the “AI Assistant” channel and sets the medium to ai-assistant. You’ll find the channel in the Traffic acquisition report. Switch to the Source dimension and filter for ai-assistant, and ChatGPT shows up as chatgpt.com. For services GA4 doesn’t recognize, create a custom channel group with a regex.

02Which regex captures AI traffic in GA4?

A list of specific hosts is more reliable than wildcards, for example ^(.+\.)?(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com)$ as a “Source matches regex” condition in a custom channel group. It also matches subdomains such as www, but not unrelated domains with similar names. Compare it with the real source values in your property and update it when providers change their domains.

03Does GA4 count clicks from Google AI Overviews as AI traffic?

No. According to Google, the GA4 “AI Assistant” channel excludes AI Overviews and AI Mode; those clicks count as “Organic Search”, together with every other organic Google click. How often links to your pages appear in AI Overviews and AI Mode is shown in Search Console’s generative AI performance report, which has been available to all websites since August 31, 2026 and reports impressions.

04How do I spot AI crawlers in server logs?

Filter for the official user agents: OAI-SearchBot, GPTBot and ChatGPT-User from OpenAI; ClaudeBot, Claude-SearchBot and Claude-User from Anthropic; PerplexityBot and Perplexity-User; plus Googlebot and bingbot. Because user agents can be spoofed, check the IP addresses against the lists that OpenAI, Anthropic and Perplexity publish. Google-Extended never appears in logs, as it has no user agent of its own.

Let’s talk about your project.

20 minutes, free and without obligation – with a person from the team.