0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
Go to file
Karl-Aksel Puulmann 7de761dff0
Update BE tracking to use groups (#7355)
* Update some posthoganalytics.capture calls

* Update report_user_logged_in tracking

* Update report_team_member_invited

* Update report_bulk_invited

* Update report_org_usage

* Update AnalyticsDestroyModelMixin

* Update action creation/updating tracking

* Update annotations tracking

* Update cohort tracking

* Update dashboards tracking

* Update feature flags tracking

* Update imports, sessions tracking

* More typeignores

* Default properties blank

* update metadata default

* Stringify

* Fix some tests

* Kill debug code

* Update FF tests

* Update test_organization

* Update test_organization_invites

* Update test_user

* Fix org usage report

* update test_send_license_usage

* Update organization tests

* Respect dry-run on errors as well, log

* Update organization properties on report

* Assert organization props

* Remove dead imports

* Fix test
2021-11-30 10:58:37 +02:00
.devcontainer Reimplement codespaces support (#7234) 2021-11-23 08:34:51 +00:00
.github Reimplement codespaces support (#7234) 2021-11-23 08:34:51 +00:00
.platform
.run Update pycharm configs with new plugin server scripts (#7140) 2021-11-16 08:19:26 +01:00
.storybook feat(correlation): add multiselect for property names (#6407) 2021-10-20 14:12:32 +00:00
bin Docker compose hobby (#7262) 2021-11-23 11:25:31 +00:00
cypress Remove legacy sessions (#7401) 2021-11-29 21:11:10 -08:00
docker Speed improvements for the arm64 ClickHouse build (#6191) 2021-09-30 19:52:59 +00:00
ee Update BE tracking to use groups (#7355) 2021-11-30 10:58:37 +02:00
frontend Remove legacy sessions (#7401) 2021-11-29 21:11:10 -08:00
plugin-server Historical export support for elements_hash (#7261) 2021-11-29 11:04:29 -03:00
posthog Update BE tracking to use groups (#7355) 2021-11-30 10:58:37 +02:00
staticfiles
.all-contributorsrc 🤖: Add abtinmo as a contributor 🎉 (#7413) 2021-11-29 19:34:59 +00:00
.coveragerc ci(tests): show untested code in PR with codecov (#6082) 2021-10-04 10:37:15 +01:00
.deepsource.toml
.dockerignore Use monorepo plugin server (#6784) 2021-11-13 11:52:00 -08:00
.environment
.eslintrc.js Plugin server tests CI (#6897) 2021-11-04 15:03:28 -07:00
.flake8
.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 Remove legacy sessions (#7401) 2021-11-29 21:11:10 -08:00
babel.config.js Storybook (#5714) 2021-08-25 10:38:33 +02:00
CHANGELOG.md Version 1.30.0 release (#7185) 2021-11-17 08:54:58 -06: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
conftest.py Groups: feature flag support for aggregating by groups (#7202) 2021-11-23 13:18:28 +02:00
CONTRIBUTING.md
cypress.e2e.json Type and font updates (#6020) 2021-09-22 08:47:52 +03:00
cypress.json
dev.Dockerfile Dockerfile(s) - use 'libpq~=13' (#7113) 2021-11-15 11:00:08 +02: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
docker-compose.hobby.yml Docker compose hobby (#7262) 2021-11-23 11:25:31 +00:00
docker-compose.yml
Dockerfile
gunicorn.config.py
jest.config.ts adds a search box to the toolbar featureflag list (#6527) 2021-10-20 22:02:02 +00:00
jest.setup.ts Activate turbo mode (#7254) 2021-11-23 17:22:05 +01:00
latest_migrations.manifest Remove legacy sessions (#7401) 2021-11-29 21:11:10 -08:00
LICENSE
manage.py
mypy.ini
package.json Fix lint-staged globs (#7362) 2021-11-25 14:59:32 +00:00
postcss.config.js
Procfile
production.Dockerfile Add version requirements for deploying (#7283) 2021-11-23 12:44:55 +00:00
pyproject.toml
pytest.ini Set debug, test, and primary_db env variables based on context (#7250) 2021-11-20 17:18:39 +00:00
README.md 🤖: Add abtinmo as a contributor 🎉 (#7413) 2021-11-29 19:34:59 +00:00
requirements-dev.in Set debug, test, and primary_db env variables based on context (#7250) 2021-11-20 17:18:39 +00:00
requirements-dev.txt Set debug, test, and primary_db env variables based on context (#7250) 2021-11-20 17:18:39 +00:00
requirements.in Update posthoganalytics version to 1.4.4 (#7354) 2021-11-25 13:10:38 +02:00
requirements.txt Update posthoganalytics version to 1.4.4 (#7354) 2021-11-25 13:10:38 +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 Enable new properties update for posthog team (#7177) 2021-11-22 11:53:03 +01: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
versions.json Version 1.30.0 release (#7185) 2021-11-17 08:54:58 -06:00
webpack.config.js Bundle our frontend via esbuild (#6758) 2021-11-03 09:50:24 +01:00
yarn.lock Update posthog-js to 1.16.7 (#7350) 2021-11-25 08:13:16 +00: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 🦸