Astro
VerifiedJavaScript Frameworks · Script tag
Integrate Pulse with your Astro site for lightning-fast analytics.
First-class, hand-verified install path (script tag or official plugin).
src/layouts/Layout.astro
---
// Your frontmatter
---
<html>
<head>
<script
defer
data-domain="example.com"
src="https://js.ciphera.net/script.js"
></script>
</head>
<body>
<slot />
</body>
</html>Set data-domain to the domain you registered in Pulse. Configure feature toggles, SRI, and storage from the install panel in your dashboard.
01 · Astro + Pulse
Why cookieless analytics fits Astro
Astro ships zero JavaScript by default and renders mostly static HTML, so a heavyweight analytics tag would be badly out of place. Pulse’s couple-of-kilobytes async script is about the only client-side JavaScript a content site needs, and because Astro output is static and cacheable, there is no per-visitor cookie to break your CDN caching.
That static, privacy-first posture pairs perfectly with cookieless measurement. You are not hydrating a consent island, storing an accept flag, or shipping a banner component that would blow past Astro’s minimal-JS philosophy. Pulse collects no personal data and needs no banner, so your fast, static Astro site stays fast, static, and lawful.