Skip to content

Posthog

The Posthog integration allows you to import your Posthog events directly into Trubrics for unified analytics and insights.

Setup

  1. Navigate to the Integrations section in your Trubrics project
  2. Provide your Posthog credentials:
  3. Posthog Personal API Key
  4. Posthog Project ID
  5. Posthog Host URL (defaults to https://eu.posthog.com)

How It Works

  • The integration automatically fetches events from your Posthog project
  • Events are mapped to Trubrics events using configurable mapping rules
  • Standard events like "User Prompt" and "LLM Generation" are automatically detected
  • All events include a direct link back to the original event in Posthog

Advanced Configuration

Advanced users can customize the mapping rules to fine-tune how Posthog data is imported into Trubrics, allowing for tailored analytics and insights.

See our tutorial video for more details about automated integration with mapping rules: