Navigate:
All Reposposthog
~$POSTHO0.1%

PostHog: Open-source product analytics and feature management

Event tracking, analytics, and experimentation platform.

LIVE RANKINGS • 06:52 AM • STEADY
TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100
OVERALL
#74
18
DEVELOPER TOOLS
#13
4
30 DAY RANKING TREND
ovr#74
·Devel#13
STARS
30.8K
FORKS
2.2K
DOWNLOADS
7D STARS
+43
7D FORKS
+16
See Repo:
Share:

Learn more about posthog

PostHog is an open-source analytics and product management platform written in Python and JavaScript/TypeScript that can be deployed as a cloud service or self-hosted instance. The system captures user events through autocapture or manual instrumentation, stores them in a queryable data warehouse, and provides multiple interfaces for analysis including visualization tools and SQL access. It includes modules for session replay recording, feature flag management with cohort targeting, statistical experiment frameworks, and data pipeline processing with integrations to external services. Typical deployments range from small self-hosted hobby instances to large-scale cloud deployments handling millions of events monthly.


1

Unified feature set

Combines analytics, session replay, feature flags, experiments, and data pipelines in a single platform rather than requiring separate tools. This integration allows cross-referencing data across different product intelligence domains.

2

Self-hosting option

Offers a deployable open-source version that can run on infrastructure controlled by the user, with a documented hobby deployment process for single-machine setups and support for larger distributed deployments.

3

SQL-based querying

Provides direct SQL access to event data alongside visual analytics interfaces, allowing users to write custom queries against the underlying data warehouse for ad-hoc analysis.


import posthog

posthog.project_api_key = 'your_api_key'
posthog.host = 'https://app.posthog.com'

posthog.capture(
    distinct_id='user_123',
    event='button_clicked',
    properties={'button_name': 'signup', 'page': 'homepage'}
)

v0.5.9

Maintenance release improving API error handling and reducing sourcemap processing log verbosity.

  • Expect clearer error messages when CLI API calls fail.
  • Sourcemap uploads now produce less console output during processing.
vposthog-cli-v0.5.10

Adds terminal checks to login and query commands; no breaking changes or new requirements noted.

  • Verify terminal compatibility when running `posthog login` or `posthog query` commands.
  • Install via shell script, PowerShell, or npm at @posthog/cli@0.5.10 with no migration steps required.
v0.5.8

Adds experimental proguard mapping support; no breaking changes or new requirements specified.

  • Test experimental proguard mapping uploads for Android crash symbolication workflows.
  • Release notes do not specify stability guarantees or configuration steps for proguard support.


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers