Skip to content

Next.js · adapter

Crustat for Next.js

A small package you add to your Next.js project, built for developers who'd rather add a component than paste a script tag.

Sign up free 14 days free · no card needed
Next.js

Set it up in three steps

  1. 1

    Add the package

    Add the Crustat package to your Next.js project: npm install @crustat/next (or your usual package manager).

  2. 2

    Add the component

    Import Crustat from @crustat/next and place it in your root layout, so it loads across your whole site.

  3. 3

    Add your site ID

    Pass the site ID from your Crustat dashboard to the component, and you're set.

Why it fits

Questions

Do I add the component to every page?

No. Add it once to your root layout and it covers your whole site.

Do I need to change my pages?

No. The component goes into your root layout once, and every page is counted from then on.

Where do I find my site ID?

In your Crustat dashboard: open your site, then Install. It's next to the line to paste.

Other platforms

Ready to meet your visitors?

Try Crustat free for 14 days. No card needed, and it takes a minute to set up.

Sign up free

14 days free · no card needed

The mascot waiting

Almost ready

We're opening to everyone soon.

Crustat is in its final checks before we open sign-ups. Leave your email and we'll write once, the day it opens, with your 14 days free waiting.

One email when we open. No newsletter. See our privacy page.