Pixel Overview
Complete guide to SpamBlock Pixel
How It Works
- Detection - Automatically finds all forms on the page
- Interception - Intercepts form submissions before they reach your backend
- Scoring - Analyzes each submission using 13+ detection signals
- Decision - Blocks spam, allows legitimate submissions
Configuration
Configure the pixel using data-* attributes:
<script
src="https://pixel.spamblock.io/latest.js"
defer
data-max-score="60"
data-debug="false"
></script>
Available Options
data-max-score- Maximum spam score before blocking (default: 60)data-debug- Enable debug logging (default: false)data-block-spam- Only protect forms with this attribute
See the full configuration reference for all options.
Detection Signals
The pixel uses 13+ detection signals including:
- Language detection
- Entropy analysis
- Header analysis
- Intent classification
- Behavioral tracking
- And more...