- Your Bigdelta tracking key, found in Settings → Access Keys
Add the script tag
For most sites, paste this into the<head> of every page (use a shared layout or template if you have one):
Or install via npm
For projects with a package manager:Initialize the client exactly once per page load. In server-side rendered frameworks (Next.js, Nuxt, SvelteKit, Astro), only create the client in the browser — for example in a
'use client' component or inside useEffect. Route changes in single-page apps are tracked automatically by singlePageAppTracking, so don’t add manual page-view calls.What gets collected
- Page views — every page a visitor sees, including client-side route changes in single-page apps
- Session recordings — replays of what visitors did on each page (input values are masked by default)
- Visitor context — referrer, device type, browser, and operating system, attached to every event