For the complete documentation index, see llms.txt. Prefer markdown by appending.mdto documentation URLs or sendingAccept: text/markdown.
Overview
Unified event tracking API across PostHog, GA, and other providers. Instrument the web app consistently without vendor lock-in.
TurboStarter comes with built-in analytics support for multiple providers as well as a unified API for tracking events. This API enables you to easily and consistently track user behavior and app usage across your SaaS application.
Providers
The starter implements multiple providers for managing analytics. To learn more about each provider and how to configure them, see their respective sections:
All configuration and setup is built-in with a unified API, allowing you to switch between providers by simply changing the exports. You can even introduce your own provider without breaking any tracking-related logic.
In the following sections, we'll cover how to set up each provider and how to track events in your application.
Configuration
Wire up web analytics in minutes: choose from Vercel Analytics, PostHog, and other providers by switching a single export file and setting env vars.
Tracking events
Learn how to track events in your TurboStarter web app. Instrument your web app, choose a provider, and validate events in production.
How is this guide?
Last updated on