Almost Converted

Identifying ChatGPT and Claude Crawlers in Website Traffic Logs

Server logs, user-agent matching, and IP checks separate real AI crawlers from imposters.

· 8 min read
Cover illustration for “Identifying ChatGPT and Claude Crawlers in Website Traffic Logs”
AI Agent Detection · November 29, 2026 · 8 min read · 1,865 words

Finding ChatGPT and Claude crawlers takes server, CDN, or edge logs because client-side analytics tags do not record their requests. Search those logs for documented user-agent strings, check that the requests came from who they claim, and keep background crawling separate from live retrieval. That sequence reveals which content AI systems request without mistaking an imposter for a crawler or a crawler for a prospective customer.

Why server logs are the only place AI crawler traffic actually appears

A GA4 dashboard can show no visit while the server access log shows that an AI crawler asked for a page. Both records reflect how their systems work. GA4, Plausible, Matomo, and Adobe Analytics use JavaScript tags inside the visitor’s browser for client-side tracking, while AI crawlers make direct HTTP requests without triggering those tags. The missing visit is therefore an architectural mismatch.

The request is visible where the HTTP traffic arrives. Raw access logs from nginx, Apache, and Caddy record it, as do CDN-level analytics from Cloudflare, Fastly, and Akamai and edge middleware logs from Vercel and Netlify. These are the reliable observation points for crawler detection. Browser analytics is useful later, when a human clicks an AI citation and visits the site.

Two fundamentally different kinds of AI visitor, and why conflating them produces the wrong conclusions

Diagram: Background Crawlers vs. Live Retrieval Agents: Who's Who. Visualizes: The article draws a hard line between two categories of AI visitor that are frequently confused.

ChatGPT-User is OpenAI’s live, user-triggered fetcher. Its visit means a person submitted a prompt that required web access at that moment. Anthropic’s Claude-User serves the same operational category, as do Perplexity’s Perplexity-User and Exa’s ExaUser. These requests are the closest equivalent to a human reader that an AI assistant produces. They are not, however, human sessions on the website.

GPTBot, also operated by OpenAI, visits on its own schedule to collect content for model development. Anthropic’s ClaudeBot similarly collects web content that could contribute to model training. Background activity also includes search indexing. OpenAI’s OAI-SearchBot supports search in ChatGPT, while Anthropic says Claude-SearchBot improves “search result quality for users.” PerplexityBot and meta-externalagent also belong in the background category.

A rise in GPTBot traffic does not mean more people are asking ChatGPT about the site. Their controls are separate, too. Blocking a training crawler does not itself block the corresponding live-retrieval agent.

How can you tell if ChatGPT or Claude is crawling your website?

On a server with shell access, run grep -iE "GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-User|Claude-SearchBot|PerplexityBot|Perplexity-User|ExaSearchBot|ExaUser" access.log. Substitute the actual log path for access.log. The paths given for Apache and nginx are /var/log/apache2/access.log and /var/log/nginx/access.log, respectively. This search finds requests that claim to come from the listed agents, but it cannot prove who sent them.

The strings preserve the classification established above. GPTBot and ClaudeBot signal training collection, while OAI-SearchBot and Claude-SearchBot signal search indexing. ChatGPT-User, Claude-User, and Perplexity-User indicate live retrieval. Exa separates indexing and user-triggered fetching into ExaSearchBot and ExaUser.

The field position depends on the logging format. This counts whole user-agent strings, so each variant has its own count. To make these checks over time, nginx can use a map $http_user_agent $is_ai_bot block to send matching requests to a log of their own.

Broader coverage can include meta-externalagent, Amazonbot, Amzn-SearchBot, Gemini-Deep-Research, Google-NotebookLM, Bytespider, DeepSeekBot, MistralBot, CCBot, Diffbot, xAI-Bot, YouBot, DuckAssistBot, and cohere-ai. Google-Extended is different. Google says “it doesn't have a separate HTTP request user agent string.” It is a robots.txt control, so its absence from an access log is expected.

Why volume alone is misleading — what the logs from real sites actually showed

Exa illustrates why a search limited to ChatGPT and Claude is incomplete. The check should include its indexer and live fetcher even when those better-known assistants were the reason for it. Meta’s background agent belongs there for the same reason. Practitioner readings of a week of real server logs have challenged the assumption that OpenAI and Anthropic dominate AI requests. A site’s distribution must come from its logs.

Volume also conceals the purpose of a visit. The wislr.com 48-day study found that its top ChatGPT-User pages were implementation guides and technical explainers, with specific, deep content earning AI citations over broad or thin pages. A total request count would omit the distinction between those pages and the rest of the site. Even a detailed ranking may change until the checks show who sent the crawler requests.

IP-range verification — the step that separates real crawlers from imposters

Diagram: From Raw Log to Verified Crawler: A Four-Step Sequence. Visualizes: The article describes a concrete verification sequence for confirming a crawler's identity: (1) Find requests in server/CDN/edge logs using a grep for named user-agent…

A user-agent string is an unverified claim. Anyone operating a scraper can copy it, and a forged ClaudeBot string matched Anthropic’s own character for character. No pattern match against that field could separate them. GreyNoise observed that requests using forged crawler names never requested robots.txt, while Anthropic’s genuine crawler requested it more than any other path during the same window. Roughly one in eight genuine requests asked for robots.txt, and none asked for a credential file.

That difference makes robots.txt behavior a useful early warning, but checking who sent the requests is still needed. The practical check is whether the source IP belongs to the operator’s published ranges for that agent. Perplexity publishes separate files for PerplexityBot and Perplexity-User, with distinct prefixes. Using one bot’s list to validate the other would therefore misclassify traffic.

