How to measure AI search: traffic, bots and attribution

How to track AI traffic in GA4, read AI bot visits in your logs, ask customers how they found you and follow AI mentions, with the blind spots of each method.

By Brilliance Growth EditorialPublished 10 min read

The short answer

You can measure four things in AI search: visits that click through from AI assistants (Google Analytics 4 has had an AI Assistant channel since 13 May 2026), AI bot visits in your server logs or CDN analytics, what customers say when asked how they found you, and how often assistants name you in test prompts. You cannot see the prompts real people type.

Key takeaways

  • Since 13 May 2026, Google Analytics 4 (GA4) sorts visits from recognised AI assistants into a default channel called AI Assistant, with the medium ai-assistant.
  • GA4 undercounts AI visits. Links opened from some apps and some link types pass no referrer, so those visits are recorded as Direct.
  • Clicks from Google AI Overviews and AI Mode are counted as Google organic search. GA4's AI Assistant channel excludes them.
  • Server logs and CDN analytics show AI bot visits. A live user fetch such as ChatGPT-User means a person's question led the assistant to open your page.
  • Asking every new customer "How did you hear about us?" catches the AI influence that analytics cannot see.
  • Nobody outside the AI companies can see the prompts people type, so all AI measurement is directional.

Google Search Console tells you which searches showed your pages and how many people clicked. Most AI assistants offer nothing equivalent, so a business owner has to assemble the picture from several partial signals. This article explains each signal, where to find it and what it misses. It belongs to our complete guide to SEO and AI search.

What can you measure in AI search, and what can you not?

You can measure AI referral visits, AI bot visits, customer reported sources and how often AI answers mention you. You cannot measure prompts, or the times an answer named your business and the person did not click.

SignalWhere to see itWhat it tells youBlind spot
AI referral visitsGA4, AI Assistant channelPeople who clicked from an assistant to your site, and what they did nextVisits with no referrer, and all Google AI Overview and AI Mode clicks
Google AI feature impressionsSearch Console, Generative AI performance reportHow often your links were shown in AI Overviews and AI ModeImpressions only. No queries, and the two features are combined
Copilot and Bing citationsBing Webmaster Tools, AI PerformanceHow often Microsoft's AI answers cited your pagesMicrosoft surfaces only
AI bot visitsServer logs or CDN analyticsWhich AI crawlers fetch which pagesA fetch is not a citation
Customer reported sourceForms, checkout, phone, WhatsAppThe influence that never shows in analyticsSmall samples and imperfect memory
Mentions in AI answersManual prompt checks or a tracking toolWhether assistants name you or a competitorAnswers vary between runs and users

How do you track AI traffic in GA4?

GA4 now tracks AI traffic by default. Google's Analytics release notes for 13 May 2026 describe an AI Assistant channel in the default channel group. When a visit's referrer matches Google's list of recognised AI assistants, GA4 sets the medium to ai-assistant.

To see AI traffic in GA4:

  1. Open Reports, then Acquisition, then Traffic acquisition.
  2. Find the AI Assistant row in the table.
  3. Add Session source as a secondary dimension to see which assistant sent each visit, for example chatgpt.com or perplexity.ai.
  4. Compare engagement and key events (GA4's name for conversions) with your Organic Search row.

Google's default channel group page gives ChatGPT, Gemini, Deepseek, Copilot and Grok as examples. The release notes also name Claude. The full list of recognised referrers is not on either page, so check which sources still sit in your Referral row.

How do you build a custom AI channel group?

A custom channel group is your own set of traffic categories in GA4. Build one if you want to choose which assistants are counted, or to regroup visits from before May 2026. Google's custom channel groups page says these groups apply to reports retroactively, and it includes its own AI assistants example.

  1. Go to Admin, then Data display, then Channel groups.
  2. Select Create new channel group. Your first one starts as a copy of the default group.
  3. Add a channel and name it "AI assistants".
  4. Add a condition: Source, matches regex, and paste the pattern below.
  5. Drag the new channel above Referral. GA4 puts each visit in the first channel it matches.
  6. Save. A standard GA4 property allows two custom channel groups.
.*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com|chat\.deepseek\.com|grok\.com|meta\.ai|chat\.mistral\.ai).*

