Next.js integration

Next.js x Humblytics

Analytics and A/B testing for Next.js. One script in your layout, works with both App Router and Pages Router.

14-day trial · Card required to start · Cancel anytime

What you get with Next.js.

Every feature works when you connect Next.js. There is no extra charge per platform.

What you get

Analytics, testing and attribution on your Next.js site.

  1. 01

    App & Pages router

    Works with both Next.js routing paradigms.

  2. 02

    Server & client

    Add the script in layout.tsx or _document.tsx.

  3. 03

    Full feature set

    Heatmaps, funnels, A/B testing, revenue attribution.

  4. 04

    Asynchronous script

    Loads without blocking page rendering.

Quick start

Connect Next.js and start tracking.

  1. 01

    Create an account

    Add your Next.js site domain.

  2. 02

    Copy your tracking script

    From the Humblytics dashboard.

  3. 03

    Add to layout

    Paste the script in app/layout.tsx or pages/_document.tsx head.

  4. 04

    Deploy

    Tracking goes live on your next build.

Frequently Asked Questions.

Common questions about using Humblytics with Next.js.

See all questions

Yes. Add the script to your root layout.

Connect Next.js and see your revenue.

Start with your own data. See where visitors leave, test a change, and measure the result.

14-day trial · Card required to start · Cancel anytime

/pricing · headline testWinner found
Control$1.12
Variant B$1.79

+59.4%revenue per visitor · 95% confidence