Install Analytise on v0

v0 generates a Next.js app — drop the snippet into the root layout.

Add it to the layout

  1. Open your v0 project and switch to the Code view.
  2. Find app/layout.tsx (v0 uses the App Router).
  3. Add the script tag inside <head>.
  4. Deploy from v0 to Vercel.
app/layout.tsx
export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <head>
        <script
          defer
          data-domain="yourwebsite.com"
          data-site-id="YOUR_SITE_ID"
          src="https://www.analytise.com/js/tracker.js"
        />
      </head>
      <body>{children}</body>
    </html>
  );
}

Want v0 to do it for you? Ask: Add an Analytise analytics script tag with data-domain="yourwebsite.com" and data-site-id="YOUR_SITE_ID" to the head of app/layout.tsx.

Verify it works

  1. Open your website in a new tab.
  2. The dashboard shows your visit under online within a few seconds (live visitors update every ~15s).
  3. Nothing showing? See Troubleshooting.

Next guide

Bolt