Guide · Last updated November 7, 2026 · 7 min read

How to measure the AI traffic your analytics misses

Guide

Your analytics sees people who click through from AI answers. It misses the agents themselves, by design. To measure AI traffic, track AI referrals in your analytics, count agent visits in your server or CDN logs, and check which agents are real.

Who this is for

Who should read this.

Marketing or growth lead
A GA4 setup for AI referrals and a weekly scorecard
SEO or content lead
Which pages agents read, and which ones they send people back to
Web or IT lead
Where agent visits show up in logs, and how to tell real from fake

The three kinds of AI traffic

AI traffic comes in three kinds, and standard analytics sees only one of them well.

KindExampleShows in GA4?Why
AI referralsA person clicks a link inside a ChatGPT answerYes, as a referralA human browser loads your page and runs your analytics script
Agent visitsClaudeBot, ChatGPT-User, or OAI-SearchBot reads a pageNoMost agents never run the script, and GA4 removes known bots automatically. Google says you can't turn that off or see how much it removed (Google).
Browser agentsAn agent drives a real browser to shop or fill a formSometimesIt runs your script, so it can look like a human visit (our research)

The first kind tells you what AI sends you. The second tells you what AI takes. You need both to judge the trade.

Step 1: Track AI referrals in GA4

Since May 13, 2026, GA4 has a built-in AI Assistant channel for people arriving from apps such as ChatGPT, Gemini, Deepseek, Copilot and Grok (Google). Start there. To choose exactly which apps count, give AI a channel of your own. This takes about 15 minutes.

  1. In GA4, go to Admin, then Data display, then Channel groups.
  2. Copy the default channel group and name it "Default + AI."
  3. Add a new channel named "AI assistants."
  4. Set the condition to Session source, matches regex, and paste the pattern below.
  5. Drag "AI assistants" above "Referral" so it catches these visits first. Save.
chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|meta\.ai

Add new AI apps to the pattern as they appear in your referral list. Some apps hide the referrer, so part of your AI traffic still lands in Direct. Treat this channel as a minimum count.

Step 2: Count agent visits in your logs

Agent visits live in your server or CDN logs, where every request is recorded with its user agent name. Your hosting or CDN dashboard often has a filter for this.

  1. Export a week of request logs, or open your CDN's traffic view.
  2. Filter the user agent field for the names below.
  3. Count requests per agent, per day, and note the top pages each one reads.
KindUser agent names to filter
Training crawlersGPTBot, ClaudeBot, CCBot, Applebot-Extended
Search crawlersOAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot
AssistantsChatGPT-User, Claude-User, Perplexity-User

The glossary lists more agents and what each one does. A name in your logs is only a claim. Step 3 checks it.

Step 3: Separate real agents from fakes

Any scraper can call itself GPTBot. Before you report agent numbers, match each request's address against the operator's published list.

OperatorWhere to checkWhat it covers
OpenAIopenai.com/gptbot.json, searchbot.json, chatgpt-user.jsonGPTBot, OAI-SearchBot, ChatGPT-User (OpenAI)
AnthropicAnthropic crawler pageClaudeBot, Claude-SearchBot, Claude-User
OthersEach operator's crawler documentationVaries

A request that claims a famous name but comes from an address outside that company's list is an unknown scraper. Report it separately. Counting fakes as real agents inflates your AI numbers and hides the scraping. Our research on the verifiability gap shows why: most known bots publish nothing a site can check.

Doing this by hand works for a one-time audit. For ongoing tracking, a tool at your front door, like DNA, checks every request as it arrives.

A weekly AI traffic scorecard

Six numbers, checked weekly, tell you what AI takes from your site and what it sends back.

MetricWhat it tells youWhere to get it
AI referral sessionsPeople AI sent to your siteGA4, AI assistants channel
AI referral conversionsSales or sign-ups from those peopleGA4, AI assistants channel
Verified agent requests, by kindHow much each kind of agent readsLogs, after step 3
Unverified requests using famous namesHow much scraping hides behind real namesLogs, after step 3
Top pages read by assistantsWhich pages answer customers' questionsLogs, filtered to assistants
Agent requests per AI referralHow much AI reads for each person it sends backDivide the two numbers above

The last number is your crawl-to-refer ratio. Watch it by page. A page that agents read often but that sends no one back needs a reason to click: a tool, a price, a next step.

Questions

Why does some AI traffic show up as Direct?

Some AI apps open links without passing a referrer, so GA4 can't tell where the visit came from. Your AI assistants channel shows the minimum, and part of Direct is AI too.

Do I need to track every agent?

No. Start with the ones tied to customers: assistants like ChatGPT-User and Claude-User, plus AI referrals. Add training and search crawlers once those numbers are steady.

Is a high crawl-to-refer ratio bad?

It depends on the page. A help article that answers questions inside AI apps may read often and refer rarely, and still win customers. A product page with the same pattern is losing sales.

How often should I check the scorecard?

Weekly. Agent traffic shifts as AI companies launch and retire agents, and a weekly check catches changes before they show up in revenue.

Sources

See which AI agents visit your site, and what they came for.

Sign up free

DNA is free for every site.