SpyderBot Documentation
Cloudflare
Cloudflare is used when request-level infrastructure evidence is required and the supported connection is available. Depending on the approved integration, it may provide observed requests, requested URLs, response or access outcomes, bot/network identity signals, policy or block context, and source freshness information.
Use the SpyderBot Cloudflare Worker when you want edge injection of wfm.js plus server-side bot/AI-agent signals without changing origin application code. The official Worker is released on GitHub as v1.0.0 — deploy with Cloudflare's button or copy the paste-ready snippet from Integrations.
Cloudflare request evidence does not prove content understanding, citation, recommendation, training use, or human referral outcomes. Follow AI Traffic → Cloudflare Setup for current scopes and verification.
What it tracks
- Bots and AI agents:
POST /server-trackwith visitor IP/country in the JSON body, real HTTP status and method - Humans: injected
wfm.js(Worker does not server-track humans) - Session continuity via first-party
_spyd_sidcookie (shared withwfm.js)
Cloudflare request evidence from this Worker does not prove citation, recommendation, or training use — it measures visits and bot activity.
Deploy to Cloudflare (recommended)
- Click Deploy to Cloudflare (opens the official flow for spyderbotlabs/spb-cloudflare-worker v1.0.0).
- When prompted for a secret, paste your SpyderBot tracking key as
TRACKING_KEY. - Add a route that covers HTML pages (avoid pure static/CDN asset paths).
- If you use CSP, allow
script-srcandconnect-srcforhttps://spyderbot.net(and your tracking API origin). - Confirm Measurement Health shows connected and receiving.
Alternative: paste-ready snippet
- Copy the Worker from Integrations → Cloudflare Worker (URLs match this environment).
- Deploy in Cloudflare Dashboard → Workers & Pages → Create → paste → Deploy.
- Attach routes and CSP as above.