Ownlayer
  • 👋Welcome
  • Getting Started
    • 💫Quickstart
  • Iterate
    • 💡Prompt
    • 📃Dataset
      • Dataset Creation
      • Data point Evaluation
      • Dataset Evaluation
  • Monitor
    • 🔬Evaluators
      • 🖌️Create Evaluators
      • 🔌Smart Trigger an online Evaluator
      • 🎛️Evaluator Playground
    • 🧐Analyzers
  • Integrations
    • Segment
    • Amplitude
    • Posthog
  • REST API
  • Python SDK
Powered by GitBook
On this page
  1. Integrations

Posthog

PreviousAmplitudeNextREST API

Last updated 7 months ago

Configuring Posthog Integration

  • Navigate to your organization's integration settings.

  • Select the Posthog integration option.

  • Enter your PostHog Project API Key and Host URL

  • Choose the specific events you want to send to Posthog.

  • Save your configuration.

Use your PostHog Project API Key, not your personal API Key.

When creating an inference, add an posthog attribute to the additional_metadata field with the structure below.

{
    additional_metadata:{
        posthog:{
            distinct_id:"82az9ddoi34fski29375fjnafd",
            event:"Evaluation Pass",
            properties: {
            }
        }
    }
}

Refer to PostHog documentation for more details on properties, including which are required or optional.