Install guides / v0
Add AnalyzeUser to v0
Replace YOUR_SITE_ID with the site id from your project's setup screen.
- Paste this into the chat; v0 adds it to the root layout of the Next.js app.
- Deploy to Vercel.
Add this script tag inside the <head> of every page of the site (the root HTML file or root layout), exactly as written:
<script defer src="https://analyzeuser.com/track.js" data-site-id="YOUR_SITE_ID"></script>To check it works, open your site in another browser (browsers you use the dashboard in are left out of your stats) and watch the dashboard's Online count. Next: custom events, revenue attribution, or proxying through your domain so ad blockers don't hide visitors.