# Analytics Plugins {#analytics-plugins}


Product analytics integrations: Jitsu, PostHog, and Sentry.


## Jitsu Analytics Plugin {#jitsu-analytics-plugin}


Integrates [Jitsu](https://jitsu.com/) for server-side event tracking.


### Configuration {#configuration}


| Variable                 | Description          |
| ------------------------ | -------------------- |
| `JITSU_SERVER_URL`       | Jitsu server URL     |
| `JITSU_SERVER_WRITE_KEY` | Write key for events |


### Events Tracked {#events-tracked}


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


## PostHog Analytics Plugin {#posthog-analytics-plugin}


Integrates [PostHog](https://posthog.com/) for product analytics and feature flags.


### Configuration {#configuration-1}


| Variable          | Description             |
| ----------------- | ----------------------- |
| `POSTHOG_API_KEY` | PostHog project API key |
| `POSTHOG_HOST`    | PostHog instance URL    |


### Features {#features}


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


## Sentry Tracing Plugin {#sentry-tracing-plugin}


Integrates [Sentry](https://sentry.io/) for error monitoring and performance tracing.


### Configuration {#configuration-2}


| Variable                          | Description             |
| --------------------------------- | ----------------------- |
| `SENTRY_DSN`                      | Sentry DSN              |
| `SENTRY_TRACES_SAMPLE_RATE`       | Trace sample rate (0-1) |
| `SENTRY_PROFILE_SAMPLE_RATE`      | Profile sample rate     |
| `SENTRY_HTTP_TRACING_ENABLED`     | Enable HTTP tracing     |
| `SENTRY_POSTGRES_TRACING_ENABLED` | Enable DB tracing       |


### Features {#features-1}


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


## Related Pages {#related-pages}


- [Monitoring & Observability](https://sourcey-gauzy.pages.dev/devops/monitoring/index.md) — production monitoring
