PostHog Source (Deprecated) Deprecated

Ingest your event data from PostHog into RudderStack using the PostHog-managed RudderStack plugin.

danger
This method of setting up PostHog as a source in RudderStack is deprecated. You can now directly configure RudderStack as a destination in your PostHog dashboard by following the steps outlined in the PostHog source documentation.

This guide explains how to set up PostHog as a source in RudderStack using the PostHog-managed RudderStack plugin.

‌Get started

  1. Go to your RudderStack dashboard and click Add Source. From the list of Event Streams sources, select PostHog.
  2. Assign a name to your source and click Continue.
  3. Your PostHog source is now configured. Note the write keyThe write key (or source write key) is a unique identifier for your source. RudderStack uses this key to send events from a source to the specified destination. for the source.

RudderStack-PostHog plugin setup

Once you’ve successfully set up PostHog as a source in RudderStack, follow these steps to configure and set up the PostHog-managed RudderStack plugin:

  1. Note the PostHog source write key obtained above and the data plane URL associated with your workspace.
  2. In your PostHog dashboard, go to Plugins and search for RudderStack.
  3. Configure the plugin using the write key and the data plane URL from Step 1. Append v1/batch to this URL so that it is of the following format:
https://<DATA_PLANE_URL>/v1/batch
  1. Enable the plugin.

Any events generated in your PostHog instance will now be automatically sent to RudderStack. You can then route these events to your specified destinations.

License

The RudderStack PostHog Plugin is released under the MIT License.


Questions? Contact us by Email or on Slack