Skip to content

Shopify

Finding your Site ID

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

  1. In your Shopify admin, go to Online Store → Themes.
  2. Click Actions → Edit code on your active theme.
  3. In the file tree on the left, open layout/theme.liquid.
  4. Find the closing </body> tag and paste the snippet immediately before it:
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.

TIP

theme.liquid renders on every page of your store, so one snippet installation covers your entire site.


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