We are big fans of Segment, and many in our team use it now or have used it in the past. However, it comes with some limitations for PostHog.
The PostHog integration with Segment 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 Segment sends to PostHog are events you manually send. In addition, PostHog isn't able to show you our toolbar.
Lastly, Segment is also more easily blocked by ad-blockers. To get around these limitations, you can install the PostHog snippet alongside your Segment integration.
- In the Segment workspace, create a new project and enable PostHog as an integration. We are listed as a 'Destination' on Segment.
- Grab the PostHog API key from the 'Project Settings' page in PostHog.
- Use one of Segment's libraries to send events.
- See the events coming into PostHog