Note: The Official RudderStack Docs page for the PostHog integration provides a better overview of how to set up this integration.
RudderStack is an open-source, warehouse-first, customer data platform for developers. It allows you to collect and deliver customer event data to a variety of destinations such as data warehouses and analytics platforms.
The PostHog integration with RudderStack gives you access to everything our JS Library can do, with the exception of autocapture. All features for your PostHog instance will be the same, but all RudderStack sends to PostHog are events you manually send. In addition, PostHog isn't able to show you our toolbar.
- Make sure you have a RudderStack account and a PostHog account, either self-hosted or using PostHog Cloud.
- Integrate a RudderStack source for your events
- Select PostHog as your destination for the selected source from the step above
Add your PostHog token and host details:
'Team API Key' refers to your PostHog 'Project API Key' (token), that can be found in 'Project Settings'. Do not use a Personal API Key for this. 'Your Instance' refers to the address of your PostHog instance, which is
https://app.posthog.comif you're on PostHog Cloud.
- You're all set!
To learn how to send events to PostHog with RudderStack, you should check out the official RudderStack Docs for this integration.