Back to blog

How to Track AI Crawler Activity on Your Website

Mack McConnell
How to Track AI Crawler Activity on Your Website

How to Track AI Crawler Activity on Your Website

Fifty-three percent of all web traffic in 2025 was automated [1]. That number, from Imperva's annual Bad Bot Report, gets quoted in boardrooms and security briefings. What rarely follows is the more practical question for marketing and SEO teams: how much of that automated traffic is AI crawlers ingesting your content, and what are they doing with it?

The answer, for most websites, is "we have no idea." Google Analytics, Adobe Analytics, and every other JavaScript-based analytics platform are structurally blind to AI training crawlers. Those bots request raw HTML, extract what they need, and leave without executing a single line of tracking code. A major content publisher's log analysis found that actual server requests exceeded reported GA4 visitors by roughly 33%, with the entire gap attributable to AI bot traffic. The measurement gap is not a configuration issue. It is a structural limitation of client-side analytics.

At Geostar, we work through this problem with every client we onboard. AI crawler tracking is the prerequisite to any GEO program because you cannot optimize what you cannot see. This guide covers the three types of AI crawlers and why they behave differently, how to find them in your server logs, the key metrics that tell you something actionable, and how to act on what you find.

Why Standard Analytics Can't See AI Crawlers

The gap between what your analytics dashboard reports and what your server actually handles is growing every quarter. HUMAN Security's 2026 benchmark report found that AI traffic grew 187% between January and December 2025, with AI agent traffic specifically growing nearly 8,000% year-over-year [2]. OpenAI's bots alone account for approximately 69% of all observed AI-driven traffic by volume.

Standard analytics platforms miss this traffic because of how they work. GA4, Matomo, and similar tools embed a JavaScript snippet on each page. When a human visitor loads the page, the browser executes that JavaScript and sends a tracking event. When a training crawler like GPTBot or anthropic-ai requests the same page, it downloads the HTML, parses the text content, and moves on. No JavaScript execution means no tracking event, which means the visit never appears in your dashboard.

This is not a gap you can fix with better tag configuration. The limitation is architectural. Server logs are the only reliable capture point for AI crawler traffic, and understanding what those logs contain is the starting point for everything that follows.

The Three Types of AI Crawlers (And Why the Distinction Matters)

Most articles on this topic treat AI crawlers as a single category. In practice, there are three functionally distinct types, and the distinction matters because each has different implications for your robots.txt configuration, your server resources, and your AI visibility strategy.

Training crawlers operate like slow, methodical archivists. GPTBot, Anthropic's anthropic-ai, and Meta-ExternalAgent visit pages on cycles measured in weeks or months. They skip JavaScript rendering to save resources, which means they only see your raw HTML. Their purpose is to build the knowledge base that underpins the next generation of a model's training data.

Search index bots crawl more selectively. OAI-SearchBot, PerplexityBot, and Claude-SearchBot index content so their respective AI search products can cite it in real-time answers. Their crawl activity correlates more directly with whether your content appears as a cited source when someone asks a question.

User-action agents are the newest and most complex category. When someone pastes a URL into ChatGPT or asks Perplexity for a summary of a specific page, ChatGPT-User or Perplexity-User fetches that page in real time. These agents often use headless browsers that render JavaScript, which means they can appear in your standard analytics. They also visit at high velocity with no predictable schedule.

One precision point worth noting: Google-Extended is a robots.txt token only, not a separate crawler with its own user agent. It controls whether Googlebot-crawled content gets used for Gemini AI training. Blocking Google-Extended does not block a specific bot from visiting your site. It tells Google not to use the content Googlebot already fetched for training Gemini. Most articles on this topic conflate the two, which leads to misconfigured robots.txt files.

How to Find AI Crawlers in Your Server Logs

Server logs record every request your server handles, regardless of whether the visitor runs JavaScript. Each entry includes a timestamp, the requesting IP, the requested URL, the HTTP status code, and the user-agent string. The user-agent string is where AI crawlers identify themselves.

Here is what a typical log entry looks like:

203.0.113.42 - - [06/May/2026:14:23:01 +0000] "GET /blog/schema-markup-guide HTTP/1.1" 200 15234 "-" "Mozilla/5.0 AppleWebKit/537.36 (compatible; GPTBot/1.2; +https://openai.com/gptbot)"

Step 1: Locate Your Log Files

Log file locations depend on your server software:

  • Apache:/var/log/apache2/access.log
  • Nginx:/var/log/nginx/access.log
  • cPanel: Raw Access Logs section in the hosting panel UI

Step 2: Search for Known AI Crawler User Agents

A single grep command surfaces the major AI crawlers:

grep -iE "GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|anthropic-ai|PerplexityBot|Bytespider|Meta-ExternalAgent|DuckAssistBot|Amazonbot" /var/log/nginx/access.log

