Send events from PostHog to RudderStack. RudderStack will recognize PostHog as a data source, so you can use RudderStack's data pipeline features to send PostHog event data to other platforms.

Requirements

This requires either PostHog Cloud with the data pipeline add-on, or a self-hosted PostHog instance running version 1.30.0 or later.

Not running 1.30.0? Find out how to update your self-hosted PostHog deployment!

You'll also need access to the Rudderstack instance you want to export to.

Installation

First, create a PostHog source in your RudderStack dashboard. Need help? Check RudderStack's documentation for more information.

Once you've added PostHog as a source, make a note of the write-key field and your RudderStack server URL (also called the Data Planer URL).

  1. In PostHog, click the "Data pipeline" tab in the left sidebar.
  2. Search for 'Rudderstack' and select the destination, press Install.
  3. Follow the on-screen steps to configure the destination, entering your write-key and server URL information.

Configuration

OptionDescription
RudderStack Server URL
Type: string
Required: True
Provide RudderStack server url, append v1/batch path
RudderStack Source Writekey
Type: string
Required: True
Provide source writekey

FAQ

Is the source code for this destination available?

PostHog is open-source and so are all destinations on the platform. The source code is available on GitHub.

Who created this destination?

This was created by community members and the team at RudderStack. We'd like to thank Sayan-Mitra, Gavin, Amey Varangaonkar, Utsab Chowdhury and Arnab Pal for creating it. Thank you, all!

Who maintains this destination?

This destination is maintained by Rudderstack. If you have issues with the destination not functioning as intended, please let us know!

What if I have feedback on this destination?

We love feature requests and feedback! Please tell us what you think! to tell us what you think.

What if my question isn't answered above?

We love answering questions. Ask us anything via our community forum, or drop us a message.

Questions?

Was this page useful?

Next article

Salesforce

This destination connects to your Salesforce instance, sending events from PostHog to Salesforce as they are ingested. Requirements This requires either PostHog Cloud with the data pipeline add-on , or a self-hosted PostHog instance running version 1.30.0 or later. Not running 1.30.0? Find out how to update your self-hosted PostHog deployment ! You'll also need a Salesforce account to connect to, as well as the relevant levels of access to install and configure this destination. Installation…

Read next article