1. Features
  2. Analytics

Features

Analytics

Track data about how users are using your app

SvelteLaunch uses Google Analytics to track user data about our app.

Enable Analytics

Open your .env file and set ENABLE_ANALYTICS to TRUE for your environment and add your VITE_GOOGLE_MEASUREMENT_ID

I want to use something else

Open +layout.svelte and inside of the ENABLE_ANALYTICS if statement place your analytics code.