Zero Spam makes it a cinch to help protect any site or application. Use one of the installation methods below to begin protecting against malicious, spammy, and fraudulent users.
Zero Spam for WordPress Installation
Integrating Zero Spam into your WordPress site is as simple as installing the Zero Spam for WordPress plugin. Supports enhanced protection with a valid license key.
- Download or install the WordPress Zero Spam plugin.
- If downloaded, upload the entire zero-spam folder to the /wp-content/plugins/ directory.
- Activate the plugin through the Plugins screen (Plugins > Installed Plugins).
- Visit the plugin setting to configure as needed (Settings > Zero Spam).
JavaScript Installation
Copy and paste the code below into the <head>
or at the bottom of the page (recommended).
When a visitor’s or a defined IP confidence score is equal to or higher than the minimum level, they will be redirected to another URL.
<script src="https://www.zerospam.org/wp-json/v2/protect.js" async></script>
Parameters
ip-address
– Optional. IP address that should be checked. Defaults to the requester’s IP.confidence
– Optional. Min. confidence level before a user should be blocked. Defaults to 20.redirect
– Optional. URL to redirect the blocked user. Defaults to https://www.zerospam.org/blockedlicense
– Optional. Premium license for enhanced protection.debug
– Optional. 1 to output results to the browser console and no redirect. Defaults to 0.
JavaScript Example with Parameters
<script src="https://www.zerospam.org/wp-json/v2/protect.js?ip-address=104.248.124.93&confidence=20&redirect=https://www.google.com&license=LICENSE&debug=0" async></script>
Zero Spam API
We also offer an easy-to-use API to access the most up-to-date and comprehensive information for IP and email addresses. Integrate into any website or application to gain protection from malicious activity. For more information and how to use it, see the Zero Spam API documentation.