CrawlClick docs
Menu and search

Which requests the CrawlClick Worker routes to CrawlClick

The Worker sends a request to CrawlClick only when it is a GET whose Accept header allows HTML and whose user agent matches the Worker's AI crawler pattern or which looks like a navigation from an AI answer engine.

Status: Live

The CrawlClick edge Worker runs on every request to a hostname attached to it. It makes a routing decision from the request method and headers alone, with no lookup, and it sends most traffic straight to your origin. This page lists the checks in the order the Worker applies them, read from edge/cloudflare/worker.js in the API repository. For what happens after a request is routed, see How the edge works.

In what order does the Worker check a request?

  1. Method. Anything other than GET goes to your origin. That includes HEAD, POST and OPTIONS. The proxy does not replay request bodies, and a sponsored block is defined only for documents.
  2. Accept header. The Accept value must contain text/html, application/xhtml+xml or */*, compared without regard to case. A missing Accept header counts as */*. An Accept of application/json, image/* or text/* alone goes to your origin.
  3. Crawler user agent. If the User-Agent matches the pattern below, the request goes to CrawlClick.
  4. AI referral. If the request looks like a person following a link from an AI answer engine, it goes to CrawlClick.
  5. Everything else goes to your origin with fetch(request), unchanged.

What user-agent pattern does the Worker match?

The Worker tests the User-Agent header against this regular expression, with the i flag (case-insensitive). It is an unanchored substring match, so a token anywhere in the header matches.

(GPTBot|ChatGPT-User|OAI-SearchBot|PerplexityBot|Perplexity-User|ClaudeBot|Claude-User|Claude-SearchBot|anthropic-ai|Google-Extended|GoogleOther|Google-CloudVertexBot|Applebot-Extended|Amazonbot|meta-externalagent|meta-externalfetcher|Bytespider|CCBot|cohere-ai|DuckAssistBot|YouBot|MistralAI-User)

The match is a cheap filter, not an identity check. A request that matches is sent to the proxy, which verifies it against the vendor’s published IP ranges or a Web Bot Auth signature. A spoofed user agent is routed, found to be unverified, and served your page unchanged without billing. See Verification tiers.

Two tokens in the pattern, Google-Extended and Applebot-Extended, are not user-agent tokens in the crawler registry. Applebot-Extended does not match a user agent that contains Applebot alone.

Which registry agents are not routed today?

The Worker routes on its user-agent pattern and nothing else. It does not inspect Signature-Agent or any other signature header when it decides. So an agent that identifies itself only with a signature, or whose user-agent token is not in the pattern, reaches your origin untouched. Those requests are neither verified nor measured by CrawlClick, and they cannot earn. This list is generated from the registry snapshot and the Worker’s pattern:

Googlebot and bingbot are on this list by design. The registry marks them as not ad-eligible: they also rank publishers in ordinary search, so CrawlClick never monetises them.

These registry agents are routed:

Being routed does not make an agent billable. Training crawlers are routed and measured but never receive a block. Each crawler’s page shows its phase and whether it is ad-eligible.

What counts as an AI referral?

A request that did not match the crawler pattern is treated as an AI referral when all of these hold:

  • the method is GET;
  • Sec-Fetch-Mode is navigate, Sec-Fetch-Dest is document and Sec-Fetch-Site is cross-site. Browsers set these headers and page script cannot, so this filters out scripted fetches;
  • and either the Referer host is, or is a subdomain of, chatgpt.com, chat.openai.com, perplexity.ai, claude.ai, gemini.google.com or copilot.microsoft.com; or the utm_source query parameter, lower-cased and without a trailing dot, is exactly chatgpt, perplexity, claude, gemini, copilot or one of those six hosts.

The utm_source check exists because some AI apps strip the referrer and tag the outbound link instead. The proxy repeats the classification. The Worker’s check only saves a subrequest.

AI referrals are measurement only. The proxy reads your site’s referral setting from the console, but production refuses referral placements regardless, because these headers can be forged. A referred reader gets your page byte for byte, marked private, no-store.

How can I see which path a request took?

A response from the CrawlClick path carries X-Crawlclick: served. A response from the origin path, including any fallback, does not. Test the integration has curl commands for each case, and Headers and caching lists every header involved.