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
2024-04-26 08:22:18 +01:00
.devcontainer feat: Swapped to use KAFKA_HOSTS everywhere (#16109) 2023-06-19 12:15:17 +01:00
.github fix: allow choose another dashboard template after pressing back (#21248) 2024-04-24 14:07:22 +02:00
.husky chore: Remove OptiPNG from local dev (#17490) 2023-09-18 13:51:53 +02:00
.run feat: Swapped to express for plugin server http server (#20506) 2024-02-22 17:03:23 +00:00
.storybook test(vrt): Don't clip scene snapshots (#19677) 2024-03-18 10:51:46 +01:00
.vscode fix(celery): Run celery locally as a single worker (#21772) 2024-04-23 23:15:35 +02:00
bin chore: Add Pyupgrade rules (#21714) 2024-04-25 08:22:28 +01:00
cypress fix: allow choose another dashboard template after pressing back (#21248) 2024-04-24 14:07:22 +02:00
docker chore: reflect prod schema in local plugin_log_entries (#18732) 2023-11-17 22:27:08 +00:00
ee feat: Show error messages from server on billing page (#21765) 2024-04-25 19:50:55 +00:00
eslint-rules chore: custom lint rules (#18206) 2023-10-26 12:11:38 +01:00
frontend chore: Add eslint no-else-return rule (#21837) 2024-04-26 08:22:18 +01:00
hogql_parser fix(hogql): Only expose HogQL exceptions relevant to users (#21329) 2024-04-05 11:39:20 +00:00
hogvm chore: Add Pyupgrade rules (#21714) 2024-04-25 08:22:28 +01:00
openapi docs(set/set_once): add $set/$set_once to docs (#15306) 2023-05-01 12:09:38 +00:00
patches fix: revert even more rrweb (#21821) 2024-04-24 17:29:21 +00:00
playwright/e2e-vrt chore(cleanup): remove legacy visual regression tests (#19527) 2024-01-09 15:00:17 +00:00
plugin-server chore(plugin-server): set 'force_upgrade' for 'person_mode' when applicable (#21856) 2024-04-25 11:07:37 -06:00
plugin-transpiler feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +00:00
posthog chore(data-warehouse): use psycopg2 (#21872) 2024-04-25 23:11:03 -04:00
share feat: Add GeoIP2 capability to Django app (for feature flags) (#10890) 2022-07-25 17:20:11 -07:00
staticfiles
.all-contributorsrc chore: Add Ismaaa as a contributor 🎉 (#5679) 2022-12-19 21:13:17 +00:00
.dockerignore feat: allow asgi/wsgi to be configurable by env var (#21635) 2024-04-18 10:13:06 +01:00
.eslintignore feat: add ee licensed replay transformer (#18874) 2023-11-29 10:41:18 +00:00
.eslintrc.js chore: Add eslint no-else-return rule (#21837) 2024-04-26 08:22:18 +01:00
.gitattributes
.gitignore fix: reduce toolbar bundle size by 60% (#20122) 2024-02-19 11:39:15 +00:00
.kearc
.nvmrc chore: added .nvmrc for setting the node version (#18962) 2023-11-30 09:50:11 +00:00
.prettierignore feat: verify email addresses on signup (#13632) 2023-02-24 09:19:35 -08:00
.prettierrc
.stylelintignore test(frontend): Add stylelint (#18627) 2023-11-15 15:11:27 +01:00
.stylelintrc.js refactor(product-analytics): lineGraphLogic.ts to tooltip-data.ts (#19815) 2024-01-17 20:28:10 +00:00
.test_durations feat(ci): split out temporal, make tests faster (#21636) 2024-04-18 16:25:33 +01:00
babel.config.js test(frontend): Cover practically all the Storybook tests with snapshots (#14001) 2023-02-03 13:06:21 +01:00
CHANGELOG.md fix: Fix CHANGELOG.md (#18692) 2023-11-20 08:18:29 +01:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md fix: modify contributing.md to match current processes (#16596) 2023-07-19 15:27:54 +01:00
cypress.e2e.config.ts test(dashboards): Clean up in resetInsightCache (#20157) 2024-02-06 16:28:00 +01:00
depot.json feat(ci): Use Depot for Docker builds in CI (#10624) 2022-07-04 15:33:36 +01:00
docker-compose.base.yml fix: Restart temporal container on failure (#21615) 2024-04-17 16:34:20 +02:00
docker-compose.dev-full.yml feat(3000): help & support panel (#20710) 2024-03-18 09:14:44 -07:00
docker-compose.dev.yml fix: Wait for healthy db when starting temporal (#21610) 2024-04-17 14:55:01 +02:00
docker-compose.hobby.yml fix(cohorts): upload static cohorts (#21840) 2024-04-25 09:41:33 +00:00
docker-compose.playwright.yml test(frontend): Cover practically all the Storybook tests with snapshots (#14001) 2023-02-03 13:06:21 +01:00
Dockerfile
Dockerfile.cloud fix: Replace remaining app.posthog.com with us. (#20363) 2024-02-27 15:22:33 +01:00
Dockerfile.playwright fix(tests): upgrade playwright (#20441) 2024-02-20 12:06:04 +00:00
gunicorn.config.py chore: Add Pyupgrade rules (#21714) 2024-04-25 08:22:28 +01:00
jest.config.ts feat: canvas replay (#19583) 2024-01-22 15:54:07 +00:00
jest.setup.ts fix: cannot read body twice (#19750) 2024-01-15 07:44:43 +00:00
jest.setupAfterEnv.ts chore(frontend): upgrade jest (#12866) 2022-11-19 13:09:00 +01:00
latest_migrations.manifest feat: Added heatmaps remote opt in (#21807) 2024-04-25 12:51:01 +02:00
LICENSE chore: 2023 (#13143) 2023-01-03 08:21:48 +00:00
manage.py chore(deps): Upgrade ruff (#21648) 2024-04-19 14:19:10 +02:00
mypy-baseline.txt feat(web-analytics): Session filters 1 (#21512) 2024-04-25 16:10:52 +01:00
mypy.ini fix(types): Fix type errors by adding defaults for optional dataclass fields (#19691) 2024-01-10 12:28:50 +00:00
package.json chore(deps): Update posthog-js to 1.129.0 (#21819) 2024-04-24 12:29:10 -04:00
playwright.config.ts chore: upgrade playwright (#18793) 2023-11-23 13:51:01 +01:00
pnpm-lock.yaml feat: Added heatmaps remote opt in (#21807) 2024-04-25 12:51:01 +02:00
postcss.config.js chore(frontend): Real Tailwind + Autoprefixer (#19051) 2024-01-08 13:26:12 +01:00
production.Dockerfile chore(deps): Remove unused Python requirements (#21580) 2024-04-22 22:52:47 +02:00
pyproject.toml chore: Add Pyupgrade rules (#21714) 2024-04-25 08:22:28 +01:00
pytest.ini fix: Revert "chore(tests): add pytest-randomly plugin to randomize test run order" (#12335) 2022-10-19 13:30:16 +03:00
README.md chore: add demo video to readme (#20903) 2024-03-18 10:54:03 +00:00
requirements-dev.in chore(data-warehouse): upgrade dlt version (#21743) 2024-04-23 10:37:08 -04:00
requirements-dev.txt chore: Update psycopg to 3.1.18 (latest release.) (#21862) 2024-04-25 12:06:50 -07:00
requirements.in chore: Update psycopg to 3.1.18 (latest release.) (#21862) 2024-04-25 12:06:50 -07:00
requirements.txt chore: Update psycopg to 3.1.18 (latest release.) (#21862) 2024-04-25 12:06:50 -07:00
SECURITY.md chore: Update SECURITY.md email (#15135) 2023-04-18 15:31:36 +00:00
tailwind.config.js feat(3000): help & support panel (#20710) 2024-03-18 09:14:44 -07:00
test-runner-jest-environment.js test(vrt): Don't clip scene snapshots (#19677) 2024-03-18 10:51:46 +01:00
test-runner-jest.config.js test: Regular checkup of visual regression tests (#18469) 2023-11-13 15:32:10 +01:00
tsconfig.dev.json chore: Add debug info to JSX output (#12295) 2022-10-17 19:30:31 +02:00
tsconfig.json refactor: Simplify breadcrumb keys (#19370) 2024-01-04 20:43:58 +01:00
unit.json.tpl fix: Reduce nginx unit request limit to 7.5k (#21649) 2024-04-18 14:50:41 +01:00
webpack.config.js feat: Added ability to import code from ee folder (#18841) 2023-11-23 16:40:46 +00:00

posthoglogo

PRs Welcome Docker Pulls GitHub commit activity GitHub closed issues

Docs - Community - Roadmap - Changelog - Bug reports

PostHog Demonstration See PostHog in action

PostHog is an all-in-one, open source platform for building better products

  • Specify events manually, or use autocapture to get started quickly
  • Analyze data with ready-made visualizations, or do it yourself with SQL
  • Gather insights by capturing session replays, console logs, and network monitoring
  • Improve your product with A/B testing that automatically analyzes performance
  • Safely roll out features to select users or cohorts with feature flags
  • Send out fully customizable surveys to specific cohorts of users
  • Connect to external services and manage data flows with PostHog CDP

PostHog is available with hosting in the EU or US and is fully SOC 2 compliant. It's free to get started and comes with a generous monthly free tier:

  • 1 million product analytics events
  • 5k session replays
  • 1 million feature flag requests
  • 250 survey responses

We're constantly adding new features, with web analytics and data warehouse now in beta!

Table of Contents

Get started for free

The fastest and most reliable way to get started with PostHog is signing up for free to PostHog Cloud or PostHog Cloud EU. Your first 1 million events (and 5k replays) are free every month, after which you pay based on usage.

Open-source hobby deploy (Advanced)

You can deploy a hobby instance in one line on Linux with Docker (recommended 4GB memory):

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

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. Please note that we do not provide customer support for open source deployments.

Docs

ui-demo

Want to find out more? Request a demo!

PostHog brings all the tools and data you need to build better products.

Analytics and optimization tools

  • Event-based analytics: Capture your product's usage automatically, or customize it to your needs
  • User and group tracking: Understand the people and groups behind the events and track properties about them
  • Data visualizations: Create and share graphs, funnels, paths, retention, and dashboards
  • SQL access: Use SQL to get a deeper understanding of your users, breakdown information and create completely tailored visualizations
  • Session replays: Watch videos 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
  • Feature flags: Test and manage the rollout of new features to specific users and groups, or deploy flags as kill-switches
  • A/B and multivariate experimentation: run simple or complex changes as experiments and get automatic significance calculations
  • Correlation analysis: Discover what events and properties correlate with success and failure
  • Surveys: Collect qualitative feedback from your users using fully customizable surveys

Data and infrastructure tools

Read a full list of PostHog features.

Contributing

We <3 contributions big and small. In priority order (although everything is appreciated) with the most helpful first:

Philosophy

Our mission is to increase the number of successful products in the world. To do that, we build product and data tools that help you understand user behavior 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 gives you every tool you need to understand user behavior, develop and test improvements, and release changes to make your product more successful.

PostHog operates in public as much as possible. We detail how we work and our learning on building and running a fast-growing, product-focused startup in our handbook.

Open-source vs. paid

This repo is available under the MIT expat license, except for the ee directory (which has it's license here) if applicable.

Need absolutely 💯% FOSS? Check out our posthog-foss repository, which is purged of all proprietary code and features.

To learn more, book a demo or see our pricing page.

Were hiring!

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

Contributors 🦸