PostHog provides multiple libraries to send events from your app to your PostHog instance.
We have put a significant effort into providing as many of these libraries as possible, in order to make your experience better.
Our goal is for users to be able to integrate PostHog with their language and framework of choosing, without having to adapt their stack.
All of PostHog's libraries support event capturing and user identification.
We're working to add support for feature flags and autocapture to as many libraries as possible. Please check out the individual library repositories for status on this and let us know if you think we should prioritize support for any specific library.
|Library||Type||Maintainer||Autocapture||Session Recording||Feature Flags|
|React Native||Client||PostHog Team||❌||❌||❌|
▶ Library Activity Stats
|Integration||Description||Maintainer||Sends data to PostHog?||Pulls data from PostHog?|
|Sentry||A two-way integration to get PostHog user data into Sentry and Sentry exceptions into PostHog.||PostHog Team||✅||✅|
|Segment||Integration to use PostHog as a destination in Segment.||PostHog Team||✅||❌|
|RudderStack||Integration to use PostHog as a destination in RudderStack.||RudderStack Team||✅||❌|
|Slack||PostHog webhooks to receive messages in Slack when an action happens.||PostHog Team||❌||✅|
|Microsoft Teams||PostHog webhooks to receive messages in Microsoft Teams when an action happens.||PostHog Team||❌||✅|
|Gatsby||A wrapper over ||Community||✅||❌|
|Docusaurus||A wrapper over ||Community||✅||❌|
|Zapier||Use PostHog triggers in Zapier workflows.||PostHog Team||❌||✅|
|n8n||Use PostHog triggers in n8n workflows.||n8n Team||❌||✅|
Visit our plugins library for more information.