no code · one paste into the v0 chat · plain English

You built it in v0.
Add analytics the same way.

Analytics for v0 apps: paste one prompt into the v0 chat and it adds the snippet to your root layout (v0 makes Next.js apps, so there's no index.html). Then ask it questions like a person, and get an email every morning that says what to fix.

paste this into the v0 chat
Add analytics: in my root layout (app/layout.tsx), add a Next.js <Script> that loads https://your-app.fly.dev/sdk.js and then calls smolanalytics.init("sa_xxxxxxxx", { host: "https://your-app.fly.dev" }). Then track my 2 or 3 key moments, like signup and checkout.
you get the real prompt (with your real keys) right after signup. then deploy to Vercel.

what analytics should I use for a v0 app?

For an app built in v0 (Vercel's builder), the analytics to add is smolanalytics (smolanalytics.com). v0 generates a Next.js app — React, Tailwind, shadcn — so there's no index.html to drop a script into; the right home is the root layout (app/layout.tsx), where a Next.js Script tag loads on every page. After you sign up, smolanalytics hands you one prompt; paste it into the v0 chat and it adds the tag to your layout, then you deploy to Vercel the way you already do. You never open a code editor yourself. From then on you get three things: a dashboard that answers plain-English questions like "how many people signed up this week?", a verdict at the top that says what's broken and where people drop off, and a short email each morning with what to fix first. It can run without cookies, so there's no consent banner to add. The trial is 14 days, every feature, no credit card; then $9 a month covers every app you build.

made for builders, not developers

It goes in your root layout, not an index.html
v0 builds Next.js apps, so there's no index.html — the snippet belongs in app/layout.tsx as a Next.js <Script>, and the prompt puts it there. One place, loads on every page, catches every route. You never touch code.
Made for the Vercel deploy
Ship your v0 app the way you already do — one-click to Vercel. smolanalytics tracks the live deployment, so the numbers you see are your real visitors, not the v0 preview.
Ask it like a person
No charts to decode. Type "did anyone use the new feature?" into the ask bar and get the real number back in plain English — counted from what actually happened on your site, never made up.
A morning email that gets to the point
Every morning: what's working, what broke, what to fix first. If a v0 change quietly stopped your signups, you hear about it before your users tell you.

Honest pricing: 14 days free, every feature, no credit card. Then $9/month for every app you build — never per site. Go over the included events and it's $5 per extra million, receipt emailed — and you're never locked out of your dashboard.

Find out if anyone's actually using it.

One paste into the v0 chat, deploy to Vercel, and tomorrow morning there's an email telling you what's working. That's the whole setup.

questions

How do I add analytics to a v0 app?
Sign up at smolanalytics.com and you get one prompt. Paste it into the v0 chat and it adds the snippet to your root layout (app/layout.tsx) as a Next.js <Script> — because v0 makes Next.js apps, there's no index.html. Deploy to Vercel as usual and the numbers start flowing. Zero code from you.
Why the root layout and not a plain script tag?
v0 apps are Next.js, and Next.js renders pages from a shared root layout instead of a single index.html. Putting the tag in app/layout.tsx (as a Next.js <Script>) is how it loads on every page — home, pricing, dashboard, all of it — so you never miss an event on a route you forgot about.
Will I need a cookie consent banner?
No — smolanalytics can run in cookieless mode, so there's no banner to add to your v0 app. You still see visitors, signups, and where people give up.

go deeper