Install guides
One line kicks off pageview, session, and engagement tracking in any framework. Pick yours below for a copy-pasteable snippet.
By framework
Next.js
App router and pages router.
Vite + React
React SPAs built with Vite.
SvelteKit
SvelteKit 2 setup.
Nuxt
Nuxt 3 plugin pattern.
Astro
Astro with client directive.
Something else?
Any browser works with the base setup in SDK quickstart, including a plain script-tag build via jsDelivr — see the reference.