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

PackageUse it whenGuide
@faststats/reactYou build with React or Next.jsReact
@faststats/nuxtYou build with NuxtNuxt
@faststats/webYou use plain JavaScript or any other frameworkJavaScript

Install

npm npm install @faststats/react
npm npm install @faststats/nuxt
npm npm install @faststats/web

Get 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

On this page