Installation library
Website analytics, installed properly.
Add DataSag to your website with one public tracking key. Choose your platform for the right installation location, then check that real visits reach your project.
Find your platform
Choose a guide for your website builder or framework.
- Next.js App Router
- Next.js Pages Router
- React with Vite
- Astro
- SvelteKit
- Nuxt
- WordPress
- Webflow
- Framer
- Shopify storefront themes
- Squarespace
- HTML websites
- Laravel Blade
- Django templates
- Flask with Jinja
- Ruby on Rails
- Express with EJS
- Remix v2
- Angular
- Vue with Vite
- Standalone Blazor WebAssembly
- PHP templates
- Gatsby
- Hugo
- Ghost
- Carrd
- Docusaurus
- VitePress
- Material for MkDocs
- Jekyll
- Eleventy
- Hexo
- Pelican
- Grav 1.7 Twig themes
- Drupal Twig themes
Common setup checks
What every installation should prove
One tracker on each intended page. The correct project key. A successful pageview request. A matching visit in your dashboard. Each platform guide covers these checks, plus events, campaigns, AI referrals, CSP and internal traffic exclusions.
For search performance and answer citations, read the LLMEO and AI visibility guide. Website traffic and AI answers are different measurements.