Countnest

Next.js

App Router

import Script from "next/script";
// in app/layout.tsx, inside <body>
<Script src="https://countnest.com/c.js" data-site="YOUR-SITE-ID" strategy="afterInteractive" />

Page changes in client-side navigation are counted automatically.

See your own numbers in minutes

30-day free trial, no card required. Then from $14 a month. Cancel anytime.

Start free for 30 days