Skip to content

Wix Headless / Wix Studio

Not what you're looking for?

This page is for Wix Headless — a custom frontend (usually Next.js) you built yourself against Wix's APIs. If you're using regular Wix Stores through the Wix editor, see the Wix guide instead.

Finding your Site ID

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

Your frontend is a real app — install like any Next.js/React app

Wix Headless doesn't add its own hosting layer — your storefront is a normal frontend app (commonly Next.js) that just calls Wix's Catalog/Cart/Checkout APIs for data. Install the snippet the same way you would for any Next.js app, deployed wherever you host it (Vercel, Netlify, your own server):

tsx
// app/layout.tsx (App Router)
import Script from 'next/script'

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <body>
        {children}
        <Script
          src="https://botfighter.dev/botfighter.js"
          data-site="YOUR-SITE-ID"
          data-api="https://api.botfighter.dev"
          data-honeypot="true"
          strategy="afterInteractive"
        />
      </body>
    </html>
  )
}

Visit your storefront and check your dashboard for the first signal.


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