0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
Go to file
2023-11-07 21:56:59 +00:00
.devcontainer feat: Swapped to use KAFKA_HOSTS everywhere (#16109) 2023-06-19 12:15:17 +01:00
.github feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +00:00
.husky chore: Remove OptiPNG from local dev (#17490) 2023-09-18 13:51:53 +02:00
.run fix: only use stringy distinct ids (#17255) 2023-08-31 09:26:19 +01:00
.storybook test(3000): Fix Sidebar story (#18251) 2023-10-27 22:47:36 +02:00
.vscode perf: Parse HogQL with C++ for a huge speedup (#17659) 2023-10-13 13:58:08 +00:00
bin feat: Add prometheus metrics to nginx unit (#18387) 2023-11-07 15:12:03 +00:00
cdp feat(cdp): add cdp destination APIs (#14994) 2023-04-12 12:47:50 +01:00
cypress fix: fixed 'yesterday' insights not filtering on the correct end date (#18412) 2023-11-07 10:17:51 +00:00
docker feat(data-warehouse): Initial data warehouse setup (#16087) 2023-06-20 22:38:58 -04:00
ee revert: "revert: "revert: "fix(flags): Do the expected for numeric comparisons""" (#18441) 2023-11-07 12:27:26 +00:00
eslint-rules chore: custom lint rules (#18206) 2023-10-26 12:11:38 +01:00
frontend fix: Fix timezone conversion seconds bug (#18457) 2023-11-07 21:03:39 +00:00
hogql_parser chore(hogql): Use the C++ parser in 50% of queries (#18298) 2023-11-01 11:52:44 +01:00
hogvm chore: upgraded Ruff linter (#18188) 2023-10-26 12:38:15 +02:00
openapi docs(set/set_once): add $set/$set_once to docs (#15306) 2023-05-01 12:09:38 +00:00
playwright chore: remove muted alt button (#18388) 2023-11-06 09:41:11 +00:00
plugin-server perf: move UUID validation up in pipeline (#18317) 2023-11-07 19:39:38 +00:00
plugin-transpiler feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +00:00
posthog feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +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: Add Ismaaa as a contributor 🎉 (#5679) 2022-12-19 21:13:17 +00:00
.dockerignore feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +00:00
.eslintrc.js chore: cleanup inline styles (#18314) 2023-11-07 14:46:03 +00:00
.gitattributes Improve handling of .git* files/dirs (#3141) 2021-02-01 09:25:40 +01:00
.gitignore feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +00:00
.kearc Add paths to logics (#6945) 2021-11-09 07:59:21 +00:00
.prettierignore feat: verify email addresses on signup (#13632) 2023-02-24 09:19:35 -08:00
.prettierrc Kea TypeGen 0.0.31 (#1297) 2020-07-29 11:21:00 +02: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: Removing some self-hosted upgrade paths and references (#16711) 2023-07-24 19:44:44 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#1790) 2020-10-01 14:12:10 +00:00
CONTRIBUTING.md fix: modify contributing.md to match current processes (#16596) 2023-07-19 15:27:54 +01:00
cypress.e2e.config.ts fix: e2e testing posthog capture (#17940) 2023-10-12 11:15:17 +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 revert: bump kafka image to 3.5.1 (#18274) (#18323) 2023-11-01 08:45:22 -06:00
docker-compose.dev-full.yml chore(compose): add capture-rs profile with containerised capture for testing (#18140) 2023-10-25 17:58:12 +02:00
docker-compose.dev.yml chore(compose): add capture-rs profile with containerised capture for testing (#18140) 2023-10-25 17:58:12 +02:00
docker-compose.hobby.yml chore: Update base postgres to version 15 (#17159) 2023-09-13 10:11:07 -04: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 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
Dockerfile.playwright ci(vrt): Stop the snapshot madness (#17163) 2023-08-29 09:28:03 +02:00
gunicorn.config.py chore: upgraded Ruff linter (#18188) 2023-10-26 12:38:15 +02:00
jest.config.ts chore: upgrade d3 (#14442) 2023-02-28 13:32:13 +00:00
jest.setup.ts feat: Batch Exports UI rework (#16926) 2023-08-16 15:06:09 +01:00
jest.setupAfterEnv.ts chore(frontend): upgrade jest (#12866) 2022-11-19 13:09:00 +01:00
latest_migrations.manifest feat: Add pipeline ui fields to plugin config (#18384) 2023-11-07 13:26:51 +01:00
LICENSE chore: 2023 (#13143) 2023-01-03 08:21:48 +00:00
manage.py Black all the things! (#1136) 2020-07-02 15:41:49 +02:00
mypy.ini feat(hogql): antlr grammar (#13971) 2023-02-07 17:02:29 +01:00
package.json chore: bump plugin-scaffolding version (#18032) 2023-11-07 14:47:38 +01:00
playwright.config.ts ci(vrt): Stop the snapshot madness (#17163) 2023-08-29 09:28:03 +02:00
pnpm-lock.yaml chore: bump plugin-scaffolding version (#18032) 2023-11-07 14:47:38 +01: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-unit.Dockerfile chore: add commit hash file to the built docker image (#17833) 2023-10-06 07:28:25 -06:00
production.Dockerfile feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +00:00
pyproject.toml chore: Use ruff formatter (#18207) 2023-10-31 13:41:57 +00: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 fix: Removing some self-hosted upgrade paths and references (#16711) 2023-07-24 19:44:44 +02:00
requirements-dev.in chore: upgraded Ruff linter (#18188) 2023-10-26 12:38:15 +02:00
requirements-dev.txt chore: upgraded Ruff linter (#18188) 2023-10-26 12:38:15 +02:00
requirements.in chore(hogql): Use the C++ parser in 50% of queries (#18298) 2023-11-01 11:52:44 +01:00
requirements.txt chore(hogql): Use the C++ parser in 50% of queries (#18298) 2023-11-01 11:52:44 +01:00
SECURITY.md chore: Update SECURITY.md email (#15135) 2023-04-18 15:31:36 +00:00
tailwind.config.js feat(web-analytics): Add overview stats (#17722) 2023-10-03 18:14:03 +01:00
test-runner-jest.config.js test(frontend): Automatically update UI snapshots in CI (#14391) 2023-02-24 19:33:39 +00:00
tsconfig.dev.json chore: Add debug info to JSX output (#12295) 2022-10-17 19:30:31 +02:00
tsconfig.json chore: Add debug info to JSX output (#12295) 2022-10-17 19:30:31 +02:00
unit.json feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +00:00
webpack.config.js chore(storybook): upgrade storybook to 7.3 (#17078) 2023-08-21 09:32:49 +02:00

posthoglogo

PRs Welcome Docker Pulls GitHub commit activity GitHub closed issues

Docs - Community - Roadmap - Changelog - Bug reports

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
  • 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 your first 1 million events (and 15k replays) are free every month. We're constantly adding new features, such as user surveys!

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 15k 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.

PostHog has sunset support for self-hosted K8s deployments.

Features

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

Data and infrastructure tools

Read a full list of PostHog features.

Docs and support

Read how to integrate, and extend an open-source 'Hobby' deployment of PostHog in our documentation.

Check out our tutorials for step-by-step guides, how-to's, and best practices.

Learn more about getting the most out of PostHog's features in our product manual.

Ask a question to get support.

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 🦸