WordPress
Finding your Site ID
Log in at dash.botfighter.dev → your Site ID is shown at the top of the dashboard.
Option A — Insert Headers and Footers plugin (recommended)
No theme editing required, survives theme updates.
- In your WordPress admin, go to Plugins → Add New and search for Insert Headers and Footers (by WPBeginner). Install and activate.
- Go to Settings → Insert Headers and Footers.
- Paste the snippet into the Scripts in Footer box:
html
<script
src="https://botfighter.dev/botfighter.js"
data-site="YOUR-SITE-ID"
data-api="https://api.botfighter.dev"
data-honeypot="true"
defer>
</script>- Click Save.
- Visit your site and check your dashboard — the first signal should appear within seconds.
Option B — Theme File Editor
- Go to Appearance → Theme File Editor.
- In the file list on the right, select footer.php.
- Find the closing
</body>tag and paste the snippet immediately before it. - Click Update File.
- Visit your site and verify in DevTools → Network → filter
signal→ expect{"ok":true}.
TIP
If your theme uses a child theme, edit the child theme's footer.php so updates don't overwrite your changes.
Need help? Open an issue on GitHub or check the dashboard for your live signal feed.