All integrations
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.

Why Next.js teams use Humblytics

Everything you get when you connect Next.js with Humblytics, no feature gating, no per-platform pricing.

01.
App & Pages router
works with both Next.js routing paradigms.
02.
Server & client
add the script in layout.tsx or _document.tsx.
03.
Full feature set
heatmaps, funnels, A/B testing, revenue attribution.
04.
Lightweight
~36 KB script, no impact on Core Web Vitals.

Quick Start

Get up and running with Next.js in under 2 minutes.

01.
Create an account
add your Next.js site domain.
02.
Copy your tracking script
from the Humblytics dashboard.
03.
Add to layout
paste the script in app/layout.tsx or pages/_document.tsx head.
04.
Deploy
tracking goes live on your next build.

Frequently Asked Questions

Does this work with the App Router?

Yes. Add the script to your root layout.

Can I use this with Vercel?

Yes, Humblytics works with any hosting provider.

Will this affect performance?

No. The script loads asynchronously and is optimized for speed.

Ready to connect Next.js?

Start tracking in under 60 seconds.

14-day free trial. Your card won't be charged until it ends. Full analytics, heatmaps, and A/B testing from day one.