The pattern starts and ends with .* because Google Analytics regular expressions are full match by default. The hostnames are the web addresses of ChatGPT, Perplexity, Claude, Gemini, Microsoft Copilot, DeepSeek, Grok, Meta AI and Mistral's Le Chat. Copilot appears twice because copilot.microsoft.com redirected to copilot.com when we checked on 21 November 2026. Add any other assistant you find in your Referral row.

Why does GA4 undercount AI visits?

GA4 can only label a visit as AI traffic when the browser passes a referrer or a campaign tag. Several common routes pass neither, so the visit lands in Direct.

  • Links without a referrer. In manual tests published by Ahrefs on 26 May 2025, one tester found that a link inside the answer text of a paid ChatGPT account carried a noreferrer attribute. The Perplexity desktop app, Copilot in Windows and Grok passed no referrer either. ChatGPT's Sources links did pass one, with utm_source=chatgpt.com added. This is one person's test from May 2025, and assistants change their behaviour often.
  • Google's own AI features. Clicks from AI Overviews and AI Mode arrive as Google organic search in GA4.
  • Delayed visits. Someone reads your name in an answer and searches for you on Google the next day. Analytics credits organic search or Direct.
  • No visit at all. Many AI answers end without a click. Our article on zero click search covers that pattern and how to plan for it.

Read the AI Assistant row as a floor, not a total. The direction over several months is more reliable than any single figure.

Where do Google AI Overviews and AI Mode show up?

Clicks and impressions from AI Overviews and AI Mode are included in Google Search Console's ordinary Performance report, under the Web search type. Google's AI features documentation states this, and the Performance report cannot separate them from other results.

Search Console also has a Generative AI performance report, which Google says reached all websites on 31 August 2026. The report counts impressions, meaning how often links to your site were shown in AI Overviews and AI Mode together. It breaks them down by page, country, date and device. It does not list queries or clicks.

Microsoft offers a similar view. AI Performance in Bing Webmaster Tools, launched as a public preview on 10 February 2026, shows how often your pages are cited in Microsoft Copilot and Bing's AI summaries. It also shows a sample of grounding queries, the phrases the AI used to retrieve your content. Both tools are free, and both report first party data for their own platforms only.

How do you see AI bot visits in server logs or CDN analytics?

AI bot visits appear in your web server's access log, where every request is recorded with a user agent (the name the visitor's software gives). GA4 will not show them, because Google Analytics automatically excludes known bot traffic.

The bot's name tells you what the visit means:

  • Training crawlers (GPTBot, ClaudeBot) collect pages that may be used to train models. A visit is not a citation.
  • Search index crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot) index pages so an assistant can find them later.
  • Live user fetches (ChatGPT-User, Claude-User, Perplexity-User) happen when a person's question makes the assistant open your page. This is the closest signal to an AI answer being built from your content.

If you can download raw logs from your host, this command lists the AI bot requests:

grep -E "GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-SearchBot|Claude-User|PerplexityBot|Perplexity-User" access.log

Many small sites have no easy log access. A CDN (content delivery network) placed in front of the site can report bots instead. Cloudflare's AI Crawl Control, available on all plans, shows which AI services access your content. User agent names can be faked, so OpenAI, Anthropic and Perplexity publish IP address lists for checking.

Two limits apply. A fetch does not prove the page was cited or that the reader saw your name. An absence of fetches may mean your site is blocking the bots, so check AI crawlers and robots.txt first.

Why ask customers "How did you hear about us?"

Asking customers directly is the only method that captures AI influence which never produced a trackable click. It costs one extra field on a form.

Add the question to your enquiry form, booking form or checkout, and ask it on the phone and on WhatsApp. Offer short options plus a free text box:

  • Google search
  • ChatGPT or another AI assistant
  • Recommended by someone
  • Social media
  • Other (please tell us)

Customer answers have limits too. People forget, and a small business collects few answers each month. Read them alongside your analytics.

How do you track AI mentions over time?

Track AI mentions by asking the same questions on a schedule and recording who gets named. Keep a fixed list of 10 to 20 prompts a real customer would type, run them monthly in each assistant, and log three things: whether you were named, whether your site was linked, and which competitors appeared.

AI answers vary from run to run and from user to user, so one check proves little. A trend across months is the useful signal. Our AI visibility audit explains how to build the prompt list and test cleanly, and how AI search works explains why answers differ.

A tool can run the checks for you. Our free ChatGPT visibility checker gives a one off reading. Brilliance Growth tracks whether ChatGPT and Claude name your business over time.

How much AI traffic should you expect?

