Install Piqo on V0
V0 generates a Next.js app — drop the snippet into the root layout.
- Open your V0 project and switch to the Code view.
- Find
app/layout.tsx(V0 uses the App Router). - Add the script tag inside
<head>. - 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.”