AI Traffic & Citations

See every AI crawler, referral, and cited passage.

Monitor 39 AI crawlers across AI answers, indexing, and training at zero quota cost, plus automatic human AI referrals and #:~:text= cited quotes.

Istiak Rayhan
Istiak RayhanCo-Founder & Product Lead, DotCamp & TrimStats
Specs verified against production TrimStats source
Seeded demo workspace
TrimStats AI Traffic dashboard showing 14,820 AI Answers crawls, 9,640 Indexing crawls, 7,410 Training crawls, and top providers led by ChatGPT and PerplexityTrimStats AI Traffic dashboard showing 14,820 AI Answers crawls, 9,640 Indexing crawls, 7,410 Training crawls, and top providers led by ChatGPT and Perplexity
  1. 1
    Three crawler intents: Splits 39 AI crawler user agents into AI answers, Indexing, and Training with one-click Crawlers or Pages views.
  2. 2
    Excluded from billing quota: Crawler requests write to a separate ClickHouse table and consume zero events from your monthly plan allowance.
Separate real-time AI answer retrieval from search indexing and model training crawlers in one ClickHouse view that never consumes your monthly event quota.
Direct answer

How does TrimStats track AI crawlers, AI referrals, and cited passages?

TrimStats tracks both halves of AI search in one workspace. Cloudflare GraphQL sync, the @trimstats/ai-crawl middleware package, or the TrimStats WordPress plugin classifies 39 AI crawlers across AI answers, Indexing, and Training at zero monthly event quota cost. Meanwhile, the 1.96 KB gzipped browser script automatically captures human referrals from 13 AI assistants, W3C #:~:text= cited passages, and webhook-attributed revenue.

AI crawlers classified
39 user agents

Grouped across 16 providers into AI answers, Indexing, and Training categories.

Monthly quota impact
0 events

Crawler ingestion is excluded from billing quotas with a 2,000 req/min per-site cap.

AI assistant referrers
13 assistants

Automatic attribution for ChatGPT, Perplexity, Claude, Gemini, Copilot, Grok, and more.

Cited passage capture
#:~:text= auto

Decodes W3C Scroll-to-Text-Fragment quotes automatically inside the 1.96 KB gzipped tracker.

Why teams switch to TrimStats for ai traffic & citations

Built directly on ClickHouse, Fastify, and a sub-2 KB browser script to remove legacy analytics blind spots.

Browser trackers are completely blind to AI crawlers

AI retrieval and training bots like ChatGPT-User, Claude-User, and GPTBot fetch raw HTML without executing JavaScript, leaving browser-only analytics blind to what LLMs read.
TrimStats ingests crawler requests server-side via Cloudflare GraphQL sync (even on Free plans), the @trimstats/ai-crawl npm package, or the TrimStats WordPress plugin.

Standard referrer tables hide which sentences earned citations

Seeing traffic from chatgpt.com or perplexity.ai shows the landing URL, but browsers strip #:~:text= fragments from window.location.hash before analytics scripts inspect them.
TrimStats reads performance.getEntriesByType("navigation") on page load, decodes W3C text fragments server-side, and ranks the exact cited passages per page.

Aggressive bot crawls pollute metrics and burn paid quotas

Recording high-frequency indexing and training crawlers inside a standard pageview table inflates bounce rates and drains monthly event limits on usage-priced analytics.
TrimStats isolates AI crawler hits into a dedicated analytics.crawler_events table in ClickHouse so human metrics stay clean and crawler traffic uses zero billing quota.
01 / Capability

Classify 39 AI crawlers into AI answers, Indexing, and Training

Separate live answer-engine fetches triggered by real user prompts from background search indexers and model-training scrapers. Inspect smooth multi-crawler daily curves, click any brand row to isolate its trend, and switch to Pages to audit top crawled URLs.

  • Recognizes ChatGPT-User, OAI-SearchBot, GPTBot, Claude-User, ClaudeBot, Perplexity-User, Gemini-Deep-Research, and 32 more user agents.
  • Separates real-time citation fetches (AI answers) from Indexing and Training so content teams measure answer-engine demand accurately.
  • Stores hits in ClickHouse analytics.crawler_events with 2,000 req/min per-site rate protection and zero monthly event quota consumption.

AI crawler activity splits cleanly across live AI answers, Indexing, and Training

Seeded 30-day demo crawler requests matching the AI Traffic dashboard above

requests
AI answers(ChatGPT-User, Claude-User, Perplexity-User, Gemini-Deep-Research)
14,820 requests
Indexing(OAI-SearchBot, Claude-SearchBot, PerplexityBot, Applebot)
9,640 requests
Training(GPTBot, ClaudeBot, Google-Extended, Bytespider, CCBot)
7,410 requests

Separating crawler intent reveals how much traffic comes from real-time answer retrieval (14,820) versus background indexing (9,640) and model training (7,410).

Methodology: Aggregated from analytics.crawler_events across the seeded 30-day TrimStats demo workspace using TrimStats 39-rule user-agent classification.

Source: TrimStats seeded demo workspace (acme.dev)
View chart data table
LabelCrawler requests (30d)
AI answers14,820 requests
Indexing9,640 requests
Training7,410 requests
02 / Capability

Measure human AI referrals, #:~:text= citations, and attributed revenue

Switch to the AI Referrals & Citations tab to see real humans arriving from AI assistants, the exact sentences highlighted via W3C Scroll-to-Text-Fragment links, and the verified revenue those visits generate.

  • Matches 13 AI assistants (ChatGPT, Perplexity, Claude, Gemini, Copilot, Grok, Meta AI, Mistral, DeepSeek, and more) by host and UTM source.
  • Extracts and decodes W3C #:~:text= directives automatically inside the single 1.96 KB gzipped tracker with zero extra configuration.
  • Joins AI-referred visitors directly to signed Stripe, Paddle, and Polar.sh payment webhooks across a 90-day ClickHouse lookback window.