Expect AI referral traffic to be a small share of visits for now. In an Ahrefs study of 81,947 websites published on 26 June 2025, AI traffic had grown 9.7x in a year and still averaged 0.25% of a site's total traffic. In a later Ahrefs analysis of 76,000 websites, published on 11 February 2026, Google sent 190x more traffic to websites than ChatGPT.

Both figures come from Ahrefs' own samples of websites (the 2026 analysis used sites on Ahrefs Web Analytics), and both share the referrer gaps described above. A small number is normal, and judging AI search by click volume alone will understate it.

A small share of visits can still matter. Ahrefs reported on 16 June 2025 that AI search made up 0.5% of visits to its own site over 30 days and 12.1% of sign ups. That is one software company's figure for one month. It is not a benchmark for a clinic, a cafe or an accounting firm.

The 90 day GEO playbook sets up these measurements in its first two weeks so later changes can be compared against a baseline.

From Brilliance Growth

Check whether AI assistants recommend your business

Frequently asked questions

Does GA4 track ChatGPT traffic automatically?

Yes, in part. Since 13 May 2026, Google Analytics 4 places visits from recognised AI assistants, including ChatGPT, in a default channel named AI Assistant with the medium ai-assistant. Visits that arrive without a referrer are still recorded as Direct, so the channel shows fewer visits than ChatGPT really sent.

Why does AI traffic show as Direct in Google Analytics?

Analytics labels a visit Direct when it receives no referrer and no campaign tag. Links opened from some AI desktop and mobile apps, and links marked noreferrer, pass nothing. Tests published by Ahrefs in May 2025 found this for links inside paid ChatGPT answers, the Perplexity desktop app, Copilot in Windows and Grok.

Can I see what people asked ChatGPT before they visited my site?

No. Nobody outside OpenAI can see the prompts people type into ChatGPT, and the same applies to Claude, Gemini and Perplexity. The nearest public data is the grounding queries sample in Bing Webmaster Tools' AI Performance report, which shows phrases Microsoft's AI used to retrieve your content.

Does Google Search Console show AI Overview clicks separately?

No. Google counts AI Overview and AI Mode clicks inside the Performance report's Web totals and does not split them out. The separate Generative AI performance report, available to all sites since 31 August 2026, shows impressions for both features combined, by page, country, date and device, without queries.

Is AI traffic worth measuring if the numbers are tiny?

Yes, because setup is cheap and the trend matters more than the size. The GA4 channel already exists, a form question is quick to add, and a monthly prompt check is a short task. Without a baseline you cannot tell whether later content or crawler changes made any difference.

Sources

Every figure in this article comes from one of these. We link to the original study or the official page, not to a summary of it.

  1. What's new in Google Analytics, Google Analytics Help, May 2026.
  2. Default channel group, Google Analytics Help, read November 2026.
  3. Custom channel groups, Google Analytics Help, read November 2026.
  4. About regular expressions (regex), Google Analytics Help, read November 2026.
  5. Known bot-traffic exclusion, Google Analytics Help, read November 2026.
  6. AI Features and Your Website, Google Search Central, read November 2026.
  7. Generative AI performance report (Search), Google Search Console Help, read November 2026.
  8. Introducing AI Performance in Bing Webmaster Tools Public Preview, Microsoft Bing, February 2026.
  9. AI Assistants Are Breaking Web Analytics and Hurting Their Future, Ahrefs, May 2025.
  10. Does AI Search Traffic Convert Better Than Traditional Search? For Ahrefs, Yes: 0.5% of Visitors Drove 12.1% of Signups, Ahrefs, June 2025.
  11. AI Traffic Has Increased 9.7x in the Past Year, Ahrefs, June 2025.
  12. ChatGPT Has 12% of Google's Search Volume but Google Sends 190x More Traffic to Websites, Ahrefs, February 2026.
  13. Overview of OpenAI Crawlers, OpenAI, read November 2026.
  14. Does Anthropic crawl data from the web, and how can site owners block the crawler?, Anthropic, read November 2026.
  15. Perplexity Crawlers, Perplexity, read November 2026.
  16. AI Crawl Control, Cloudflare Docs, read November 2026.

This article is part of SEO in the AI era: the complete guide for business owners.

Your website could be the next success story.

Setup takes five minutes. The first thirty articles are planned before your trial ends.

Start your free trial 7 day free trial · nothing charged until it ends · cancel in one click