Wix
Finding your Site ID
Log in at dash.botfighter.dev → your Site ID is shown at the top of the dashboard.
Option A — Custom Code (recommended)
- In Wix Editor, go to Settings → Custom Code (or from the dashboard: Marketing & SEO → Marketing Tools → Custom Code).
- Click + Add Code.
- Paste the snippet:
html
<script
src="https://botfighter.dev/botfighter.js"
data-site="YOUR-SITE-ID"
data-api="https://api.botfighter.dev"
data-honeypot="true"
defer>
</script>- Set Place Code to Body - End.
- Set Add Code to Pages to All Pages.
- Click Apply and then Publish.
Option B — Wix Velo (if Custom Code is restricted)
Wix restricts some external <script> tags. If the snippet doesn't load via Custom Code, use Wix Velo to inject it dynamically:
- Enable Dev Mode in the Wix Editor (toggle in the top bar).
- Open Pages → masterPage.js in the Velo sidebar.
- Add the following:
js
$w.onReady(function () {
const s = document.createElement('script')
s.src = 'https://botfighter.dev/botfighter.js'
s.setAttribute('data-site', 'YOUR-SITE-ID')
s.setAttribute('data-api', 'https://api.botfighter.dev')
s.setAttribute('data-honeypot', 'true')
s.defer = true
document.body.appendChild(s)
})- Save and Publish.
- Visit your site and check your dashboard for the first signal.
Need help? Open an issue on GitHub or check the dashboard for your live signal feed.