0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-21 21:49:51 +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-08-08 16:57:13 +01:00
.devcontainer chore: upgrade python to 3.11 🐍 (#22932) 2024-06-21 16:45:42 +00:00
.github feat: Add replay capture vector config+docker image and deployment (#24264) 2024-08-08 16:57:13 +01:00
.husky chore(dev): Add pre-push hook to confirm pushing to master (#22490) 2024-05-24 10:57:54 +00:00
.run feat(insights): Make initial single insight load async v2 (#23978) 2024-08-01 13:03:34 +02:00
.storybook test(visual): change method to wait for image (#23906) 2024-07-24 16:59:16 +02:00
.vscode feat(insights): Make initial single insight load async v2 (#23978) 2024-08-01 13:03:34 +02:00
bin feat(insights): Make initial single insight load async v2 (#23978) 2024-08-01 13:03:34 +02:00
cypress feat: Uploadable organization logo (#24213) 2024-08-08 16:30:59 +02:00
docker chore(dev): Live events locally (#22837) 2024-06-10 21:13:30 +02:00
ee feat: Uploadable organization logo (#24213) 2024-08-08 16:30:59 +02:00
eslint-rules
frontend feat(queries): Make query runner add more tags to both query log and Sentry (#24254) 2024-08-08 14:53:40 +00:00
hogql_parser feat(data-warehouse): Added the ability to use dashboard filters in BI queries (#24033) 2024-07-31 13:20:23 +01:00
hogvm fix: Added isolatedModules to export enums (#24020) 2024-07-29 07:31:06 +00:00
livestream feat: livestream service tests (#24209) 2024-08-06 15:08:34 -07:00
openapi
patches fix: patch dayjs to fix the utc timezone bug (#23527) 2024-07-08 17:39:55 +02:00
playwright/e2e-vrt
plugin-server feat(cdp): Token bucket based hog watcher (#24234) 2024-08-08 15:58:22 +02:00
plugin-transpiler
posthog feat(queries): Make query runner add more tags to both query log and Sentry (#24254) 2024-08-08 14:53:40 +00:00
rust fix: need to release a new version, didn't like how this was worded (#24223) 2024-08-06 19:03:46 +03:00
share
staticfiles
vector/replay-capture feat: Add replay capture vector config+docker image and deployment (#24264) 2024-08-08 16:57:13 +01:00
.all-contributorsrc
.dockerignore feat: allow asgi/wsgi to be configurable by env var (#21635) 2024-04-18 10:13:06 +01:00
.eslintignore
.eslintrc.js fix(eslint): lint cypress files (#23548) 2024-07-09 09:59:53 +00:00
.gitattributes
.gitignore feat(data-warehouse): Use delta format for DLT (#23584) 2024-07-15 18:16:36 +01:00
.kearc
.nvmrc
.prettierignore
.prettierrc
.stylelintignore
.stylelintrc.js
.test_durations chore: Swap to just /api/billing (#22545) 2024-05-30 13:25:02 +01:00
babel.config.js chore: dependency wrangling (#22829) 2024-06-10 09:49:47 +01:00
CHANGELOG.md
CODE_OF_CONDUCT.md
CODEOWNERS chore: ADD CODEOWNERS for team-feature-success (#22012) 2024-05-01 13:54:39 +00:00
CONTRIBUTING.md
cypress.e2e.config.ts feat(insights): Make initial single insight load async v2 (#23978) 2024-08-01 13:03:34 +02:00
depot.json
docker-compose.base.yml feat: Add replay capture vector config+docker image and deployment (#24264) 2024-08-08 16:57:13 +01:00
docker-compose.dev-full.yml feat: DeliveryHog (#22706) 2024-06-10 15:12:04 +02:00
docker-compose.dev.yml feat: Add replay capture vector config+docker image and deployment (#24264) 2024-08-08 16:57:13 +01:00
docker-compose.hobby.yml fix: pass secret to django worker (#24112) 2024-08-01 11:03:12 +02:00
docker-compose.playwright.yml
Dockerfile
Dockerfile.cloud fix: Replace remaining app.posthog.com with us. (#20363) 2024-02-27 15:22:33 +01:00
Dockerfile.playwright chore(deps): upgrade playwright to v1.45.0 (#23280) 2024-06-27 18:08:18 +02:00
gunicorn.config.py chore: Add Pyupgrade rules (#21714) 2024-04-25 08:22:28 +01:00
jest.config.ts feat(hogql): inline hogql editor with autocomplete (#23247) 2024-06-28 08:16:53 +02:00
jest.setup.ts
jest.setupAfterEnv.ts
latest_migrations.manifest feat: Uploadable organization logo (#24213) 2024-08-08 16:30:59 +02:00
LICENSE fix(web-analytics): Fix empty channel types (#24087) 2024-07-31 11:23:11 +01:00
manage.py chore(deps): Upgrade ruff (#21648) 2024-04-19 14:19:10 +02:00
mypy-baseline.txt feat(insights): first time for user math type for Actors Query (#23993) 2024-07-29 14:04:09 +02:00
mypy.ini chore: upgrade python to 3.11 (#23206) 2024-06-27 14:16:27 -07:00
package.json chore(posthog): update kea-forms (#24255) 2024-08-08 13:44:21 +02:00
playwright.config.ts
pnpm-lock.yaml chore(posthog): update kea-forms (#24255) 2024-08-08 13:44:21 +02:00
postcss.config.js
production.Dockerfile chore: upgrade python to 3.11 (#23206) 2024-06-27 14:16:27 -07:00
pyproject.toml chore(deps): Add ruff rule django-unordered-body-content-in-model (#23628) 2024-07-12 13:44:14 +01:00
pytest.ini
README.md fix: typos in README (#24159) 2024-08-02 15:56:59 +02:00
requirements-dev.in feat(data-warehouse): add the ability to connect to MySQL as a datawa… (#23921) 2024-07-24 10:50:24 +01:00
requirements-dev.txt feat(data-warehouse): add the ability to connect to MySQL as a datawa… (#23921) 2024-07-24 10:50:24 +01:00
requirements.in feat(data-warehouse): Added the ability to use dashboard filters in BI queries (#24033) 2024-07-31 13:20:23 +01:00
requirements.txt feat(data-warehouse): Added the ability to use dashboard filters in BI queries (#24033) 2024-07-31 13:20:23 +01:00
SECURITY.md
tailwind.config.js chore: remove more colors (#22882) 2024-06-12 15:37:19 +01:00
test-runner-jest-environment.js feat: query loading bars (#22298) 2024-05-16 10:11:26 +01:00
test-runner-jest.config.js
tsconfig.dev.json
tsconfig.json
unit.json.tpl chore: upgrade python to 3.11 (#23206) 2024-06-27 14:16:27 -07:00
webpack.config.js

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
  • Only capture properties on the people you want to track, save money when you don't
  • 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 when needed
  • 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 its 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 🦸