0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
Go to file
2021-11-10 14:09:45 +00:00
.devcontainer Update devcontainer for docker success (#6148) 2021-09-28 15:05:28 +01:00
.github fix jest tests action (#6986) 2021-11-09 15:00:54 +00:00
.platform Add .yaml files to be linted with prettier too (#4771) 2021-06-16 18:04:51 +02:00
.run update pycharm plugin server run configurations (#6742) 2021-10-29 13:48:39 +02:00
.storybook feat(correlation): add multiselect for property names (#6407) 2021-10-20 14:12:32 +00:00
bin fix issues, logging (#6998) 2021-11-09 09:05:22 -08:00
cypress Rework "On dashboard" button (#6959) 2021-11-10 13:32:01 +01:00
docker Speed improvements for the arm64 ClickHouse build (#6191) 2021-09-30 19:52:59 +00:00
ee Revert "feat(correlation): use people_url to load people modal (#6992)" (#7029) 2021-11-10 14:09:45 +00:00
frontend Revert "feat(correlation): use people_url to load people modal (#6992)" (#7029) 2021-11-10 14:09:45 +00:00
plugin-server Person creation to set properties (#6961) 2021-11-10 13:16:22 +01:00
plugins Update plugin server to 1.10.5 (#6664) 2021-10-26 16:40:47 +02:00
posthog add robots.txt to cloud (#7020) 2021-11-10 12:50:27 +00:00
staticfiles
.all-contributorsrc 🤖: Add pixlwave as a contributor 🎉 (#6786) 2021-11-02 12:34:11 +00:00
.coveragerc ci(tests): show untested code in PR with codecov (#6082) 2021-10-04 10:37:15 +01:00
.deepsource.toml
.dockerignore Bundle our frontend via esbuild (#6758) 2021-11-03 09:50:24 +01:00
.environment
.eslintrc.js Plugin server tests CI (#6897) 2021-11-04 15:03:28 -07:00
.flake8 Fix deprecation warnings due to invalid escape sequences. (#4633) 2021-06-15 11:41:49 +02:00
.gitattributes
.gitignore Bundle our frontend via esbuild (#6758) 2021-11-03 09:50:24 +01:00
.kearc Add paths to logics (#6945) 2021-11-09 07:59:21 +00:00
.prettierignore Fix pre-commit hook (#6902) 2021-11-04 17:09:40 +00:00
.prettierrc
.test_durations CI: Run EE tests in 5 minutes (#6759) 2021-11-01 17:23:23 +02:00
babel.config.js Storybook (#5714) 2021-08-25 10:38:33 +02:00
CHANGELOG.md Fix 1.29.0 more info link (#6650) 2021-10-26 14:57:02 +03:00
CODE_OF_CONDUCT.md
codecov.yml ci(tests): show untested code in PR with codecov (#6082) 2021-10-04 10:37:15 +01:00
CONTRIBUTING.md Fix API/HTTP instructions json syntax (#3832) 2021-03-31 18:31:32 -07:00
cypress.e2e.json Type and font updates (#6020) 2021-09-22 08:47:52 +03:00
cypress.json Solve ospath issue (#5014) 2021-07-07 14:04:39 +02:00
dev.Dockerfile dev.Dockerfile COPY fix (#6686) 2021-10-27 10:27:16 +00:00
docker-compose-config.py
docker-compose-config.sh
docker-compose.dev.yml SAML deps build (#5932) 2021-09-14 11:43:26 +02:00
docker-compose.e2e.yml Remove IS_DOCKER env var (#3843) 2021-04-01 17:10:00 +02:00
docker-compose.yml Pin prod docker-compose to Postgres 13 and Redis 6 (#4019) 2021-04-16 16:25:16 +02:00
Dockerfile
gunicorn.config.py Increase default timeouts from gunicorn (#4731) 2021-06-14 10:39:04 +00:00
jest.config.ts adds a search box to the toolbar featureflag list (#6527) 2021-10-20 22:02:02 +00:00
jest.setup.ts Logic tests again (#5234) 2021-07-23 23:58:29 +00:00
latest_migrations.manifest Ingest window_id for recordings (#6806) 2021-11-08 14:29:54 -08:00
LICENSE
manage.py
mypy.ini
package.json replace live-server with our own express file serving system (#6990) 2021-11-09 14:55:02 +01:00
postcss.config.js
Procfile
production.Dockerfile Add 'libpq-dev' to production.Dockerfile (#6610) 2021-10-22 14:46:49 +02:00
pyproject.toml
pytest.ini Implementation of diagnose event names (#6235) 2021-10-06 11:08:16 +01:00
README.md Grammar nit: write out number, hyphenate for consistency (#6418) 2021-11-02 09:52:31 -06:00
requirements-dev.in CI: Run EE tests in 5 minutes (#6759) 2021-11-01 17:23:23 +02:00
requirements-dev.txt CI: Run EE tests in 5 minutes (#6759) 2021-11-01 17:23:23 +02:00
requirements.in Use group analytics in some event capture (#6745) 2021-11-03 10:59:22 +02:00
requirements.txt Use group analytics in some event capture (#6745) 2021-11-03 10:59:22 +02:00
runtime.txt
SECURITY.md Create SECURITY.md (#6009) 2021-09-17 15:31:10 +02:00
task-definition.migration.json re-enable materialized columns (#6500) 2021-10-17 10:43:39 -07:00
task-definition.plugins.json Purge PLUGIN_SERVER_ACTION_MATCHING flag (#6358) 2021-10-11 21:33:48 +02:00
task-definition.web.json re-enable materialized columns (#6500) 2021-10-17 10:43:39 -07:00
task-definition.worker.json re-enable materialized columns (#6500) 2021-10-17 10:43:39 -07:00
tsconfig.json WIP: Groups FE filtering (#6764) 2021-11-05 10:21:28 -04:00
webpack.config.js Bundle our frontend via esbuild (#6758) 2021-11-03 09:50:24 +01:00
yarn.lock replace live-server with our own express file serving system (#6990) 2021-11-09 14:55:02 +01:00


PostHog is an open-source product analytics suite, built for developers. Automate the collection of every event on your website or app, with no need to send data to third-parties.

You can deploy on your own infrastructure, and PostHog plays nicely with data warehouses through plugins for import, transformation, and export.



Quick start

It's easy and free to get started.

Deploy PostHog Self-Hosted in your existing infrastructure.

... or use PostHog Cloud if you don't need to self-host.



Features

  • Event-based analytics at a user level - capture your product's usage data to see which users are doing what in your application.
  • Product data visualizations: graphs, funnels, user cohorts, user paths, retention tables, and dashboards.
  • Complete control over your data - host it yourself in any infrastructure.
  • Session recording to watch videos of your users' behavior, with fine-grained privacy controls.
  • Automatically capture clicks and pageviews to analyze what your users are doing without pushing events manually.
  • Feature flags to understand the impact of new features before rolling them out more widely.
  • Heatmaps with the PostHog Toolbar.
  • 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 plugins - such as BigQuery, Redshift, Snowflake and S3.
  • Ready-made libraries for JS, Python, Ruby, Node, Go, Android, iOS, PHP, Flutter, React Native, Elixir + an API for anything else.

PostHog dashboard screenshot



Event autocapture



Making the most of PostHog

See PostHog Docs for in-depth walk-throughs on functionality.

Join our Slack community if you need help, want to chat, or are thinking of a new feature. We're here to help - and to make PostHog even better.



Philosophy

We help you understand user behavior without losing control of your users' data.

In our view, third-party analytics do not work anymore in a world of cookie laws, GDPR, CCPA, and many other four-letter acronyms. PostHog is the alternative to sending all of your customers' personal information and usage data to third-parties.

This means you can know who is using your app, how they're using it, and where you lose users, among many other things.

Our features help you: (i) understand user behavior, (ii) create hypotheses for what to build next, and (iii) release changes to your product, then go back to step (i).



What's cool about this?

PostHog is the only product-focused open-source analytics suite, with an event and user-driven architecture that you can host in any infrastructure.

We are an open-source alternative to products such as Mixpanel, Amplitude, or Heap, that's designed to be more developer-friendly, with a broader range of features like session recording, heatmaps, feature flags, and plugins.

We play nicely with data warehouses - you can import event or user data by writing a plugin to create transformations, or you can export data by using our existing data exports to BigQuery, Redshift, Snowflake, etc. Uniquely, you can host PostHog in the same infrastructure.



Get started for free

Deploy PostHog Self-Hosted in your existing infrastructure.

... or use PostHog Cloud if you don't need to self-host.



Developing locally

See our Docs for instructions on developing locally.



Contributing

We <3 contributions big or small. See our Docs for a guide on how to get started.

Not sure where to start? Book a free, no-pressure pairing session with one of our core contributors.



We're hiring!

Come help us make PostHog even better. We're growing fast, and would love for you to join us.



Open-source vs. paid

This repo is entirely MIT licensed, with the exception of the ee directory (if applicable). Need absolutely 💯% FOSS? Check out our posthog-foss repository, which is purged of all proprietary code and features.

Premium features (contained in the ee directory) require a PostHog license. Contact us at sales@posthog.com for more information, or see our pricing page.



Contributors 🦸