Step 3: Find Your Most-Crawled Pages

This command shows the top 20 pages that GPTBot visits most frequently:

grep "GPTBot" /var/log/nginx/access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20

Replace "GPTBot" with any other crawler name to see which pages each bot prioritizes. The pages that appear at the top of this list are your strongest candidates for AI citation optimization.

Step 4: Verify Bots Are Legitimate

User-agent matching alone is not sufficient. Security research indicates that approximately 6% of AI crawler user-agent strings are spoofed [2]. Verification requires two steps:

  1. Reverse DNS lookup on the requesting IP. A legitimate GPTBot request should resolve to an openai.com domain.
  2. Cross-reference against published IP ranges. OpenAI publishes official IP ranges at openai.com/gptbot.json, openai.com/searchbot.json, and openai.com/chatgpt-user.json.
host 203.0.113.42

If the reverse lookup returns a domain that does not match the claimed user agent, the request is spoofed.

One caveat: some bots cannot be verified this way at all. ChatGPT Atlas and OpenAI Operator use standard Chrome user-agent strings, making them indistinguishable from normal browser traffic in server logs. Cloudflare has identified hundreds of distinct crawlers through IP validation and reverse DNS lookups, many with no declared user agent [4].

Key Metrics to Track From Your Log Data

Raw log data becomes useful when you track the right metrics over time. The table below covers the five metrics we monitor for clients and what each reveals about how AI systems are using your content.

The crawl-to-refer ratio deserves particular attention. Cloudflare's data shows that training traffic accounts for nearly 80% of all AI bot crawling [5]. In Q1 2026, Anthropic's ClaudeBot crawled approximately 24,000 pages for every single referral it sent back to websites. In Cloudflare's mid-2025 analysis, OpenAI's overall ratio was 887:1, while Perplexity's ratio of 118:1 was dramatically lower [5]. The gap indicates that Perplexity's crawling activity correlates much more directly with actual citation behavior.

The practical takeaway: high crawl volume from a training crawler does not mean your content is being cited in AI answers. A high crawl volume from PerplexityBot, on the other hand, is a stronger signal that your content is actively appearing in Perplexity search results.

If your log analysis reveals that AI bots are hitting your site heavily but you have no visibility into whether that translates to actual brand mentions in AI responses, that is the gap AI brand mention analysis is designed to close.

Tools That Make AI Crawler Monitoring Practical

Not every team has the resources or desire to grep through server logs manually. The tools below are organized by technical level, from zero-code dashboards to enterprise log platforms.

Command-Line Analysis (Free, Immediate)

The grep and awk commands from the previous section work on any server with shell access. They cost nothing, require no installation, and produce results in seconds. The limitation is that they offer no historical trending, no automated alerts, and no visualization. For a site receiving moderate AI crawler traffic, command-line analysis is a reasonable starting point.

Cloudflare AI Crawl Control (Recommended for Most Sites)

Cloudflare's AI Crawl Control dashboard is the most accessible monitoring option for sites already on Cloudflare. It shows which pages AI bots visit most, referral ratios by crawler, and bot-specific breakdowns without requiring direct server log access.

Key details:

  • Starting July 2025, Cloudflare began blocking AI bots by default for all new domains [6].
  • Full log exports require a Cloudflare Enterprise plan. Free and Pro plans get the dashboard view only.
  • Cloudflare has introduced a pay-per-crawl model that allows site owners to charge AI companies for content access.

For sites where Cloudflare is already in the stack, this is the fastest path to visibility. For sites not on Cloudflare, the infrastructure change may not be justified solely for AI bot monitoring.

Log Analysis Platforms (Technical Teams)

Dedicated log analysis tools automate the pattern recognition that manual grep requires:

The right tool depends on your existing infrastructure. If your engineering team already runs DataDog for application monitoring, adding AI crawler dashboards to that system is simpler than introducing a standalone tool. If your SEO team owns the analysis workflow, Screaming Frog or Botify fits more naturally.

If the analysis reveals gaps in how AI systems are finding and citing your content, booking a free audit gives you a structured starting point for addressing them.

How to Act on What You Find

Log data without action is just observation. The two primary response paths are controlling which crawlers access your content and optimizing the content they find when they arrive.

Controlling Access with robots.txt

The robots.txt file is the primary mechanism for managing AI crawler access. The critical point most guides miss: you should not treat all AI crawlers the same. Blocking training crawlers, search index bots, and user-action agents carries different business implications.

# Allow AI search bots (these drive citations in AI search results)
User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

# Block training-only crawlers (if you want to prevent model training use)
User-agent: GPTBot
Disallow: /

User-agent: anthropic-ai
Disallow: /

User-agent: CCBot
Disallow: /