Seeded demo workspace
TrimStats AI Referrals and Citations view showing $4,820 attributed revenue across ChatGPT, Perplexity, and Claude alongside decoded #:~:text= cited passagesTrimStats AI Referrals and Citations view showing $4,820 attributed revenue across ChatGPT, Perplexity, and Claude alongside decoded #:~:text= cited passages
  1. 1
    Revenue per AI assistant: Joins human visits from chatgpt.com, perplexity.ai, and claude.ai directly to signed Stripe, Paddle, and Polar orders.
  2. 2
    Decoded #:~:text= quotes: Captures exact cited sentences via Navigation Timing before browsers strip the URL text fragment.
Track human visits per AI assistant alongside exact #:~:text= cited passages and verified payment-webhook revenue.
03 / Capability

Connect AI crawlers via Cloudflare, WordPress, or 3 lines of middleware

Pick the ingestion method that matches your stack. No-code Cloudflare API sync and the TrimStats WordPress plugin require zero custom code, while Node and edge apps drop in the zero-dependency @trimstats/ai-crawl package.

  • Cloudflare API connect queries httpRequestsAdaptiveGroups over GraphQL on any Cloudflare plan including Free, backfills 7 days immediately, and syncs hourly.
  • The installable WordPress plugin (trimstats-analytics.zip) injects the deferred 1.96 KB tracker and forwards matching AI crawler requests non-blocking.
  • The public @trimstats/ai-crawl npm package ships native adapters for Next.js proxy/middleware, Cloudflare Workers, Express, Hono, and Fastify.
proxy.tsts
1import { createNextMiddleware } from '@trimstats/ai-crawl';
2
3export const proxy = createNextMiddleware({
4 siteKey: 'pk_live_your_key',
5});
Forward matching AI crawler requests asynchronously at the edge using @trimstats/ai-crawl with zero runtime dependencies.

AI Traffic & Citations FAQ

Direct answers on implementation, privacy controls, quotas, and data accuracy.

Do AI crawler requests count toward my monthly TrimStats event quota?
No. AI crawler hits are stored in a dedicated ClickHouse table (analytics.crawler_events) and never count against your monthly plan event allowance. Every site receives a generous 2,000 requests per minute ingestion cap to prevent abuse while keeping AI crawler monitoring free on every plan.
How does TrimStats capture #:~:text= cited passages if browsers hide them?
Chromium and modern browsers strip W3C Scroll-to-Text-Fragment directives from window.location.hash immediately after scrolling. The TrimStats 1.96 KB tracker reads the original navigation URL from performance.getEntriesByType("navigation") on load and sends the fragment to the collector, which decodes prefix, start, end, and suffix clauses cleanly.
Does no-code Cloudflare AI crawler sync work on the Cloudflare Free plan?
Yes. TrimStats queries Cloudflare GraphQL Analytics (httpRequestsAdaptiveGroups) using a scoped Zone Analytics Read API token, which works on Cloudflare Free, Pro, Business, and Enterprise zones without requiring Logpush or deploying a Worker. Connecting triggers an immediate 7-day backfill followed by hourly syncs.
Which AI crawlers and assistants does TrimStats recognize out of the box?
TrimStats classifies 39 AI crawler user agents across 16 providers including ChatGPT-User, OAI-SearchBot, GPTBot, Claude-User, Claude-SearchBot, ClaudeBot, Perplexity-User, PerplexityBot, Gemini-Deep-Research, Google-Extended, DuckAssistBot, Applebot-Extended, Grok-DeepSearch, and Bytespider, plus 13 human AI assistant referral sources.
Can I track AI crawlers and citations on WordPress without writing code?
Yes. Download the official TrimStats WordPress plugin zip directly from your site AI Traffic setup modal, upload it in WP Admin, and paste your public site key. It embeds the deferred 1.96 KB script for human visitors and cited passages while forwarding matching server-side AI crawler requests automatically.
Does enabling @trimstats/ai-crawl middleware add latency for human visitors?
No. The middleware tests the User-Agent header against a precompiled regex in microseconds, ignores all normal browser traffic immediately, and dispatches matching AI crawler pings asynchronously with fire-and-forget waitUntil or short non-blocking timeouts so page responses are never delayed.
Istiak Rayhan
Engineered & documented by
Istiak Rayhan (Co-Founder & Product Lead, DotCamp & TrimStats)

Co-founder and Product Manager at DotCamp LLC and co-creator of TrimStats. Publisher, SEO practitioner, and WordPress product leader building creator tools since 2012.

  • • Co-founder & Product Manager at DotCamp LLC (est. 2019), guiding product strategy for Ultimate Blocks, WP Table Builder, OptimizeCamp, and TrimStats
  • • Full-time publisher and digital marketer since 2012; founder of RoadToBlogging.com and WPLeaders.com
  • • WordPress.org Plugin Developer, Support Contributor, and WordCamp Sylhet 2023 speaker on building WordPress products

Verification standard: All script sizes (1.96 KB gzipped), plan limits, and dashboard behaviors on this page are verified directly against the TrimStats repository and seeded acme.dev workspace as of 2026-11-30.

Try ai traffic & citations with one 1.96 KB gzipped script

Every TrimStats tier from Starter ($17/month) through Scale ($134/month) includes full access to revenue attribution, UI friction, anomaly insights, funnels, and cohorts.

Verified against live TrimStats specifications.