· Guides· Engineering
GPTBot, ClaudeBot and friends: how to see which AI crawlers read your site
AI crawlers never run JavaScript, so normal analytics cannot see them. Here is how FlarePanel records GPTBot, ClaudeBot, PerplexityBot and hundreds more from your server, your Cloudflare Worker or straight from your Cloudflare zone.
By FlarePanel team
A growing share of the requests your site serves come from AI systems: crawlers collecting training data, crawlers building the index that AI search answers from, and assistants fetching a page because a person just asked them something. Most analytics tools show none of it. This post explains why, and how FlarePanel’s Bots & AI crawlers page fills the gap.
Why your analytics script cannot see them
GPTBot, ClaudeBot and PerplexityBot download your HTML and leave. They do not run JavaScript, so a tracking script such as FlarePanel’s op1.js never loads and nothing is recorded. The only place that sees these requests is the one that serves them: your server, your Cloudflare Worker or your framework’s middleware.
So FlarePanel takes bot hits from there. You report a request (path, user agent and, ideally, the response status), FlarePanel matches the user agent against its bot list of several hundred crawlers, and keeps the hit only when it is a known bot. Every human request you report is dropped.
Five groups, by what the bot came for
“Bots” is too broad to act on, so every hit lands in one of five groups:
- AI answers: an assistant fetched the page because a person asked it something. ChatGPT-User, Claude-User, Perplexity-User. These are the visits closest to a citation.
- AI search indexing: OAI-SearchBot, Claude-SearchBot, PerplexityBot, building the index AI search draws from.
- AI training: GPTBot, ClaudeBot, CCBot, Bytespider, Applebot-Extended and others collecting training data.
- Search engines: Googlebot and Bingbot.
- Other: SEO tools, uptime monitors, feed readers, link previews.
The difference matters. You might be happy to be read by assistants answering questions and less happy about training crawls; you can only decide once you can see them apart.
Option 1: connect Cloudflare, no code
If your site’s DNS is proxied through Cloudflare, FlarePanel can read crawler traffic straight from your zone’s analytics. You create a read-only API token (Zone → Analytics → Read, limited to that one zone), paste it into the Cloudflare card on the page and pick the zone. It works on every Cloudflare plan, including Free.
The first sync reads the last 7 days, then FlarePanel syncs every hour. Two honest caveats: Cloudflare samples analytics on busy zones, so these numbers are estimates, and the import matches by user agent only. The page labels the source as Cloudflare so you always know.
Option 2: a few lines in your Worker or server
For exact numbers, report from the place that serves the page. On a Cloudflare Worker the SDK wraps your handler, returns every response as it is and reports bot requests after the response is sent, so the page is never slowed down:
import { withCrawlCapture } from '@flarepanel/sdk';
export default withCrawlCapture({
async fetch(request, env) {
return fetch(request); // whatever your Worker already does
},
});There is a captureCrawl helper for Next.js middleware, a trackCrawl function for any JavaScript server, and a plain POST /track/crawl endpoint for everything else. All of them need the client secret, so the report always comes from your server and never from a browser.
You can use both options together. FlarePanel never adds them up for the same hour: an hour your snippet reported shows its exact numbers, and Cloudflare’s estimates fill the hours it did not.
Real crawler, or someone pretending?
User agents are trivial to fake. When your Worker runs on Cloudflare, the SDK also sends Cloudflare’s verified-bot category, which Cloudflare sets after checking the request against the operator’s published IP ranges. The Verified only switch then hides everything that was not verified. Those fields are not present on every Cloudflare plan; without them the hits are kept unverified and the switch stays off.
What you learn from it
- Which pages AI reads. The crawled pages table lists the most requested paths, including
robots.txt,llms.txt, sitemaps and.mdfiles. - Where bots hit errors. Send the response status and each path shows its 4xx and 5xx counts. A crawler that keeps getting 404s on your docs is a crawler that cannot cite them.
- Whether crawling turns into visitors. AI visibility puts crawler activity next to the visits that came from ChatGPT, Perplexity, Claude and Gemini in the same period.
Limits
Hits are kept for 30 days. On FlarePanel Cloud a project keeps up to 100,000 bot hits a calendar month; past that the endpoint still answers and says the hit was not stored. Self-hosted installs have no allowance.
Read next
The full setup, the endpoint reference and the Cloudflare token steps are in AI crawlers and bots. To check whether AI assistants actually name you, see Are you in ChatGPT’s answer? To decide which bots to let in, see the robots.txt guide for AI crawlers. To try it on your own site, create a project. The first 30 days are free.
Questions
- How can I see which AI crawlers like GPTBot and ClaudeBot visit my website?
- Report page requests from where they are served, because AI crawlers do not run JavaScript. With FlarePanel you either connect your Cloudflare zone with a read-only token (no code), or add a few lines to your Worker, Next.js middleware or server. The Bots & AI crawlers page then shows each bot, the pages it read and any 4xx or 5xx errors.
- Does Google Analytics show GPTBot or ClaudeBot?
- No. GA4 and other JavaScript trackers only see visitors that run their script, and AI crawlers fetch the HTML without running it.