Vibecode PostHog

track this build5 steps, step by step
NOT REALLY · don't bother
price variesbuild time closest consolation build: one sittingcategory 📊 analyticsreplaced by 0 people

First-party collection and a dashboard that answers your top five questions is one sitting of work, and PostHog's free tier covers a million events a month before you pay anything. What the bill buys past that is the rest of the platform: session replay, feature flags, SQL over years of events, and ingestion that stays correct while your event schema drifts underneath it.

the project pack4 files · fastest path to a working personal build
README.md
# PostHog indie build

## Goal

Build the smallest trustworthy replacement for the core PostHog workflow for one developer or a tiny team.

## Scope

Collect first-party pageviews and custom events from your own sites, keep the raw rows yourself, and answer a handful of product questions from a local dashboard.

## Quick start

1. Install the documented dependencies.
2. Copy `.env.example` to `.env`.
3. Run the development command chosen during implementation.
4. Complete the acceptance checks in `BUILD_PLAN.md`.

## Honest limits

This build deliberately does not replace:
- session replay
- feature flags and experiments
- identity stitching across devices
- SQL over years of events
- ingestion that stays up without you watching it

If those capabilities are essential, use Umami instead of pretending the gap is solved.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

Teams pay because analytics has to keep collecting and stay trustworthy while the product changes underneath it. The bill buys bot filtering, identity resolution, late-arriving data, retention, query cost, and someone else getting paged when ingestion stops. The charts are the cheap part.

what you lose

xsession replay

xfeature flags and experiments

xidentity stitching across devices

xSQL over years of events

xingestion that stays up without you watching it

prior art · use these instead of building, if you'd ratherUmamiPopular open-source privacy-focused web analytics platform.
share on X ↗"I just replaced PostHog with one prompt"
the numbers

PostHog pricing

planmonthlyannual (per mo)what you get
free$0/workspace$0/workspace1 project, 1-year retention, unlimited team members; monthly product allowances include 1M analytics events, 5,000 session recordings, 1M feature-flag requests, 100,000 exceptions, 1,500 survey responses, 1M warehouse rows, 10,000 pipeline trigger events plus 1M batch rows, 100,000 AI-observability events, 500 AI credits, 3 PRs, 10,000 workflow messages/channel, 10GB logs, and 2,500 Replay Vision credits
pay-as-you-go$0/workspaceStarts at $0 while under the same monthly free allowances; 6 projects, 7-year retention, unlimited team members and tracked users
boost platform package$250/workspaceAdds platform-level controls and support features to the separately metered PostHog products
scale platform package$750/workspaceHigher platform-level controls and support package; product usage remains separately metered
enterprise platform packagecustomCustom platform controls, support and commercial terms; all product usage remains separately priced

free tier1 project and 1-year retention; monthly: 1M analytics events, 5,000 session recordings, 1M feature-flag requests, 100,000 exceptions, 1,500 survey responses, 1M warehouse rows, 10,000 pipeline trigger events plus 1M batch rows, 100,000 AI-observability events, 500 AI credits, 3 PRs, 10,000 workflow messages/channel, 10GB logs, and 2,500 Replay Vision credits; unlimited team members

billingmonthly usage-based billing only; no annual plan published; free allowances reset monthly and remain after adding a card

hidden costsEvery product meters separately after its free allowance: analytics from $0.00005/anonymous event or $0.000248/identified event, replay from $0.005/recording, flags from $0.0001/request, surveys from $0.10/response, warehouse rows from $0.000015, pipelines from $0.0005/trigger event, exceptions from $0.00037, AI from $0.01/credit, logs from $0.25/GB, workflows from $0.003/email, Inbox at $15/PR, and Replay Vision at $0.01/credit; optional Boost/Scale packages add $250/$750 per month.

verified 2026-08-12 · source ↗

questions
Vibecode PostHog

Not really. PostHog's value is not the code: A pipeline that never quietly stops collecting is the product, and that is the part you inherit when you self-host. See the honest breakdown above.

How much does PostHog cost?

PostHog's pricing is usage-based or varies by plan · No stable monthly subscription; pricing is usage based with a free allowance. Page checked 2026-07-31: product analytics free to 1M events/month, then from $0.00005/event..

What do I lose by replacing PostHog?

Honestly: session replay; feature flags and experiments; identity stitching across devices; SQL over years of events; ingestion that stays up without you watching it. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to PostHog?

Yes: Umami (Popular open-source privacy-focused web analytics platform.). Using prior art is also vibecoding; the prompt is for when you want it exactly your way.