2021-12-07 02:01:55 +01:00
< p align = "center" >
2022-12-07 20:26:15 +01:00
< img alt = "posthoglogo" src = "https://user-images.githubusercontent.com/65415371/205059737-c8a4f836-4889-4654-902e-f302b187b6a0.png" >
2021-12-07 02:01:55 +01:00
< / p >
< p align = "center" >
<!-- ALL - CONTRIBUTORS - BADGE:START - Do not remove or modify this section -->
2022-12-01 12:48:16 +01:00
< a href = 'https://posthog.com/contributors' > < img src = 'https://img.shields.io/badge/all_contributors-251-orange.svg?style=flat-square' / > < / a >
2021-12-15 15:08:26 +01:00
<!-- ALL - CONTRIBUTORS - BADGE:END -->
2021-12-07 02:01:55 +01:00
< a href = 'http://makeapullrequest.com' > < img alt = 'PRs Welcome' src = 'https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=shields' / > < / a >
< img alt = "Docker Pulls" src = "https://img.shields.io/docker/pulls/posthog/posthog" / >
< img alt = "GitHub commit activity" src = "https://img.shields.io/github/commit-activity/m/posthog/posthog" / >
< img alt = "GitHub closed issues" src = "https://img.shields.io/github/issues-closed/posthog/posthog" / >
< / p >
2022-12-07 20:26:15 +01:00
< p align = "center" >
2023-07-10 16:09:03 +02:00
< a href = "https://posthog.com/docs" > Docs< / a > - < a href = "https://posthog.com/community" > Community< / a > - < a href = "https://posthog.com/roadmap" > Roadmap< / a > - < a href = "https://posthog.com/changelog" > Changelog< / a > - < a href = "https://github.com/PostHog/posthog/issues/new?assignees=&labels=bug&template=bug_report.md" > Bug reports< / a >
2022-12-07 20:26:15 +01:00
< / p >
2024-03-18 11:54:03 +01:00
< p align = "center" >
< a href = "https://www.youtube.com/watch?v=2jQco8hEvTI" >
< img src = "https://img.youtube.com/vi/2jQco8hEvTI/0.jpg" alt = "PostHog Demonstration" >
< / a >
< / p >
2023-07-10 16:09:03 +02:00
## PostHog is an all-in-one, open source platform for building better products
2022-12-07 20:26:15 +01:00
- Specify events manually, or use autocapture to get started quickly
2023-07-10 16:09:03 +02:00
- Analyze data with ready-made visualizations, or do it yourself with SQL
2024-09-10 11:09:11 +02:00
- Track website visitors separately with our GA4 alternative
2024-06-11 10:13:24 +02:00
- Only capture properties on the people you want to track, save money when you don't
2023-07-10 16:09:03 +02:00
- Gather insights by capturing session replays, console logs, and network monitoring
2024-09-02 17:14:49 +02:00
- Improve your product with Experiments that automatically analyze performance
2023-07-10 16:09:03 +02:00
- Safely roll out features to select users or cohorts with feature flags
2023-12-11 11:51:54 +01:00
- Send out fully customizable surveys to specific cohorts of users
2023-07-10 16:09:03 +02:00
- Connect to external services and manage data flows with PostHog CDP
2020-02-20 06:25:40 +01:00
2024-11-15 13:06:41 +01:00
PostHog is available with hosting in the EU or US and is SOC 2 Type 2 compliant. It's free to get started and comes with a < a href = "https://posthog.com/pricing" > generous monthly free tier< / a > .
2023-12-11 11:51:54 +01:00
2024-11-15 13:06:41 +01:00
We're constantly adding new features, and recently launched < a href = "https://posthog.com/docs/web-analytics" > web analytics< / a > and a < a href = "https://posthog.com/docs/data-warehouse" > data warehouse< / a > !
2023-06-28 15:57:47 +02:00
2022-12-07 20:26:15 +01:00
## Table of Contents
2020-01-27 06:54:19 +01:00
2022-12-07 20:26:15 +01:00
- [Get started for free ](#get-started-for-free )
2023-12-11 11:51:54 +01:00
- [Docs ](#docs )
2022-12-07 20:26:15 +01:00
- [Contributing ](#contributing )
- [Philosophy ](#philosophy )
- [Open-source vs paid ](#open-source-vs-paid )
2022-06-27 17:44:47 +02:00
2021-12-07 02:01:55 +01:00
## Get started for free
2020-06-26 20:09:17 +02:00
2023-07-10 16:09:03 +02:00
### PostHog Cloud (Recommended)
2022-12-07 20:26:15 +01:00
2024-03-08 01:35:44 +01:00
The fastest and most reliable way to get started with PostHog is signing up for free to [PostHog Cloud ](https://us.posthog.com/signup ) or [PostHog Cloud EU ](https://eu.posthog.com/signup ). Your first 1 million events (and 5k replays) are free every month, after which you pay based on usage.
2022-12-07 20:26:15 +01:00
2023-07-10 16:09:03 +02:00
### Open-source hobby deploy (Advanced)
2022-12-07 20:26:15 +01:00
2023-07-10 16:09:03 +02:00
You can deploy a hobby instance in one line on Linux with Docker (recommended 4GB memory):
2022-12-08 03:08:04 +01:00
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"
```
2020-06-26 20:09:17 +02:00
2023-12-11 11:51:54 +01:00
Open source deployments should scale to approximately 100k events per month, after which we recommend migrating to a PostHog Cloud instance. See our [docs for more info and limitations ](https://posthog.com/docs/self-host/open-source/deployment ). Please note that we do not provide customer support for open source deployments.
2023-07-24 19:44:44 +02:00
2023-12-11 11:51:54 +01:00
## Docs
2021-12-07 02:01:55 +01:00
![ui-demo ](https://user-images.githubusercontent.com/85295485/144591577-fe97e4a5-5631-4a60-a684-45caf421507f.gif )
2023-07-10 16:09:03 +02:00
< p align = "center" > Want to find out more? < a href = "https://posthog.com/book-a-demo" > Request a demo!< / a >
2021-12-07 02:01:55 +01:00
2023-07-10 16:09:03 +02:00
PostHog brings all the tools and data you need to build better products.
2020-02-14 07:00:01 +01:00
2023-07-10 16:09:03 +02:00
### Analytics and optimization tools
2020-06-26 20:09:17 +02:00
2024-03-18 11:05:52 +01:00
- **Event-based analytics:** Capture your product's usage [automatically ](https://posthog.com/docs/libraries/js#autocapture ), or [customize ](https://posthog.com/docs/getting-started/install ) it to your needs
2024-06-11 10:13:24 +02:00
- **User and group tracking:** Understand the [people ](https://posthog.com/manual/persons ) and [groups ](https://posthog.com/manual/group-analytics ) behind the events and track properties about them when needed
2023-07-10 16:09:03 +02:00
- **Data visualizations:** Create and share [graphs ](https://posthog.com/docs/features/trends ), [funnels ](https://posthog.com/docs/features/funnels ), [paths ](https://posthog.com/docs/features/paths ), [retention ](https://posthog.com/docs/features/retention ), and [dashboards ](https://posthog.com/docs/features/dashboards )
2023-12-11 11:51:54 +01:00
- **SQL access:** Use [SQL ](https://posthog.com/docs/product-analytics/sql ) to get a deeper understanding of your users, breakdown information and create completely tailored visualizations
2023-07-10 16:09:03 +02:00
- **Session replays:** [Watch videos ](https://posthog.com/docs/features/session-recording ) of your users' behavior, with fine-grained filters and privacy controls, as well as network monitoring and captured console logs
- **Heatmaps:** See where users click and get a visual representation of their behaviour with the [PostHog Toolbar ](https://posthog.com/docs/features/toolbar )
2023-12-11 11:51:54 +01:00
- **Feature flags:** Test and manage the rollout of [new features ](https://posthog.com/docs/feature-flags/installation ) to specific users and groups, or deploy flags as kill-switches
2024-09-02 17:14:49 +02:00
- **Experiments:** run simple or complex changes as [experiments ](https://posthog.com/manual/experimentation ) and get automatic significance calculations
2023-07-10 16:09:03 +02:00
- **Correlation analysis:** Discover what events and properties [correlate ](https://posthog.com/manual/correlation ) with success and failure
2023-12-11 11:51:54 +01:00
- **Surveys:** Collect qualitative feedback from your users using fully customizable [surveys ](https://posthog.com/docs/surveys/installation )
2020-02-20 10:26:13 +01:00
2022-12-07 20:26:15 +01:00
### Data and infrastructure tools
2020-02-20 10:26:13 +01:00
2023-07-10 16:09:03 +02:00
- **Import and export your data:** Import from and export to the services that matter to you with [the PostHog CDP ](https://posthog.com/docs/cdp )
2024-01-03 13:19:09 +01:00
- **Ready-made libraries:** We’ ve built libraries for [JavaScript ](https://posthog.com/docs/libraries/js ), [Python ](https://posthog.com/docs/libraries/python ), [Ruby ](https://posthog.com/docs/libraries/ruby ), [Node ](https://posthog.com/docs/libraries/node ), [Go ](https://posthog.com/docs/libraries/go ), [Android ](https://posthog.com/docs/libraries/android ), [iOS ](https://posthog.com/docs/libraries/ios ), [PHP ](https://posthog.com/docs/libraries/php ), [Flutter ](https://posthog.com/docs/libraries/flutter ), [React Native ](https://posthog.com/docs/libraries/react-native ), [Elixir ](https://posthog.com/docs/libraries/elixir ), [Nim ](https://github.com/Yardanico/posthog-nim ), and an [API ](https://posthog.com/docs/api ) for anything else
2022-12-07 20:26:15 +01:00
- **Plays nicely with data warehouses:** import events or user data from your warehouse by writing a simple transformation plugin, and export data with pre-built apps - such as [BigQuery ](https://posthog.com/apps/bigquery-export ), [Redshift ](https://posthog.com/apps/redshift-export ), [Snowflake ](https://posthog.com/apps/snowflake-export ), and [S3 ](https://posthog.com/apps/s3-expo )
2020-02-19 23:11:10 +01:00
2024-11-15 13:06:41 +01:00
[Check out the full list of PostHog features. ](https://posthog.com/product )
2020-02-19 23:11:10 +01:00
2022-12-07 20:26:15 +01:00
## Contributing
2020-02-09 23:39:05 +01:00
2024-11-15 13:06:41 +01:00
We < 3 contributions big and small:
2020-02-09 23:39:05 +01:00
2022-12-07 20:26:15 +01:00
- Vote on features or get early access to beta functionality in our [roadmap ](https://posthog.com/roadmap )
- Open a PR (see our instructions on [developing PostHog locally ](https://posthog.com/handbook/engineering/developing-locally ))
- Submit a [feature request ](https://github.com/PostHog/posthog/issues/new?assignees=&labels=enhancement%2C+feature&template=feature_request.md ) or [bug report ](https://github.com/PostHog/posthog/issues/new?assignees=&labels=bug&template=bug_report.md )
2020-08-27 16:41:08 +02:00
2022-12-07 20:26:15 +01:00
## Open-source vs. paid
2020-06-11 22:48:46 +02:00
2024-08-02 15:56:59 +02:00
This repo is available under the [MIT expat license ](https://github.com/PostHog/posthog/blob/master/LICENSE ), except for the `ee` directory (which has its [license here ](https://github.com/PostHog/posthog/blob/master/ee/LICENSE )) if applicable.
2020-06-11 22:48:46 +02:00
2022-12-07 20:26:15 +01:00
Need *absolutely 💯% FOSS* ? Check out our [posthog-foss ](https://github.com/PostHog/posthog-foss ) repository, which is purged of all proprietary code and features.
2024-11-15 13:06:41 +01:00
To learn more, [book a demo ](https://posthog.com/talk-to-a-human ) or see our [pricing page ](https://posthog.com/pricing ).
2020-08-21 21:30:04 +02:00
2022-12-07 20:26:15 +01:00
### We’ re hiring!
2020-08-18 11:05:30 +02:00
2022-12-07 20:26:15 +01:00
Come help us make PostHog even better. We're growing fast [and would love for you to join us ](https://posthog.com/careers ).
2020-02-20 09:10:18 +01:00
2020-02-20 09:14:12 +01:00
## Contributors 🦸
2020-03-06 23:20:32 +01:00
2020-02-20 09:10:18 +01:00
[//]: contributor-faces
2021-08-06 17:24:24 +02:00
2021-03-24 10:42:17 +01:00
<!-- ALL - CONTRIBUTORS - LIST:START - Do not remove or modify this section -->
<!-- prettier - ignore - start -->
<!-- markdownlint - disable -->
2022-12-19 22:13:17 +01:00
< a href = "https://github.com/timgl" > < img src = "https://avatars.githubusercontent.com/u/1727427?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/mariusandra" > < img src = "https://avatars.githubusercontent.com/u/53387?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/EDsCODE" > < img src = "https://avatars.githubusercontent.com/u/13127476?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/Twixes" > < img src = "https://avatars.githubusercontent.com/u/4550621?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/macobo" > < img src = "https://avatars.githubusercontent.com/u/148820?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/paolodamico" > < img src = "https://avatars.githubusercontent.com/u/5864173?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/fuziontech" > < img src = "https://avatars.githubusercontent.com/u/391319?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/yakkomajuri" > < img src = "https://avatars.githubusercontent.com/u/38760734?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/jamesefhawkins" > < img src = "https://avatars.githubusercontent.com/u/47497682?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/posthog-bot" > < img src = "https://avatars.githubusercontent.com/u/69588470?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/apps/dependabot-preview" > < img src = "https://avatars.githubusercontent.com/in/2141?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/bhavish-agarwal" > < img src = "https://avatars.githubusercontent.com/u/14195048?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/Tannergoods" > < img src = "https://avatars.githubusercontent.com/u/60791437?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/ungless" > < img src = "https://avatars.githubusercontent.com/u/8397061?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/apps/dependabot" > < img src = "https://avatars.githubusercontent.com/in/29110?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/gzog" > < img src = "https://avatars.githubusercontent.com/u/1487006?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/samcaspus" > < img src = "https://avatars.githubusercontent.com/u/19220113?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/Tmunayyer" > < img src = "https://avatars.githubusercontent.com/u/29887304?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/adamb70" > < img src = "https://avatars.githubusercontent.com/u/11885987?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/SanketDG" > < img src = "https://avatars.githubusercontent.com/u/8980971?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/kpthatsme" > < img src = "https://avatars.githubusercontent.com/u/5965891?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/J0" > < img src = "https://avatars.githubusercontent.com/u/8011761?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/14MR" > < img src = "https://avatars.githubusercontent.com/u/5824170?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/03difoha" > < img src = "https://avatars.githubusercontent.com/u/8876615?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/ahtik" > < img src = "https://avatars.githubusercontent.com/u/140952?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/Algogator" > < img src = "https://avatars.githubusercontent.com/u/1433469?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/GalDayan" > < img src = "https://avatars.githubusercontent.com/u/24251369?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/Kacppian" > < img src = "https://avatars.githubusercontent.com/u/14990078?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/FUSAKLA" > < img src = "https://avatars.githubusercontent.com/u/6112562?v=4" width = "50" height = "50" alt = "" / > < / a > < a href = "https://github.com/iMerica" > < img src = "https://avatars.githubusercontent.com/u/487
2021-03-24 10:42:17 +01:00
<!-- markdownlint - restore -->
<!-- prettier - ignore - end -->
2021-03-29 19:33:31 +02:00
<!-- ALL - CONTRIBUTORS - LIST:END -->