Analytics

Configure analytics providers for your LaunchSaaS application

Analytics

LaunchSaaS supports multiple analytics providers. Choose one or more based on your needs.

Supported Providers

ProviderTypeFree Tier
Vercel AnalyticsPerformance & WebLimited
Google AnalyticsFull analyticsYes
PlausiblePrivacy-focusedNo
UmamiPrivacy-focusedSelf-host
PostHogProduct analyticsYes
OpenPanelOpen sourceSelf-host

Setup

Vercel Analytics

If deploying to Vercel, simply enable in your .env:

NEXT_PUBLIC_VERCEL_ANALYTICS_ENABLED=true

Google Analytics

  1. Go to Google Analytics
  2. Create a new property
  3. Get your Measurement ID (starts with G-)
  4. Add to your .env:
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID="G-XXXXXXXXXX"

Plausible

  1. Sign up at plausible.io
  2. Add your domain
  3. Add to your .env:
NEXT_PUBLIC_PLAUSIBLE_DOMAIN="yourdomain.com"

Umami

  1. Self-host Umami or use Umami Cloud
  2. Create a website and get the Website ID
  3. Add to your .env:
NEXT_PUBLIC_UMAMI_WEBSITE_ID="your-website-id"
NEXT_PUBLIC_UMAMI_URL="https://your-umami-instance.com/script.js"

PostHog

  1. Sign up at posthog.com
  2. Create a project and get your API key
  3. Add to your .env:
NEXT_PUBLIC_POSTHOG_KEY="phc_..."
NEXT_PUBLIC_POSTHOG_HOST="https://app.posthog.com"

OpenPanel

  1. Self-host OpenPanel or use their cloud
  2. Get your Client ID
  3. Add to your .env:
NEXT_PUBLIC_OPENPANEL_CLIENT_ID="your-client-id"

References

Next Steps