Svelte
VerifiedJavaScript Frameworks · Script tag
Integrate Pulse with Svelte or SvelteKit in under a minute.
First-class, hand-verified install path (script tag or official plugin).
src/app.html
<!doctype html>
<html>
<head>
<script
defer
data-domain="example.com"
src="https://js.ciphera.net/script.js"
></script>
%sveltekit.head%
</head>
<body>
%sveltekit.body%
</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 · Svelte + Pulse
Why cookieless analytics fits Svelte
Svelte and SvelteKit are built around shipping as little JavaScript as possible, and a two-kilobyte async analytics script honours that budget. Drop it into app.html and it tracks SvelteKit’s client-side navigations without a store or a lifecycle hook — it never touches your compiled component output, so your bundle stays lean.
Cookieless is a natural fit for that minimalist ethos. There is no consent store to create, no $state for an accept flag, and no banner component undermining your carefully small payload. Pulse collects no personal data and needs no banner, so the lightest analytics option is also the one with the least to wire up.
Related