The distinction matters. Blocking GPTBot opts your content out of ChatGPT's model training data. Blocking OAI-SearchBot opts your content out of ChatGPT search citations. These are different decisions with different consequences for your AI visibility.

This is something we work through with every client, and something we actively manage for our own site. Geostar's own robots.txt configuration is a live example of the tradeoffs involved: we deliberately allow search index bots and user-action agents while evaluating the value exchange with training crawlers.

The llms.txt standard is an emerging community-driven proposal that lets site owners describe their content structure in a machine-readable format at yoursite.com/llms.txt. It is worth knowing about but not universally adopted, and it has no enforcement mechanism. It supplements robots.txt rather than replacing it.

Optimizing What Crawlers Find

The second response path is more strategic. Your most-crawled pages are your strongest candidates for deeper optimization. If ClaudeBot hits your pricing page 500 times and never touches your blog, that is a content gap signal: AI systems are interested in your product information but cannot find the supporting content that would give them reason to cite your brand in broader category queries.

Content optimization for AI citation follows different rules than traditional SEO. The core techniques are covered in our guide to optimizing content for AI search engines, and the technical foundation starts with proper schema markup. What log analysis adds is the data layer that tells you where to focus that work first.

For Perplexity specifically, the lower crawl-to-refer ratio means that pages Perplexity's bot visits are more likely to surface in actual search results. Prioritizing those pages for content quality improvements has a more direct line to citation outcomes than optimizing for a training crawler with a 24,000:1 ratio.

Frequently Asked Questions

**Does blocking AI crawlers in robots.txt actually protect my content?**Robots.txt is a voluntary standard. The major AI companies state they respect it for their declared crawlers. However, robots.txt cannot prevent a human from copying your content and uploading it to a training dataset. It controls direct crawling, not content use through indirect channels.

**How often should I check my server logs for AI crawler activity?**Monthly is sufficient for most sites. Weekly checks make sense during periods of rapid change, such as after a major content launch or a robots.txt update. Cloudflare AI Crawl Control provides ongoing monitoring without manual log review.

**Which AI crawler should I prioritize allowing or blocking first?**Start with the crawl-to-refer ratio. PerplexityBot has the lowest ratio (118:1), meaning its visits correlate most strongly with actual citations. If your goal is AI visibility, Perplexity access is the highest-value allowance. Training crawlers with ratios above 10,000:1 are candidates for blocking if server resources are a concern.

**My site uses Cloudflare. Do I still need to access raw server logs?**The Cloudflare AI Crawl Control dashboard covers the most common monitoring needs. Raw server logs are necessary only for full export analysis, bot verification via IP ranges, or integrating AI crawler data into an existing observability stack. Most sites on Cloudflare's free or Pro plan can rely on the dashboard for day-to-day monitoring.

**Can I tell if my content is being cited in AI answers just from server logs?**Not directly. Server logs show crawl activity, not citation behavior. A high crawl rate from a search index bot (PerplexityBot, OAI-SearchBot) suggests your content is indexed for AI search, but confirming actual citation requires querying the AI platforms or using a dedicated AI visibility monitoring platform. If you want to close the loop between crawler access and actual brand mentions, book a free audit with our team.

References

[1] Imperva Research. "Bad Bot Report 2026: Bots in the Agentic Age." Imperva, 2026. https://www.imperva.com/blog/bad-bot-report-2026-bots-agentic-age/

[2] HUMAN Security. "State of AI Traffic and Cyberthreat Benchmark Report 2026." HUMAN Security, 2026. https://www.humansecurity.com/learn/blog/ai-traffic-growth-2025-key-findings/

[3] Vahan Petrosyan. "Complete Crawler List For AI User-Agents [Dec 2025]." Search Engine Journal, December 2025. https://www.searchenginejournal.com/ai-crawler-user-agents-list/558130/

[4] Momentic Marketing. "AI user-agents, bots, and crawlers to watch (November 2025 update)." Momentic Marketing, November 2025. https://momenticmarketing.com/blog/ai-search-crawlers-bots

[5] David Belson. "A deeper look at AI crawlers: breaking down traffic by purpose and industry." Cloudflare Blog, August 2025. https://blog.cloudflare.com/ai-crawler-traffic-by-purpose-and-industry/

[6] Morningscore. "Cloudflare AI Crawl Control: Track AI Bot Server Logs." Morningscore, April 2026. https://morningscore.io/how-to-cloudflare-track-analyze-ai-bot-server-log/

[7] Botify. "Tracking AI Bots on Your Site with Log File Analysis." Botify Blog, November 2024. https://www.botify.com/blog/tracking-ai-bots-with-log-file-analysis

[8] Alexandre Hoffmann. "Tracking LLMs Bots on Your Site using Log File Analysis." Passion Digital, July 2025. https://passion.digital/blog/tracking-llms-bots-on-your-site-using-log-file-analysis/