Installation
Add FastStats Web Analytics to your website or web app
Web Analytics is not yet publicly available
Install one of the packages below and pass your site key.
Choose a Package
| Package | Use it when | Guide |
|---|---|---|
@faststats/react | You build with React or Next.js | React |
@faststats/nuxt | You build with Nuxt | Nuxt |
@faststats/web | You use plain JavaScript or any other framework | JavaScript |
Install
npm install @faststats/reactnpm install @faststats/nuxtnpm install @faststats/webGet Your Site Key
Every request is tied to a site key. You can find it in your FastStats project settings. The key is safe to ship in the browser because it only allows writing events for that one project.
Next Steps
- Configuration: all SDK options
- Events: automatic and custom tracking
- Consent and Cookieless: cookieless mode and consent states
- Error Tracking: add optional browser error reporting
- Web Vitals: measure page experience