Install Guides
Every platform uses the same one-line snippet, placed once in your page <head>. Snow handles the rest.
<script defer src="https://api.snowanalytics.app/sa.js" data-site="YOUR_SITE_ID" data-mode="cookieless"></script>Copy your real snippet (with your collector URL and Site ID already filled in) from Settings → Tracking in the dashboard.
A few things worth knowing before you pick a platform:
- Single-page apps are covered. Snow hooks the browser History API automatically, so route changes in React, Vue, Next.js, Astro, SvelteKit, and similar frameworks are tracked without any extra code. See Single-page apps.
- Ad-blockers can block
sa.js. If you want to recover those visitors, set up the ad-blocker bypass to serve the script from your own domain. - Optional attributes (cookieless mode, custom API URL, cross-subdomain tracking) are covered in Script configuration. They're not required to get started.
Pick your platform:
Next.js
App Router and Pages Router.
ReactVite and Create React App.
Vue & NuxtVue apps and Nuxt layouts.
AstroShared Astro layouts.
SvelteKitRoot SvelteKit layouts.
WordPressThemes and header plugins.
WebflowProject custom code.
FramerSite-wide custom code.
GhostGhost code injection.
ShopifyTheme layout installation.
Google Tag ManagerDeploy with a custom HTML tag.
Plain HTMLStatic sites and other platforms.