Posthog
Does Posthog have a moat?
Yes.
74/100 · Real moat
“The AI agent that opens PRs copies in a month. Years of event data in 600k+ companies' stacks, an open-source repo near 40k stars and $190M don't.”
Code to copy
6+ months
Moat to cross
years
Market
Crowded market
Revenue not verified. Founders can list on TrustMRR to show it here.
01/The verdict
An all-in-one developer platform (product analytics, session replay, feature flags, experiments, error tracking, LLM observability, logs) that now runs AI agents over that data to find problems and open pull requests. Engineering-led startups pay by usage.
The new pitch is self-driving fixes, and that agent layer is the easy part to copy: Sentry Seer, Cursor and Devin already ship versions of it. What protects PostHog is underneath. Its SDKs are already wired into a huge base of startups, it reportedly covered 54% of YC's W23 batch, and it holds their event and replay history, which is the context any agent needs. On top of that come an open-source repo with tens of thousands of stars, a 100k+ subscriber newsletter, usage pricing at thin margins on its own ClickHouse infrastructure, and about $182M to $194M raised at a $1.4B valuation, with ARR estimated near $57M.
02/4 moats
Deep
PostHog/posthog is reported at about 39.8k GitHub stars. PostHog says 600k+ companies use it and 97% stay free. It is the default analytics tool in the YC ecosystem, and its Product for Engineers newsletter has 100k+ subscribers.
To cross it: Build a developer-loved open-source project and a content engine from scratch. That takes years and luck, and money alone does not buy it.
Real
Customers instrument PostHog SDKs throughout their code, gate releases with its feature flags and keep years of event and replay history in it. The self-driving agents depend on exactly that history.
To cross it: Offer free dual-write SDKs, history import and flag migration tools, and win new startups before they instrument anything.
PostHog runs ClickHouse-based ingestion at huge event volumes with generous free tiers: 1M events, 5k recordings and 1M flag requests a month. It prices like a utility on thin margins, which a newcomer cannot match profitably.
To cross it: Run a cost-efficient columnar pipeline at scale and subsidize free usage with venture money for years.
Real
Raised about $182M to $194M in total, including a $70M Series D led by Stripe and a $75M Series E led by Peak XV at $1.4B in 2025. Sacra estimates ARR at about $57.5M, roughly doubling year over year.
To cross it: Raise a comparable war chest, or attack a niche where PostHog's breadth does not matter.
03/The gap
Easy to copy
- The scout or agent layer that reads errors and replays and opens PRs. Coding agents and Sentry already do this.
- The MCP server and AI chat over analytics data
- Individual point products such as surveys, web analytics or basic feature flags
- SOC 2 and HIPAA status, which any funded rival can get within a year
How you'd go after it
- Build an agent-first bug fixer that pulls context from Sentry, Datadog and PostHog together, so it stays tool-neutral and avoids PostHog lock-in.
- Target enterprises that want sales-led deployment, governance and warehouse-native analytics, as Amplitude and Statsig do.
- Go after one vertical, such as mobile games or ecommerce, with deeper domain metrics than a generalist suite offers.
- Win brand-new AI-built apps at creation time by bundling analytics into a coding or hosting platform before PostHog's SDK gets installed.
04/Build against it?
Only with an edge
Only worth it with a distribution edge PostHog lacks, like owning the coding or hosting platform where new apps are born, or with a niche where a generalist suite underserves the buyer.
05/Receipts
Checked 1h ago by Claude Opus 5.5 on high effort, with web search. Confidence: high.
- Amplitude vs Mixpanel vs PostHog: The Honest 2026 Comparison
- PostHog Competitors & Alternatives An In-Depth Comparison
- 7 Best Mixpanel Alternatives: Features, Pricing, Scale
- GitHub - Stars1233/posthog: 🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free. · GitHub
- How to track GitHub stars in PostHog - PostHog
- PostHog on LinkedIn: Thanking every one of our 10,000 GitHub stars (individually)
- HIPAA Compliance · Issue #17504 · PostHog/posthog · GitHub
- PostHog vs LogRocket in-depth tool comparison
- DPA
- james hawkins (@james406) on X
- james hawkins on X: "PostHog is now HIPAA compliant y’all" / X
- 🦔 james hawkins - cofounder at posthog
Does yours?
Paste your website. You get your score in about a minute.