Install Piqo on V0

V0 generates a Next.js app — drop the snippet into the root 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-site="YOUR_SITE_ID" src="https://piqo.app/piqo.js" />
      </head>
      <body>{children}</body>
    </html>
  );
}
Want V0 to do it for you? Ask: “Add a Piqo analytics script tag with data-site="YOUR_SITE_ID" to the head of app/layout.tsx.”