BotShield Signal Pixel
The BotShield Signal Pixel is an opt-in passive signal collection layer built into the<botshield-verify> web component. When enabled with signals="true", it combines edge scoring, behavioral fingerprinting, and third-party integrations (Cloudflare Turnstile) to produce a tamper-proof bot score — without requiring any user interaction.
The Signal Pixel is not a separate integration. It is a capability of the same
<botshield-verify> web component used for active passkey verification. Add signals="true" to enable it.Three Layers of Defense
The Signal Pixel is Layer 1 of BotShield’s defense-in-depth architecture:Quick Start
BotShield.render():
Tamper-Proof Signal Tokens
The Signal Pixel returns an opaquesignal_token (e.g. bs_sig_a1b2c3...) alongside the display score. This token maps to the real score stored in BotShield’s database — it cannot be faked.
Server-Side Validation
Signal tokens are one-time use and expire after 10 minutes. Once validated, the token is consumed and cannot be reused.
Cloudflare Turnstile Integration
When you enable Cloudflare Turnstile in your BotShield dashboard, the web component automatically loads and runs Turnstile alongside the Signal Pixel. No code changes needed.Setup
- Go to Partner Dashboard → Integrations → Cloudflare Turnstile
- Enter your Turnstile Site Key and Secret Key
- Click Save
- Widget Mode: Invisible — BotShield handles all UI
- Pre-clearance: Yes
- Pre-clearance Level: Interactive (high)
Combined Confidence Scoring
When you pass bothtoken and signal_token to verify-token, BotShield returns a combined confidence score that factors in all available signals:
Scoring Method
The bot score is a combined metric from two independent layers:Edge Scoring (Server-Side — Can’t Be Spoofed)
Evaluated at the Cloudflare Worker edge before any HTML is served.Behavioral Fingerprint (Client-Side)
Runs over a 1.5-second collection window inside an isolated context.Score Ranges
Full Escalation Flow
The most powerful pattern — passive Signal Pixel screening with automatic escalation to passkey verification when the score is ambiguous:Security
- Signal collection runs in an isolated context — cannot access the parent page’s DOM, cookies, or storage
signal_tokenis tamper-proof — always validate server-side, never trustsignal_scorealone- Behavioral fingerprint collects device/environmental signals only — no PII, no tracking
- Turnstile secret keys are stored encrypted and used server-side only — never exposed to the client
Next Steps
Web Component Reference
Full API docs for
<botshield-verify> and BotShield.render()API Reference
Backend SDK methods for server-side validation
Enable Turnstile
Configure integrations in your Partner Dashboard
Playground
Test Signal Pixel + Turnstile with live scoring