Skip to content

Wix

Finding your Site ID

Log in at dash.botfighter.dev → your Site ID is shown at the top of the dashboard.

  1. In Wix Editor, go to Settings → Custom Code (or from the dashboard: Marketing & SEO → Marketing Tools → Custom Code).
  2. Click + Add Code.
  3. 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>
  1. Set Place Code to Body - End.
  2. Set Add Code to Pages to All Pages.
  3. 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:

  1. Enable Dev Mode in the Wix Editor (toggle in the top bar).
  2. Open Pages → masterPage.js in the Velo sidebar.
  3. 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)
})
  1. Save and Publish.
  2. Visit your site and check your dashboard for the first signal.

Need help? Check the dashboard for your live signal feed.