Library comparison

Last updated:

|Edit this page

PostHog provides a number of both official and community maintained libraries to help you easily integrate with your preferred language or framework. This document outlines all of our current client-side and server-side libraries, as well as which features each of them currently supports.

For information on how to send events using these libraries, check out this guide.

Note: Session recording and autocapture are not possible in server libraries.

LibraryEvent captureUser identificationAutocaptureSession recordingFeature flagsGroup analytics
Android
Capacitor
Elixir
Flutter
Go
iOS
Java
Node.js
JavaScript Web
Next.js
PHP
React
Python
Ruby
Rust
React Native

Questions?

Was this page useful?

Next article

JavaScript Web

Note: This doc refers to our posthog-js library for use on the browser. For server-side JavaScript, see our Node SDK . Installation Track across marketing website & app We recommend putting PostHog both on your homepage and your application if applicable. That means you'll be able to follow a user from the moment they come onto your website, all the way through signup and actually using your product. PostHog automatically sets a cross-domain cookie, so if your website is yourapp.com and…

Read next article