Skip to content

Astro · adapter

Crustat for Astro

A small package you add to your Astro project yourself, built for developers who like to keep things simple.

Sign up free 14 days free · no card needed
Astro

Set it up in three steps

  1. 1

    Add the package

    Add the Crustat package to your Astro project: npm install @crustat/astro (or your usual package manager).

  2. 2

    Add the component

    Import Crustat from @crustat/astro and place it in your layout's <head>, so it loads on every page.

  3. 3

    Add your site ID

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

Why it fits

Questions

Do I still need to paste a script tag?

No. The component handles that for you, once it's in your layout.

Does it work with server-rendered and static Astro sites?

Yes. The component works the same way whichever rendering mode your Astro project uses.

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.