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
2024-02-20 22:13:07 +01:00
.devcontainer
.github fix(tests): upgrade playwright (#20441) 2024-02-20 12:06:04 +00:00
.husky
.run chore(celery): Change local Celery Pycharm run to solo for better debugging (#20439) 2024-02-20 10:50:10 +00:00
.storybook feat: add commit sha to every frontend event (#20347) 2024-02-15 09:54:55 +00:00
.vscode feat: Personal API key scopes (#20151) 2024-02-20 11:02:58 +00:00
bin feat: generate recording text embeddings (#20046) 2024-02-14 12:50:42 +00:00
cdp
cypress refactor(funnels): unify vertical and horizontal graph names (#20409) 2024-02-20 20:10:01 +01:00
docker
ee feat: Personal API key scopes (#20151) 2024-02-20 11:02:58 +00:00
eslint-rules
frontend feat(funnels): fix tooltip title line wrapping (#20455) 2024-02-20 21:25:57 +01:00
hogql_parser feat(hogql): Allow a placeholder to be used in place of a select statement (#19767) 2024-01-18 15:14:39 +00:00
hogvm
openapi
patches feat: replay error handler (#19868) 2024-01-19 14:32:54 +00:00
playwright/e2e-vrt chore(cleanup): remove legacy visual regression tests (#19527) 2024-01-09 15:00:17 +00:00
plugin-server feat(kafka): Always prefer resetting to the earliest available offset (#20283) 2024-02-20 10:16:19 -08:00
plugin-transpiler
posthog fix(insights): legacy hourly start time (#20465) 2024-02-20 22:13:07 +01:00
share
staticfiles
.all-contributorsrc
.dockerignore fix: add patches to exclusions in dockerignore (#19896) 2024-01-22 10:03:21 +00:00
.eslintignore
.eslintrc.js chore: replace antd radio (#20038) 2024-02-02 15:20:26 +00:00
.gitattributes
.gitignore fix: reduce toolbar bundle size by 60% (#20122) 2024-02-19 11:39:15 +00:00
.kearc
.nvmrc
.prettierignore
.prettierrc
.stylelintignore
.stylelintrc.js refactor(product-analytics): lineGraphLogic.ts to tooltip-data.ts (#19815) 2024-01-17 20:28:10 +00:00
babel.config.js
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
cypress.e2e.config.ts test(dashboards): Clean up in resetInsightCache (#20157) 2024-02-06 16:28:00 +01:00
depot.json
docker-compose.base.yml fix: Add timeout to subscription reports (#19811) 2024-01-17 17:38:14 +01:00
docker-compose.dev-full.yml
docker-compose.dev.yml fix: Add timeout to subscription reports (#19811) 2024-01-17 17:38:14 +01:00
docker-compose.hobby.yml
docker-compose.playwright.yml
Dockerfile
Dockerfile.cloud
Dockerfile.playwright fix(tests): upgrade playwright (#20441) 2024-02-20 12:06:04 +00:00
gunicorn.config.py
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
latest_migrations.manifest feat: Personal API key scopes (#20151) 2024-02-20 11:02:58 +00:00
LICENSE
manage.py
mypy-baseline.txt feat(insights): group actor modals (#20446) 2024-02-20 16:03:14 +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.107.0 (#20464) 2024-02-20 10:54:22 -05:00
playwright.config.ts
pnpm-lock.yaml chore(deps): Update posthog-js to 1.107.0 (#20464) 2024-02-20 10:54:22 -05:00
postcss.config.js chore(frontend): Real Tailwind + Autoprefixer (#19051) 2024-01-08 13:26:12 +01:00
Procfile
production.Dockerfile feat: patch canvas export into rrweb (#19861) 2024-01-19 13:41:19 +00:00
pyproject.toml
pytest.ini
README.md chore: Add Flutter feature flags snippets (#19563) 2024-01-03 13:19:09 +01:00
requirements-dev.in feat(batch-exports): Add HTTP Batch Export destination (#20318) 2024-02-19 10:40:09 +00:00
requirements-dev.txt chore(deps): bump the pip group across 1 directories with 3 updates (#20413) 2024-02-19 14:22:37 +01:00
requirements.in fix: Fix rendering of nan and inf in JSON responses (#20302) 2024-02-15 15:56:54 +00:00
requirements.txt chore(deps): bump the pip group across 1 directories with 3 updates (#20413) 2024-02-19 14:22:37 +01:00
SECURITY.md
tailwind.config.js style(lemon-ui): Make Sparkline look great (#19813) 2024-01-17 20:06:24 +01:00
test-runner-jest-environment.js
test-runner-jest.config.js
tsconfig.dev.json
tsconfig.json refactor: Simplify breadcrumb keys (#19370) 2024-01-04 20:43:58 +01:00
unit.json fix: Set nginx unit max body size to 21MiB (#20383) 2024-02-16 15:18:14 +00:00
webpack.config.js

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