Filter by Code
Once your domain is verified, you can generate your protection snippet.
How to use Filter by Code:
- Go to Create Filter > Filter by Code.
- Configure your filters (Device, Country, VPN detection).
- Copy the generated JS Snippet.
- Paste the snippet at the Very Top of your
<head>tag, preferably above all ad scripts (AdSense, Adsterra, etc.).
When an invalid user hits your site, the script executes before the page renders and redirects them to a safe URL, effectively masking your real ads from bots.