Install guide · no-code · ~2 min
Ask v0 to patch layout.tsx.
v0 ships Next.js App Router code. Tell the AI to add the Admaxxer snippet in the root layout <head>, or follow the Next.js npm-package route for type safety.
Paste this into the v0 chat:
Add the Admaxxer analytics pixel to app/layout.tsx. Put this exact <script> tag inside the <head> element of the root layout:
<script defer data-website-id="YOUR_WEBSITE_ID" data-domain="yourdomain.com" src="https://admaxxer.com/js/script.js"></script>
Tell v0 the real website ID and domain, then ask it to update the generated layout.
Accept v0's patch and deploy. The snippet is live immediately.
Load any public page on your site in a fresh browser tab. Within a few seconds, the Admaxxer dashboard realtime view should show the event. If nothing lands after 2 minutes, re-check the snippet is actually in the rendered HTML <head> (View Source, not just DevTools).