How to measure AI traffic: GA4’s AI Assistant channel and your server logs

GA4 now has a native AI Assistant channel, but it shows a floor, not the total. Pair it with server logs to see who reads your pages and who sends you visitors.

“How much traffic do we get from AI?” is the first question most e-commerce directors ask us. The honest answer is: more than GA4 shows, and you need two data sources to see it.

GA4 tells you about visitors who arrive from AI assistants. Your server logs tell you about readers: the AI crawlers and fetchers that load your pages, whether or not anyone clicks. You need both.

GA4’s AI Assistant channel

On May 13, 2026, Google confirmed a new AI Assistant channel in GA4’s default channel group. It needs no setup. Google names ChatGPT, Gemini and Claude as examples.1

Three things to know before you trust it:

  • The referrer list isn’t public. Google hasn’t published which sources it counts, or how the list will be updated as new assistants launch.1
  • It depends on the referrer. Traffic from AI mobile apps and some in-app browsers usually arrives with no referrer, so it still lands in Direct. The channel captures a floor, not the total.1
  • Old reports shift. Some sessions that used to show as Referral now show as AI Assistant. The sessions are the same; only the label changed. Segments that filter on medium may now exclude AI sessions too.1

Keep a backup. Create a custom channel group with your own AI channel, matching session source against a regex of assistant domains, and put it above Referral in the rule order. Compare the two every month. Where they differ, you learn something about what Google counts.

What goes missing

Even with both channels, some AI-influenced visits are invisible:

  • Apps that strip referrers and in-app browsers.
  • Unlinked mentions. An assistant names your store without a link. The shopper searches for you by name. That shows up as branded search or Direct.
  • Tracking incidents. Between October 8 and 15, 2026, after the GPT-6 rollout, links inside ChatGPT answers stopped carrying utm_source=chatgpt.com and opened without a referrer. GA4 logged many of those clicks as Direct; tagged clicks without a referrer often went to Unassigned. A staged fix began on October 15.2 If your ChatGPT traffic “dropped” that week, it probably didn’t. Annotate it.

Server logs: who reads your pages

Your logs show requests from AI user agents. Separate them into three groups, because they mean different things:

GroupExamplesWhat it tells you
Search crawlersOAI-SearchBot, PerplexityBotYour pages can be found and shown in AI search answers
User-triggered fetchersChatGPT-UserA person’s question made the assistant open your page, right now
Training crawlersGPTBot, ClaudeBot, CCBotContent collection for model training

Two details from OpenAI’s own documentation matter here. ChatGPT-User handles user-initiated actions, and “because these actions are initiated by a user, robots.txt rules may not apply”. And after you change robots.txt, it can take about 24 hours for OpenAI’s search systems to adjust.3

Verify by IP, not only by user agent. Anyone can send a request that claims to be GPTBot. OpenAI publishes IP ranges for each of its crawlers.3 Other major operators do the same. Match against them before you count.

Metrics worth tracking weekly

  1. Pages fetched by AI user agents, by group. Rising ChatGPT-User fetches on a category page mean people are asking about that category.
  2. Fetched but never visited. Pages that AI reads often but that get no AI-referred sessions. These are candidates for the “found but not cited” fixes.
  3. Landing pages of AI sessions in GA4. Often not your homepage.
  4. Conversion rate of AI sessions compared with other channels, with the sample size next to it.

Setup recipes

  • Cloudflare: AI Crawl Control shows which AI crawlers visit, how often, and lets you allow or block them per crawler.4 Export the data weekly.
  • nginx or Apache: filter access logs by user agent, then check IPs against the published ranges. A short script that outputs one row per day per bot is enough.
  • A weekly sheet: one tab for GA4 (AI Assistant sessions, custom AI channel sessions, conversions), one for logs (fetches by group, top pages). Add a notes column for AI assistant changes and incidents.

What not to conclude

  • Small numbers. Ten sessions to twenty is not “+100%”. Show the counts.
  • Single weeks. AI assistants change weekly. Look at four-week windows.
  • Changes on the assistant’s side. If every site’s ChatGPT traffic moved the same week, it wasn’t your change.

At Moca we use the same rule for every change: a result comes with a range and a verdict (worked, no effect or inconclusive), and “inconclusive” is allowed.

Sources

Numbers in this post come from these sources. We checked each link on the access date shown.

  1. TechWyse: Google Analytics adds native AI Assistant channel to GA4’s default channel group (accessed Oct 30, 2026)
  2. BuildMVPFast: Missing ChatGPT traffic in GA4? A UTM bug broke referral tracking for a week (accessed Oct 30, 2026)
  3. OpenAI developer docs: Overview of OpenAI crawlers (accessed Oct 30, 2026)
  4. Cloudflare docs: AI Crawl Control (accessed Oct 30, 2026)

About the author

Maciek, CTO

CTO of Moca AI.

See what AI says about your store today.

Free AI search audit: what AI says about you in your top buying questions, who it names instead and your first 3 changes to approve. Within 2 business days.