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 smolanalytics to my app: load your-instance/sdk.js and init it with my host + key, then add smolanalytics.track() on signup and checkout.
you get the real prompt (with your host + key filled in) right after signup. autocapture (pageviews, clicks, engagement) starts the moment it's live. 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?" (it shows your real event names and pages as buttons, so you never guess what to type), 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 uses no cookies (just a first-party id in the browser's storage), and one flag turns on fully anonymous mode with no device storage. The trial is 14 days at Pro limits, no credit card; then $19 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. The dashboard shows your real event names and pages as buttons, so you never guess what to type. Ask "did anyone use the new feature?" 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 at Pro limits, no credit card. Then $49/month for every app you build, never per site. Go over the included events and it's $6 per million, receipt emailed, and you're never locked out of your dashboard.

Find out if anyone's actually using it.

Paste one prompt, deploy to Vercel, and tomorrow morning there's an email telling you what's working.

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 uses no cookies (it keeps one first-party id in the browser's own storage), and one flag turns on fully anonymous, banner-free mode to your v0 app. You still see visitors, signups, and where people give up.

go deeper