PostHog
Self-hosted development platform · Free + paid
Product analytics, feature flag, and experimentation tools: they help measure application behavior and control feature rollouts.
Also known as: posthog/posthog; posthog; open-source-analytics; web-product-analytics

What you can use for free
MIT core on your own infrastructure; the hosted free allowance is limited by product-specific quotas.
Paid features and costs
Enterprise modules, hosted usage above the quota, and self-hosted infrastructure are paid for separately.
Access and limitations
MIT core on your own infrastructure; the hosted free allowance is limited by product-specific quotas. Enterprise modules, hosted usage above the quota, and self-hosted infrastructure are paid for separately.
Use cases
- Measure a user-facing feature and its rollout
- Connect event capture and flag evaluation to a test user journey
Example workflow
A possible workflow; this is not a report of hands-on testing.
Measure a user-facing feature and its rollout.
Before you start
- One working workflow and test data.
- The project's server environment and integrations.
Steps
- Define product events and the feature flag/experiment goal.
- Connect event capture and flag evaluation to a test user journey.
- Configure permissions, backups, and monitoring before production use.
Check your result
- The workflow works with minimal permissions and error handling.
- Compare the chosen hosting method's terms with the task; account for infrastructure and external service costs.
Choosing PostHog
Measure a user-facing feature and its rollout
Choose this when
- Measure a user-facing feature and its rollout
- Connect event capture and flag evaluation to a test user journey
Requirements
- The documented hobby deployment requires Linux with Docker; the README recommends 4 GB of memory.
Things to consider
- Costs and limits of free use: Enterprise modules, hosted usage above the quota, and self-hosted infrastructure are paid for separately.
- Terms of use: MIT core outside ee/; ee/ contains an enterprise license, and third-party components have their own terms.
- MIT applies outside ee/ and third-party components. ee/LICENSE permits production only with compliance with the agreement and a valid Enterprise license covering the required number of seats; the subscription exemption applies to development/testing.
Frequently asked questions
What can you use for free in PostHog?
MIT core on your own infrastructure; the hosted free allowance is limited by product-specific quotas.
What additional costs might arise with PostHog?
Enterprise modules, hosted usage above the quota, and self-hosted infrastructure are paid for separately.
What terms of use matter for PostHog?
MIT core outside ee/; ee/ contains an enterprise license, and third-party components have their own terms.
How do you get started with PostHog?
Define product events and the feature flag/experiment goal. Connect event capture and flag evaluation to a test user journey. Configure permissions, backups, and monitoring before production use.
What are the limits of a self-hosted PostHog hobby deployment?
The README suggests Linux with Docker for a hobby instance and separately recommends Cloud. The team provides no customer support or guarantees for open-source deployments; the installation connects to an application through a snippet, SDK, or API.
License
MIT core outside ee/; ee/ contains an enterprise license, and third-party components have their own terms.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsProprietary terms — the vendor determines your rights
Use of the software or service is governed by its Terms/EULA and the chosen plan. Free access does not automatically grant rights to modify and distribute source code, resell assets, or use outputs commercially. The specific product's terms define permitted use, export, and commercial rights.
Technologies and topics
- PostHog
- service
- Development
Sources
- Official source · github.com
- Official source · raw.githubusercontent.com
- License · raw.githubusercontent.com
- Catalog / discovery source · open-source-tools.com
- Catalog / discovery source · reddit.com
- Official source · raw.githubusercontent.com
- Official source · raw.githubusercontent.com
- Official source · raw.githubusercontent.com