0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41: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-21 13:44:16 +00:00
.devcontainer
.github chore(ci): skip fe when no changes (#18670) 2023-11-21 11:55:05 +01:00
.husky
.run chore(pycharm): Include compound run configuration (#18739) 2023-11-20 11:06:30 +01:00
.storybook feat(3000): Breadcrumbs bar as dynamic page header (#18426) 2023-11-13 21:52:36 +01:00
.vscode fix: vscode launch file to debug celery tasks (#18598) 2023-11-15 09:36:47 +00:00
bin chore(batch-exports): add some Prometheus metrics for batch exports (#18467) 2023-11-09 09:22:25 -07:00
cdp
cypress feat(3000): 3000 colors (#18545) 2023-11-20 11:53:12 +00:00
docker chore: reflect prod schema in local plugin_log_entries (#18732) 2023-11-17 22:27:08 +00:00
ee fix(flags): Alter constraints to not delete flags and experiments (#18514) 2023-11-21 13:44:16 +00:00
eslint-rules chore: custom lint rules (#18206) 2023-10-26 12:11:38 +01:00
frontend chore: remove unused owner component (#18772) 2023-11-21 13:24:27 +00:00
hogql_parser chore(hogql): Use the C++ parser in 50% of queries (#18298) 2023-11-01 11:52:44 +01:00
hogvm
openapi
playwright feat: Sidebar cohorts and annotations movement (#18200) 2023-11-08 16:16:05 +01:00
plugin-server fix: composeWebhook method to use passed headers (#18711) 2023-11-17 15:03:14 +01:00
plugin-transpiler feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +00:00
posthog fix(flags): Alter constraints to not delete flags and experiments (#18514) 2023-11-21 13:44:16 +00:00
share
staticfiles
.all-contributorsrc
.dockerignore test: Regular checkup of visual regression tests (#18469) 2023-11-13 15:32:10 +01:00
.eslintrc.js feat(search): more search improvements (#18705) 2023-11-20 17:43:54 +00:00
.gitattributes
.gitignore test: Regular checkup of visual regression tests (#18469) 2023-11-13 15:32:10 +01:00
.kearc
.prettierignore
.prettierrc
.stylelintignore test(frontend): Add stylelint (#18627) 2023-11-15 15:11:27 +01:00
.stylelintrc.js test(frontend): Add stylelint (#18627) 2023-11-15 15:11:27 +01:00
babel.config.js
CHANGELOG.md fix: Fix CHANGELOG.md (#18692) 2023-11-20 08:18:29 +01:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
cypress.e2e.config.ts
depot.json
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
docker-compose.dev.yml
docker-compose.hobby.yml
docker-compose.playwright.yml
Dockerfile
Dockerfile.cloud
Dockerfile.playwright test: Regular checkup of visual regression tests (#18469) 2023-11-13 15:32:10 +01:00
gunicorn.config.py
jest.config.ts
jest.setup.ts
jest.setupAfterEnv.ts
latest_migrations.manifest fix(flags): Alter constraints to not delete flags and experiments (#18514) 2023-11-21 13:44:16 +00:00
LICENSE
manage.py
mypy.ini
package.json chore(deps): Update posthog-js to 1.92.0 (#18760) 2023-11-20 14:14:18 -05:00
playwright.config.ts
pnpm-lock.yaml chore(deps): Update posthog-js to 1.92.0 (#18760) 2023-11-20 14:14:18 -05:00
postcss.config.js
Procfile
production-unit.Dockerfile chore: Build unit docker image so we can build on arm (#18492) 2023-11-08 17:23:56 +00: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
README.md
requirements-dev.in
requirements-dev.txt
requirements.in refactor: Postgres (+ Redshift) batch exports now async (#18631) 2023-11-15 09:56:46 +01:00
requirements.txt refactor: Postgres (+ Redshift) batch exports now async (#18631) 2023-11-15 09:56:46 +01:00
SECURITY.md
tailwind.config.js
test-runner-jest-environment.js test: Regular checkup of visual regression tests (#18469) 2023-11-13 15:32:10 +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
tsconfig.json
unit.json feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +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
  • 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 🦸