Client routes go uncounted
SvelteKit navigates in the browser. PulsePanda tracks each transition so your page views reflect actual usage.
Analytics for Svelte
Add full product analytics — events, funnels, session replay, and heatmaps — to your Svelte or SvelteKit app from one script tag, with client navigation tracked automatically.
Why it matters
SvelteKit navigates in the browser. PulsePanda tracks each transition so your page views reflect actual usage.
Track custom events to measure which features and routes users reach after each release.
Session replay and heatmaps reveal where users struggle inside your components.
Setup
Add the snippet to src/app.html, the HTML template SvelteKit uses for every page.
SvelteKit — src/app.html
<!doctype html>
<html lang="en">
<head>
%sveltekit.head%
<script
src="https://pulsepanda.dev/sdk.js"
data-project="YOUR_PROJECT_ID"
defer></script>
</head>
<body>
<div>%sveltekit.body%</div>
</body>
</html>For a plain Svelte (Vite) app, add the same snippet to index.html instead.
Workflow
Add the script once to your Svelte project. Web analytics, autocaptured clicks, session replay, and heatmaps start collecting immediately.
Call pulsepanda.track() on key actions and pulsepanda.identify() after login to connect events, sessions, and feedback to each user.
Build funnels, watch the replays behind drop-offs, read heatmaps, and collect in-product feedback — all in one workspace.
What you get
FAQ
Yes. The SDK listens for History API changes, so SvelteKit client-side route transitions are recorded as page views automatically.
In src/app.html inside the <head>. It then loads on every server-rendered and client-navigated page.
Yes. Call pulsepanda.track("event", { props }) inside any handler or lifecycle function.
Related pages
Install once and connect analytics, session replay, heatmaps, funnels, and feedback in minutes.
Start for free