Install Statsdot on v0
Updated October 17, 2026
v0 generates Next.js apps. Ask v0:
In app/layout.tsx, add
<Script defer data-domain="yourapp.com" src="https://statsdot.com/js/script.js" />from next/script inside the body.
Or add it yourself as in the Next.js guide, then deploy on Vercel.
Use the domain your visitors see and add the same in Statsdot. Route changes are tracked automatically.