AnalyticsVS
Menu

PostHog

Open-source product analytics, feature flags, and session replay

  • Free
  • Product analytics
  • Session replay
  • Self-hosted
  • Open source

Updated

Quick answer

Quick answer

PostHog is best when you need product analytics, feature flags, session replay, and experimentation in one developer-friendly platform. PostHog Cloud includes 1 million analytics events and 5,000 web recordings free per month. Use Plausible or Fathom instead if you only need lightweight marketing pageview stats.

Read the full analysis on AnalyticsVS ↓

Features

  • —Cookieless
  • —GDPR-friendly
  • ✓Realtime data
  • ✓Custom events
  • ✓Funnels
  • —Heatmaps
  • ✓Session recordings
  • ✓A/B testing
  • ✓Product analytics
  • —Revenue tracking
  • ✓Self-hostable
  • ✓Open source

What we measured

PostHog transferred 144.3 KiB in our empty-page fixture, with +1.28 s page-load overhead on Slow 4G. That is the cost of the default snippet, not a guess. Based on our own benchmark as of October 12th, 2026.

Recorded analytics script benchmarks sorted by transfer size
ToolTransferDecodedLoad overheadLoading
PostHog144.3 KiB451.2 KiB+1.28 sAsync

Sorted by transfer size. Color bands match our methodology thresholds (green / amber / red). Averages of 7 cold runs on the minimal-v1 Slow 4G fixture.

Who is it for?

Good fit for…

  • Product and engineering teams shipping features and measuring in-app behavior.
  • Startups wanting session replay, funnels, and A/B tests without stitching five vendors.
  • Teams comfortable with event instrumentation via SDK or autocapture.
  • Organizations evaluating self-hosted analytics for data control, with platform engineering capacity.

Not a great fit for…

  • Blog-only sites that only need referrer and pageview reports.
  • Teams with zero engineering bandwidth for event taxonomy and SDK maintenance.
  • Marketing teams that only care about Google Ads attribution. GA4 integrates deeper there.
  • Simple revenue-per-channel attribution for Stripe SaaS. DataFast is more direct.

Product analytics

PostHog is best when the weekly questions are activation, feature adoption, and churn signals inside a product. Core reports include funnels, retention, paths, trends, and user-level profiles when people are identified. Autocapture can track clicks and pageviews on web with minimal code. Serious teams still define named events for trustworthy metrics.

Unlike GA4, PostHog is built for SaaS product questions, not just marketing landing pages. SQL insights extend power users.

Event volume drives cost on Cloud. Disciplined instrumentation keeps bills predictable. Our PostHog events primer covers autocapture versus named events.

Flags, replay, experiments

PostHog is best when you want feature flags, session replay, and experiments in one stack instead of stitching Hotjar, LaunchDarkly, and Optimizely. For early-stage teams, consolidation reduces integration tax.

Session replay helps debug UX friction. Flags enable gradual rollouts. Experiments tie metrics to variants. Each capability adds script weight and a privacy-review surface. Disclose replay to users where required.

Not every team needs all modules on day one. PostHog lets you enable capabilities incrementally. Cloud includes 5,000 web recordings free per month. Based on PostHog's website as of November 19th, 2026.

Cloud vs self-hosted

PostHog Cloud is the fastest path. Sign up, install a snippet or SDK, and start capturing. Self-hosted open source suits teams with infra staff and strict data residency. Based on PostHog's documentation as of November 19th, 2026.

Self-hosting PostHog is a real platform operation: upgrades, backups, and the supporting data stack. Budget engineering time, not just license savings.

Use Cloud if you want product analytics without running the platform. Use self-host if residency forces you to own the stack and you can staff it.

Pricing

PostHog Cloud includes 1 million analytics events and 5,000 web recordings free per month, plus 1 million feature-flag requests, then usage-based pricing. Based on PostHog's website as of November 19th, 2026. Paid usage scales with events, replay recordings, and feature-flag requests. One project is free without billing. Additional projects require a payment method on file.

Self-hosted open source removes Cloud event billing but adds hosting cost. For marketing-only sites, PostHog is usually overkill versus Plausible or Fathom.

Use our pricing calculator with events, not just pageviews, for realistic estimates.

TierLimitPrice / month
Free tier1,000,000Free
Usage-based above free2,000,000Free

PostHog Cloud free monthly allowances checked 19 Nov 2026: 1M analytics events, 5K session recordings, 1M feature-flag requests, then usage-based pricing (https://posthog.com/pricing). Self-hosting available; paid-plan features are Cloud-only per PostHog self-host docs.

Use the pricing calculator to compare costs at your traffic level.

Setup & implementation

Typical setup for a web SaaS:

  1. Create a PostHog project and install the JavaScript snippet or framework SDK.
  2. Enable or disable autocapture based on noise tolerance.
  3. Define key events (signup, upgrade, core feature use) with stable names.
  4. Optionally enable session replay and feature flags for targeted users.
  5. Build funnels and dashboards, then set up experiments when traffic allows.

Common pitfalls include anonymous versus identified user merge issues, autocapture noise, enabling replay without performance testing, and unbounded custom properties.

Performance benchmarks

We recorded a PostHog script benchmark. Transfer size and Slow 4G load overhead are on this profile’s What we measured cards. We do not invent KiB or millisecond figures in this copy.

PostHog Script Performance

2026-10-12 · Desktop (Chromium) · Slow 4G (Simulated) · Avg of 7 runs

Recorded by AnalyticsVS

Load time

Without analytics276 ms
With analytics1.56 s

+1.28 s

Loading method
Async · non-blocking

This script downloads in the background, so the browser can draw the page’s first visible content without pausing to load the tracking code.

Script filesize
144.3 KiB transfer451.2 KiB decoded

Transfer is the compressed download size, and decoded is what the browser parses afterward.

What this means for your site

On our empty test page, the load event finished +1.28 s later with the tag installed. On a real site, page load is likely to take at least that long — but usually not the full +1.28 s stacked on top of your other assets, because much of the work overlaps parallel downloads.

Comparisons featuring PostHog

Often compared with

Limitations

  • It is overkill for simple marketing analytics. Complexity and cost are higher than Plausible or Fathom.
  • It requires engineering ownership for clean event schemas and identity rules.
  • Session replay raises privacy and performance considerations.
  • Google Ads native integration is not GA4-class.
  • The script bundle is heavier than lightweight analytics. See the recorded PostHog script benchmark on this profile.

Frequently asked questions

PostHog vs GA4 for a SaaS app?
PostHog is stronger for product funnels, flags, replay, and experiments with a developer-first workflow. GA4 is stronger for free scale and Google marketing integrations. Many teams run both during a transition.
Is the free tier enough to start?
Often yes for early startups under the Cloud allowances of 1 million analytics events and 5,000 web recordings per month. Monitor usage, because autocapture and replay can consume quota quickly.
Should I self-host PostHog?
Only if you have platform engineering capacity. Most startups should start on Cloud and revisit self-hosting for compliance or cost at scale.
PostHog vs Hotjar?
Hotjar leads on heatmaps and qualitative UX for marketers, with surveys next to recordings. PostHog leads on product analytics, flags, and engineering-centric experimentation in one stack.

Sources & review status

Reviewed· Last reviewed November 30th, 2026· How we review tools

Explore these tools

DataFast

Fathom Analytics

We may earn a commission. Details