Google publishes its crawler ranges at developers.google.com/crawling/ipranges/common-crawlers.json. For Google, Bing, Apple, and Common Crawl, reverse DNS remains the more reliable verification method because IP-list updates follow different schedules. Bing’s file, for example, was created in January 2024. Exa offers a different verification route. Exa states that every ExaSearchBot request has a cryptographic signature using HTTP Message Signatures and the Web Bot Auth scheme.

Across tested crawlers, IP-range match rates ran from the high-seventies to low-nineties percent. Unmatched requests should remain distinct from traffic attributed to the operator. Agentic browsers present a separate problem because Claude Code and browser agents can run through a user’s own connection. Operator IP lists cannot settle their identity. Cloudflare documents Web Bot Auth as a verification mechanism for bots and agents generally, but Claude was not listed in its signed-agents program as of mid-2026.

Robots.txt compliance by crawler — what each bot actually does with the directive

The common misconception is that a robots.txt block controls all AI access. Crawlers differ in how they follow directives, and a directive for one agent does not apply to every service its operator runs. The genuine ClaudeBot behavior observed by GreyNoise makes robots.txt access a useful detection signal. It does not establish identical behavior for other agents or turn a copied user-agent string into a trustworthy identity.

OpenAI and Anthropic require separate directives for their distinct bots. A GPTBot block does not also block OAI-SearchBot or ChatGPT-User, and a ClaudeBot directive does not control Claude-User. Anthropic describes Claude-User controls as allowing site owners to determine which sites user-initiated requests can access. Detection and access decisions therefore need the specific agent name. An operator-level label such as “OpenAI traffic” is too coarse.

Google-Extended and Applebot-Extended introduce another distinction. They tell Google and Apple whether content already fetched by their standard crawlers may be used for AI training. Neither token represents an independent crawler. Neither will appear as a separate user agent in the logs, so a search for those names cannot show whether the crawlers are following their directives.

What the traffic patterns in a log reveal about AI interest in specific content

Verified requests become more useful when grouped by URL. Sorting ChatGPT-User and Claude-User requests this way shows which pages assistants are fetching in response to current user questions. These pages can generate citations and downstream clicks, although a fetch alone does not establish a human visit. Background requests answer a different question. Search crawlers reveal indexing activity, while training crawlers reveal collection activity.

The wislr.com finding gives this distinction a concrete content dimension. Its implementation guides and technical explainers attracted live-retrieval attention, making page specificity more informative than total site traffic. ChatGPT-User requests text only, with zero images, zero CSS, and zero JavaScript. For interpreting those requests, HTML structure and clear prose are therefore more relevant than visual design or interactive elements.

Other requested paths expose maintenance needs directly. Sitemap requests from GPTBot and ClaudeBot indicate that the crawler is mapping the site’s content structure, making sitemap freshness a practical check. A stale or incomplete sitemap can leave content undiscovered. 404 and 5xx responses also show where content is missing or servers fail on paths AI systems are trying to reach. Checking those errors ties maintenance priorities to demonstrated demand.

Turning AI-referred human sessions into identifiable leads

A person who clicks an AI citation creates a different record from the bot that fetched the page. That arrival is a human session. GA4 can show referrals from chatgpt.com, perplexity.ai, claude.ai, copilot.microsoft.com, and gemini.google.com. Custom channel-grouping rules using regex matches on those domains are needed for reliable coverage because the default “AI Assistant” grouping often excludes Perplexity and Claude. The referral identifies a source while leaving the person’s identity unresolved.

Company-level identification narrows that gap through reverse-IP lookup. It resolves an organization for only a minority to a bare majority of B2B sessions and breaks down when visitors are remote, on mobile, or using a VPN. Finding who a person is uses identity-graph resolution instead. Its match rate is materially lower, roughly 5–20% of US B2B sessions, but it can surface a name, title, business email, and LinkedIn profile. That is the identification layer that enables direct one-to-one outreach, and its availability is largely US-only.

Platforms that connect those records to visited pages and referral sources give an SDR context for a response. The distinction is operational. A company name alone does not name the individual who read an implementation guide after clicking an AI citation. A person-level record with that page journey and source can close the attribution gap. Real-time Slack alerts with the person’s LinkedIn profile, company, and pages viewed bring the opportunity to respond forward from the next morning to the session itself.

These capabilities still require honest measurement. Visitor-identification reports should keep verified human sessions separate from AI agents and other bots so it is clear what the platform actually identifies. Otherwise, its reported match rate can overstate its useful coverage. Crawler detection establishes the denominator for evaluating human identification.

Building a repeatable log-monitoring workflow rather than a one-time audit

A one-time audit provides a snapshot of behavior that changes quickly. Last month’s baseline may already be outdated. The practical weekly routine is to run the user-agent search with identity verification, divide live retrieval from background activity, and count requests by bot and URL. Checking HTTP status codes then exposes crawl errors, while step-changes are visible in comparison with the previous week. Keeping the categories consistent makes those changes interpretable.

The resulting work divides into two action tracks. Bot-side findings inform robots.txt adjustments, rate-limiting, and sitemap freshness. Findings from human sessions help with referral enrichment and sales follow-up with people who show high intent. Tools that combine crawler activity with human identification can reduce manual correlation by routing verified person-level records, page journeys, and traffic sources into Slack, HubSpot, Salesforce, or a CRM through a webhook. Their useful criterion is that separation and traceability.

Start this week by examining the logs, verifying the claimed crawler identities, and recording a baseline by agent, URL, and response status.

More in AI Agent Detection