0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-21 13:39:22 +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-10-07 18:09:36 +02:00
.devcontainer chore: upgrade python to 3.11 🐍 (#22932) 2024-06-21 16:45:42 +00:00
.github fix(dashboard): remove breakdown limit in apply_dashboard_filters (#25265) 2024-10-03 19:33:39 +00:00
.husky chore(dev): Add pre-push hook to confirm pushing to master (#22490) 2024-05-24 10:57:54 +00:00
.run fix: Start non-worker celery command with app.start() (#24375) 2024-08-16 10:19:36 +02:00
.storybook fix(dev): Restore ability to update UI snapshots locally (#25138) 2024-09-23 17:25:07 +02:00
.vscode feat(cdp): Use cyclotron part 2 (#24746) 2024-09-10 09:05:30 +02:00
bin feat(cdp): Use cyclotron part 2 (#24746) 2024-09-10 09:05:30 +02:00
cypress feat: alerts on all trends (#25056) 2024-10-02 19:46:35 +01:00
docker fix: fix hobby deploy (#25407) 2024-10-04 14:33:34 -07:00
ee fix: cohort negation (#25327) 2024-10-02 09:32:55 -07:00
eslint-rules chore: custom lint rules (#18206) 2023-10-26 12:11:38 +01:00
frontend feat(navigation): Search in environments switcher (#25374) 2024-10-07 18:09:36 +02:00
funnel-udf fix: fix hobby deploy (#25407) 2024-10-04 14:33:34 -07:00
hogql_parser feat(hogql): placeholder expressions (attempt 2) (#25216) 2024-09-26 12:33:37 +02:00
hogvm feat(hog): JSONExtractBool (#25195) 2024-09-25 08:43:53 +00:00
livestream chore: use the wrapper token if it exists (#25381) 2024-10-03 16:45:44 -07:00
openapi docs(set/set_once): add $set/$set_once to docs (#15306) 2023-05-01 12:09:38 +00:00
patches fix: patch dayjs to fix the utc timezone bug (#23527) 2024-07-08 17:39:55 +02:00
playwright/e2e-vrt chore(cleanup): remove legacy visual regression tests (#19527) 2024-01-09 15:00:17 +00:00
plugin-server fix(plugin-server): trackedFetch lookups (#25398) 2024-10-04 17:37:03 +02:00
plugin-transpiler feat(apps): transpile via django (#18201) 2023-11-07 21:56:59 +00:00
posthog fix(data-warehouse): add naming convention (#25429) 2024-10-07 11:59:48 -04:00
rust feat(err): parse stack traces (#25393) 2024-10-06 02:43:31 +03:00
share feat: Add GeoIP2 capability to Django app (for feature flags) (#10890) 2022-07-25 17:20:11 -07:00
staticfiles
vector/replay-capture fix: use murmur2 random in vector capture for compatibility with django (#24414) 2024-08-16 10:34:54 +01:00
.all-contributorsrc chore: Add Ismaaa as a contributor 🎉 (#5679) 2022-12-19 21:13:17 +00:00
.dockerignore feat: cyclotron (#24228) 2024-08-21 12:24:56 -06:00
.eslintignore feat: add ee licensed replay transformer (#18874) 2023-11-29 10:41:18 +00:00
.eslintrc.js fix: react rule of hooks linting to error (#25232) 2024-09-27 15:23:00 +01:00
.gitattributes
.gitignore feat(flags): rust implementation of a bunch of things (#24957) 2024-09-24 19:06:22 -04:00
.kearc
.nvmrc chore: added .nvmrc for setting the node version (#18962) 2023-11-30 09:50:11 +00:00
.prettierignore feat(hog): Hog bytecode function STL (#24653) 2024-08-29 14:28:50 +02: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 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 fix: Fix CHANGELOG.md (#18692) 2023-11-20 08:18:29 +01:00
CODE_OF_CONDUCT.md
CODEOWNERS chore: ADD CODEOWNERS for team-feature-success (#22012) 2024-05-01 13:54:39 +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 ci: Retry cypress tests before failing (#25404) 2024-10-04 20:47: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 feat: funnel actors queries on udf (#25013) 2024-10-02 15:29:04 -07:00
docker-compose.dev-full.yml chore(propdefs): add propdefs to docker stack (#25153) 2024-09-24 21:32:07 +03:00
docker-compose.dev.yml chore(propdefs): add propdefs to docker stack (#25153) 2024-09-24 21:32:07 +03:00
docker-compose.hobby.yml chore: fix hobby plugin server, again (#24750) (#24777) 2024-09-04 15:37:01 +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 fix(plugins): include transpiler source (#25384) 2024-10-04 11:11:42 +02: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 chore: remove antd (#24256) 2024-08-14 09:54:37 +01: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(data-warehouse): use materialized view in hogql (#25187) 2024-10-03 21:27:41 -04: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(environments): Environment switcher, behind flag (#25009) 2024-10-01 17:08:37 +02:00
mypy.ini chore: upgrade python to 3.11 (#23206) 2024-06-27 14:16:27 -07:00
package.json fix(web-analytics): Update kea router, and store conversion goals as flat parameters rather than JSON in URL (#25332) 2024-10-02 15:58:42 +01:00
playwright.config.ts test(visual): adapt chrome args for increased reliability (#24291) 2024-08-12 16:30:09 +02:00
pnpm-lock.yaml fix(web-analytics): Update kea router, and store conversion goals as flat parameters rather than JSON in URL (#25332) 2024-10-02 15:58:42 +01:00
postcss.config.js chore(frontend): Real Tailwind + Autoprefixer (#19051) 2024-01-08 13:26:12 +01:00
pyproject.toml chore: Re-enable Django model order lint rule (#24525) 2024-08-22 17:14:26 +02:00
pytest.ini feat: versioned deployments for UDFs (#25121) 2024-09-26 11:30:26 -07:00
README.md chore: Update readme for web analytics launch (#24812) 2024-09-10 10:09:11 +01:00
requirements-dev.in chore: Person ID overrides by default (#22811) 2024-09-13 16:40:46 +00:00
requirements-dev.txt chore: Person ID overrides by default (#22811) 2024-09-13 16:40:46 +00:00
requirements.in feat(hogql): placeholder expressions (attempt 2) (#25216) 2024-09-26 12:33:37 +02:00
requirements.txt feat(hogql): placeholder expressions (attempt 2) (#25216) 2024-09-26 12:33:37 +02:00
SECURITY.md chore: Update SECURITY.md email (#15135) 2023-04-18 15:31:36 +00:00
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 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 feat(navigation): Search in environments switcher (#25374) 2024-10-07 18:09:36 +02:00
unit.json.tpl chore: upgrade python to 3.11 (#23206) 2024-06-27 14:16:27 -07:00
webpack.config.js chore: remove antd (#24256) 2024-08-14 09:54:37 +01: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
  • Track website visitors separately with our GA4 alternative
  • 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 Experiments that automatically analyze 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 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
  • Experiments: 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 🦸