Skip to content

BigCommerce

Finding your Site ID

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

BigCommerce's built-in Script Manager injects a script on every storefront page without touching your theme.

  1. In your BigCommerce admin, go to Storefront → Script Manager.
  2. Click Create a Script.
  3. Name it (e.g. "Botfighter"), set Location to Footer, Select pages where script will be added to All pages.
  4. Set Script category to Essential (so it isn't blocked by cookie-consent tooling) and Script type to Script.
  5. Paste the snippet into the Script contents 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>
  1. Click Save.
  2. Visit your storefront and check your dashboard for the first signal.

Stencil theme editing (alternative)

If you prefer editing the theme directly: open templates/layout/base.html in your Stencil theme and paste the snippet before </body>, then upload/push the theme via the Stencil CLI.


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