Skip to Content
Install Guides

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"></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 first-party proxy 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: