Pular para o conteúdo principal

Analytics Plugins

Product analytics integrations: Jitsu, PostHog, and Sentry.

Jitsu Analytics Plugin

Integrates Jitsu for server-side event tracking.

Configuration

VariableDescription
JITSU_SERVER_URLJitsu server URL
JITSU_SERVER_WRITE_KEYWrite key for events

Events Tracked

  • User signups and logins
  • Feature usage events
  • Error events

PostHog Analytics Plugin

Integrates PostHog for product analytics and feature flags.

Configuration

VariableDescription
POSTHOG_API_KEYPostHog project API key
POSTHOG_HOSTPostHog instance URL

Features

  • Event tracking
  • User identification
  • Feature flag evaluation
  • Session recordings (client-side)

Sentry Tracing Plugin

Integrates Sentry for error monitoring and performance tracing.

Configuration

VariableDescription
SENTRY_DSNSentry DSN
SENTRY_TRACES_SAMPLE_RATETrace sample rate (0-1)
SENTRY_PROFILE_SAMPLE_RATEProfile sample rate
SENTRY_HTTP_TRACING_ENABLEDEnable HTTP tracing
SENTRY_POSTGRES_TRACING_ENABLEDEnable DB tracing

Features

  • Automatic error reporting
  • Performance tracing (HTTP, database)
  • Release tracking
  • Source map integration