Analytics Integration

Analytics configuration for PostHog and Umami in ShipKit

Analytics Integration

ShipKit includes built-in support for PostHog and Umami analytics to help you understand user behavior and improve your application.

PostHog Analytics

PostHog is a powerful product analytics platform that provides:

  • Product analytics
  • Session recording
  • Feature flags
  • A/B testing
  • User surveys
  • And more

Configuration

Add these environment variables to enable PostHog:

NEXT_PUBLIC_POSTHOG_KEY=your_posthog_key
NEXT_PUBLIC_POSTHOG_HOST=your_posthog_host

Get your API keys from the PostHog Dashboard.

Resources

Umami Analytics

Umami is a simple, fast, privacy-focused alternative to Google Analytics. It provides:

  • Page views
  • Visitor insights
  • Real-time data
  • Privacy compliance
  • No cookie notices required

Configuration

Add this environment variable to enable Umami:

NEXT_PUBLIC_UMAMI_WEBSITE_ID=your_umami_website_id

Get your Website ID from your Umami dashboard after creating a project.

Resources

Additional Resources