0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00
🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
Go to file
2022-10-11 12:00:08 +01:00
.devcontainer chore(web): add django-prometheus exposed on /_metrics (#11000) 2022-07-27 20:37:44 +01:00
.github chore: fix sentry org for github actions (#12147) 2022-10-07 15:33:42 +01:00
.husky chore(ci): migrate husky from v4->v7 (#9633) 2022-05-03 19:36:58 -07:00
.run fix: celery autoimport was ignoring CSV exports (#10586) 2022-06-30 17:42:28 +01:00
.storybook fix: home accessibility (#11211) 2022-08-09 20:01:58 +01:00
.vscode feat: Added compound launch config for vscode (#11501) 2022-08-25 16:30:52 +00:00
bin fix(hobby): if you are running from cloud_init this fixes a break in the boot (#12172) 2022-10-10 16:43:22 +00:00
cypress feat: Added more buttons for viewing recordings from data management (#12162) 2022-10-10 15:27:53 +02:00
docker/clickhouse chore(ci): Set stream_poll_timeout_ms in dev (#12122) 2022-10-07 10:23:38 +03:00
ee fix: Add drf wrappers to groups api (#12116) 2022-10-10 21:56:54 +00:00
frontend chore: fix title in EU modal (#12188) 2022-10-11 10:33:55 +00:00
plugin-server feat: person state test coverage increase (#12020) 2022-10-11 12:35:21 +02:00
posthog feat(apps): rename web.ts to site.ts (#12179) 2022-10-11 10:27:21 +00:00
share feat: Add GeoIP2 capability to Django app (for feature flags) (#10890) 2022-07-25 17:20:11 -07:00
staticfiles Fix settings 2020-01-24 16:22:12 -08:00
.all-contributorsrc chore(contributors): 🤖 - Add codepitbull as a contributor 🎉 (#12189) 2022-10-11 12:00:08 +01:00
.coveragerc ci(tests): show untested code in PR with codecov (#6082) 2021-10-04 10:37:15 +01:00
.deepsource.toml Fix some bug risks and code quality issues 2020-02-21 14:51:44 -08:00
.dockerignore feat: Add GeoIP2 capability to Django app (for feature flags) (#10890) 2022-07-25 17:20:11 -07:00
.environment One click deploy for platform.sh (#1044) 2020-06-18 16:12:07 +02:00
.eslintrc.js feat: Lemon Skeletons (#11629) 2022-09-08 13:54:00 +00:00
.flake8 chore(deps): update flake8 dependencies (#11711) 2022-09-07 17:24:00 +02:00
.gitattributes Improve handling of .git* files/dirs (#3141) 2021-02-01 09:25:40 +01:00
.gitignore chore(demo): Give PostHog team members staff privileges in demo env (#11292) 2022-08-17 10:21:28 +02: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 Kea TypeGen 0.0.31 (#1297) 2020-07-29 11:21:00 +02:00
.test_durations Revert "chore(dev): use network mode host for docker-compose services (#10917)" (#10926) 2022-07-22 10:25:59 +01:00
babel.config.js chore(upgrade): Kea 3.0, keeping React at 16.11 (#9682) 2022-05-09 11:34:28 +02:00
CHANGELOG.md docs(changelog): Refer to PostHog Array in CHANGELOG.md (#8770) 2022-03-16 08:22:33 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#1790) 2020-10-01 14:12:10 +00:00
codecov.yml ci(tests): show untested code in PR with codecov (#6082) 2021-10-04 10:37:15 +01:00
CONTRIBUTING.md chore: contribution guidelines about paid features (#11653) 2022-09-05 11:28:13 +01:00
cypress.e2e.config.ts feat: Universal CSV exports (#10644) 2022-07-07 19:16:13 +00:00
depot.json feat(ci): Use Depot for Docker builds in CI (#10624) 2022-07-04 15:33:36 +01:00
docker-compose.dev.yml chore(ci): Set stream_poll_timeout_ms in dev (#12122) 2022-10-07 10:23:38 +03:00
docker-compose.hobby.yml chore: Pin caddy version to v2.6.1 for stability (#11943) 2022-09-22 14:51:57 -07:00
Dockerfile update simmer to version without installation warnings (#2896) 2021-01-08 15:14:57 +01:00
Dockerfile.cloud fix(deploy): add CA's in to cloud image (#11892) 2022-09-20 12:56:46 +00:00
gunicorn.config.py chore(deps): Update black to 22.8.0 (#11596) 2022-09-05 14:38:54 +02:00
jest.config.ts feat(recordings): make player events expandable (#11584) 2022-09-06 20:15:40 +00:00
jest.setup.ts feat(frontend): use lottie for animation (#9904) 2022-06-06 12:50:13 +02:00
latest_migrations.manifest feat(apps): rename web.ts to site.ts (#12179) 2022-10-11 10:27:21 +00:00
LICENSE Update copyright years and use MIT license in posthog-foss (#3145) 2021-02-01 14:55:39 +01:00
manage.py Black all the things! (#1136) 2020-07-02 15:41:49 +02:00
mypy.ini Stability & dev experience improvements (#2152) 2020-11-02 14:55:20 +00:00
package.json feat(apps): rename web.ts to site.ts (#12179) 2022-10-11 10:27:21 +00:00
postcss.config.js feat: Extended utility classes and updated color palette (#11047) 2022-08-01 14:09:44 +00:00
Procfile Add flags to bin/docker-worker-celery (#2621) 2020-12-03 18:53:06 +01:00
production.Dockerfile feat(ingestion): remove Graphile worker as initial ingest dependency (#12075) 2022-10-10 15:40:43 +01:00
pyproject.toml chore(deps): Update black to 22.8.0 (#11596) 2022-09-05 14:38:54 +02:00
pytest.ini chore: split out async migrations ci (#9539) 2022-04-26 17:58:30 +01:00
README.md chore(contributors): 🤖 - Add codepitbull as a contributor 🎉 (#12189) 2022-10-11 12:00:08 +01:00
requirements-dev.in chore(numpy): upgrade from 1.21.4 to 1.23.3 (#12142) 2022-10-07 14:14:39 +02:00
requirements-dev.txt chore(numpy): upgrade from 1.21.4 to 1.23.3 (#12142) 2022-10-07 14:14:39 +02:00
requirements.in chore(numpy): upgrade from 1.21.4 to 1.23.3 (#12142) 2022-10-07 14:14:39 +02:00
requirements.txt chore(numpy): upgrade from 1.21.4 to 1.23.3 (#12142) 2022-10-07 14:14:39 +02:00
runtime.txt chore(python): update Python to version 3.8.14 (#11713) 2022-09-08 10:56:30 +00:00
SECURITY.md Create SECURITY.md (#6009) 2021-09-17 15:31:10 +02:00
tailwind.config.js feat(recordings): make console log details expandable (#11692) 2022-09-16 10:09:14 -04:00
tsconfig.json feat(frontend): build @posthog/lemon-ui and @posthog/apps-common (#10120) 2022-06-10 17:03:06 +02:00
versions.json chore: Bump version to 1.40.0 (#11969) 2022-09-26 11:15:35 -04:00
webpack.config.js feat(frontend): build @posthog/lemon-ui and @posthog/apps-common (#10120) 2022-06-10 17:03:06 +02:00
yarn.lock feat(apps): rename web.ts to site.ts (#12179) 2022-10-11 10:27:21 +00:00

posthoglogo

PRs Welcome Join Slack Community Docker Pulls GitHub commit activity GitHub closed issues

PostHog is an open-source product analytics suite, built for engineers

  • Automatically track every event on your website or app
  • Understand your users and how to improve your product
  • Deploy on your own infrastructure to keep control of your data.

Get started for free

Option 1: Hobby instance one-line-deploy

For <100K events ingested monthly on Linux with Docker (recommended 4GB memory):

 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)" 

Option 2: Production instance on your infrastructure

Follow our Scaleable Self-Hosting Guide for all major cloud service providers and on-premise deploys

Option 3: If you don't need to self-host

Sign up for a free PostHog Cloud project

Features

ui-demo

We bring all the tools into one place to give you everything you need to build better products:

  • Event-based Analytics on users or groups - capture your product's usage data to see which users are doing what in your application
  • Product data visualizations graphs, funnels, cohorts, paths, retention, and dashboards
  • Complete control over your data - host it yourself on 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 to understand how users interact with your product with the PostHog Toolbar
  • Automated Analysis to find correlations between successful users and their behaviors or attributes
  • 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
  • Infinitely extensible use custom plugins to extend PostHog and integrate with any service or tool
  • Ready-made libraries for JS, Python, Ruby, Node, Go, Android, iOS, PHP, Flutter, React Native, Elixir, Nim + an API for anything else
  • And much much more... for a full list of PostHog features.

Event autocapture

You don't have to spend weeks instrumenting every event on your front-end, point and click at elements from your browser and turn them into events which you and your team can analyze

Getting 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 and build better products without losing control of your data.

In our view, third-party analytics tools do not work in a world of cookie deprecation, GDPR, HIPAA, 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.

PostHog is designed to give you every tool you need to understand user behavior, create hypothesis and release changes to make your product more successful.

What's cool about this?

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

We are an open-source alternative to products such as Mixpanel, Amplitude, Heap, HotJar, Pendo or Full Story. We're designed to be more developer-friendly, with the broadest range of features like session recording, heatmaps, feature flags, and plugins.

We play nicely with data warehouses and other services - 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. All without losing control of your data.

Developing locally & Contributing

See our Docs for instructions on developing PostHog locally.

We <3 contributions big or small, check out our guide on how to get started.

Not sure where to start? Book a free, no-pressure pairing session with one of the team.

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 🦸