v0 generates Next.js projects, so you add Obsidesk with a Script tag in app/layout.tsx. You get visitors, sources, signups and, with a revenue source connected, which channel brings paying customers.
What you get
- Visitors, pages and sources on your deployed app
- Signups from forms
- Revenue by channel
- Custom events
- Cookieless tracking
Set it up
- 1Create your account and add your domain
Sign up, add the domain you want to track and copy your site ID from Settings. Every plan has a 14-day money-back guarantee; there is no free trial.
- 2Add the script to app/layout.tsx
Import
Scriptfromnext/scriptand render it in the body.import Script from "next/script"; // inside <body> <Script src="https://obsidesk.com/script.js" data-site="YOUR_SITE_ID" strategy="afterInteractive" />
- 3Deploy
Deploy and visit the live URL. Open your site in a normal browser window and check that the visit appears in the live view. Visits on localhost are not counted unless you add
data-allow-localhost, and your own visits can be excluded by opening#obsidesk-ignoreonce. - 4Connect revenue
Connect Stripe read-only under Settings, then Revenue. See the Next.js page for more.
Generated code
Since v0 output is standard Next.js, everything on the Next.js integration page applies, including events and proxying.
Check before you ship
Make sure the data-site value is your real site ID and not the placeholder.
FAQ
How do I add analytics to a v0 app?
Add a Script tag with the Obsidesk URL and your site ID to app/layout.tsx and deploy.
Does it work with Vercel hosting?
Yes. It is a script, so hosting does not matter.
Can I track Stripe revenue from a v0 app?
Yes, with a read-only Stripe key. See the Stripe integration.
Works with
Connect v0 in about a minute.
14-day money-back guarantee. Installed in 30 seconds. Read-only revenue connections.