Tutte le integrations
🚀

BISC8 + Astro

Add to BaseLayout.astro head slot.

BISC8 + Astro: native island-friendly. Zero JS shipped to client unless banner mounts.

Gratis €0/mese · Nessuna carta richiestaInizia gratisVedi setup

Perché BISC8 per Astro

Zero-JS by default

Astro ships HTML-first. BISC8 boot.js is the ONLY script downloaded — ~12KB gzip.

Islands compatible

Banner is shadow-DOM isolated. Doesn't interfere with React/Vue/Svelte islands.

Content collections

BISC8 cookies respected by Astro content collections — SSG pages unaffected.

Setup (4 passi)

  1. 1. Open src/layouts/BaseLayout.astro

    Or whichever layout wraps all pages.

  2. 2. Add the script tag in <head>

    Before other tracking scripts. data-domain = your live host.

  3. 3. Build

    npm run build → static output.

  4. 4. Deploy to Vercel/Netlify/Cloudflare

    Edge-deployed. Banner first-byte ~30ms globally.

Snippet di codice

Sostituisci example.com con il tuo dominio BISC8 registrato.

---
// src/layouts/BaseLayout.astro
---
<!DOCTYPE html>
<html lang="en">
  <head>
    <script async src="https://cdn.bisc8.app/v1/boot.js" data-domain="example.com"></script>
    <slot name="head" />
  </head>
  <body>
    <slot />
  </body>
</html>

Risoluzione problemi

Astro view transitions

Banner mounts once on initial load. View transitions are client-side — banner persists across nav.

SSR (Node mode) support

Yes. BISC8 cookie readable from Astro.cookies on server. Use for SSR analytics gating.

Guide correlate

Pronto al lancio?

Crea un account in 30 secondi, copia lo snippet, banner live in 60s totali.

Inizia gratis con Astro