PostHog for founders
Most early products fly blind. You ship, a few people sign up, and you have no idea whether they got value or quietly left. The usual fix is a pile of tools for traffic, replays, feature switches and surveys, each with its own script and bill.
PostHog pitches itself as the one tool that replaces that pile. Here's what it includes in October 2026, what the free tier covers, how it handles privacy, and what to track first.
01What PostHog actually is
PostHog is an open-source product analytics platform made by PostHog Inc. It collects what people do in your product and lets you, or an AI agent, ask questions about it. Five key terms:
- Event. One recorded action, such as a pageview, a signup or a button click.
- Autocapture. The web script records clicks, form submissions and pageviews without you writing tracking code.
- Session replay. A video-like reconstruction of a real visit, so you can watch where someone got stuck.
- Feature flag. A switch in your code that turns a feature on for some users and off for others, with no redeploy.
- A/B test. PostHog calls these experiments: show two versions to different users and measure which one does better.
The README lists much more, including web analytics, heatmaps, surveys, error tracking, logs, a data warehouse and AI observability for apps built on large language models. You don't need most of it on day one.
ee folderOne license detail: the repo is MIT-licensed except the ee directory, whose enterprise license requires a paid PostHog agreement for production use. For fully free code, PostHog keeps a separate posthog-foss repository with the proprietary parts removed.
02What the free tier really covers
PostHog bills each product separately by usage. Every product gets its own free allowance, and it resets every month. This is what the pricing page listed on October 20, 2026:
Chart 1
Free monthly allowance, product by product
| Product | Free every month | What counts |
|---|---|---|
| Product and web analytics | 1M events | Every captured event, from both products |
| Session replay | 5,000 recordings | Recorded sessions |
| Feature flags | 1M requests | Flag requests from your app |
| Experiments | Billed with feature flags | Flag requests |
| Error tracking | 100K exceptions | Captured errors |
| Surveys | 1,500 responses | Survey responses |
| Data warehouse sources | 1M rows, plus free historical syncs | Synced rows |
| AI observability | 100K events | LLM traces and generations |
| Logs | 10 GB | Data ingested |
There are two plans. On the Free plan you can't be charged: past a limit, extra events are permanently dropped, according to the pricing FAQ. You get one project, one year of data retention and one month of replay retention. Pay-as-you-go keeps the same allowance, removes the caps, and adds 6 projects, 7-year data retention and 90-day replays, with a separate billing limit per product. PostHog's headline claim that "97% of companies use PostHog for free" is its own figure.
03Which product answers which question
Sort the long product list by two questions: are you watching users or testing a change, and how much traffic does it need to tell you anything?
Chart 2
Where to start, depending on your traffic
Watch, at scale
funnelsWhere people drop off between signup and value.retentionWho comes back next week.
Test, at scale
experimentsA/B tests with statistics on which version won.
Watch, with few users
replayWatch real visits and spot confusion.errorsSee what broke, and for whom.
Test, with few users
flagsShip to yourself or a few beta users first.surveysAsk the users you have why.
With a handful of users, watching ten replays teaches you more than a dashboard. As signups outgrow what you can watch, funnels and retention take over. A/B tests come last: a few signups a week give an experiment very little data.
04What to track in your first week
PostHog's onboarding docs push two ideas that suit a young product. Activation is the moment a new user first gets real value; the docs cite Dropbox (storing one file in the first week) and Uber (a first ride). Retention is whether people keep coming back. The docs call both precursors to revenue.
Chart 3
A first-week setup, step by step
installRun the wizard. Pick US or EU hosting.identifyCallidentify()when someone signs up or logs in.3–5 eventsYour activation moment and the steps before it.funnelSignup to activation. Find the biggest drop.retentionDo activated users come back within 7 days?
The quickest start is PostHog's setup wizard, which supports Next.js, React, Django, Rails and more:
npx @posthog/wizard
The code you add yourself is small. The docs suggest naming events as object plus verb, like "project created":
// after signup or login
posthog.identify('user_123')
// your activation moment
posthog.capture('project_created', { template: 'blank' })
Build a funnel from signup to your activation event and a retention insight on top. Then stop. Every extra event uses quota and clutters dashboards. Five well-named events beat fifty vague ones. If you build with an AI coding assistant (see our Claude Code beginner's guide), the README also documents an MCP server that lets the assistant query your PostHog data.
05Privacy, cookies and GDPR
Have users in Europe? Read this part. PostHog's GDPR guide comes down to three moves:
- Host in the EU if you can. PostHog Cloud EU runs in Frankfurt, and the guide recommends it for GDPR. You choose the region at signup.
- Get consent. If PostHog uses cookies for logged-out visitors, the guide says to show a cookie banner that lets people give and withdraw consent.
- Collect less. EU organisations default to discarding IP addresses. Replay masks form inputs by default, but not other page text.
PostHog's recommended pattern is to load the script but keep it switched off until the visitor says yes. The docs warn against blocking the script itself behind consent, calling it a frequent cause of sudden drops in event volume.
posthog.init('<ph_project_token>', {
api_host: 'https://us.i.posthog.com', // use the host shown in your project settings
opt_out_capturing_by_default: true,
})
// call these from your cookie banner
posthog.opt_in_capturing() // visitor said yes
posthog.opt_out_capturing() // visitor said no
There's also a cookieless mode. Enable "Cookieless server hash mode" in project settings, set cookieless_mode to "always", and PostHog stores nothing in the browser, counting visitors with a hash calculated on its servers. The trade-off: the docs say to avoid identifying users in that mode, which weakens anything that depends on knowing who someone is.
06PostHog vs. Google Analytics vs. Plausible
The usual alternatives are the free default (Google Analytics 4) and the privacy-first favourite (Plausible). They're built for different jobs:
Chart 4
What each tool documents, side by side
| Feature | PostHog | Google Analytics 4 | Plausible |
|---|---|---|---|
| Free with no time limit | YesMonthly allowance per product | YesStandard version is free | No30-day trial; free only if self-hosted |
| Open source, self-hostable | YesMIT core, unsupported hobby deploy | No | YesAGPL Community Edition |
| Works without cookies | PartlyOptional cookieless mode | PartlyCookies by default; consent mode can send cookieless pings | YesNo cookies by design |
| EU data hosting | YesEU Cloud in Frankfurt | PartlyEU data collected in the EU, then forwarded for processing | YesVisitor data stays in the EU |
| Funnels | Yes | YesFunnel exploration | YesBusiness plan |
| Session replay | Yes | No | No |
| Feature flags and A/B tests | Yes | NoOptimize shut down in 2023; third-party integrations instead | No |
Google Analytics is free and strong for marketing traffic, but has had no built-in testing since Google Optimize shut down on September 30, 2023. Plausible is the simplest privacy option, but has no free cloud plan and no replay or flags. PostHog alone covers in-product behaviour and shipping tools, at the price of more setup and more privacy homework.
07Cloud or self-host?
You can run PostHog yourself. The README calls this the "hobby deploy" and labels it advanced: one command on a Linux machine with Docker. The fine print:
- Scale. The README says open-source deployments "should scale to approximately 100k events per month". The disclaimer page says a single machine is unlikely to go past "a couple 100ks events" without significant effort.
- Hardware. The self-hosting docs ask for roughly a 4 vCPU, 16 GB RAM server with more than 30 GB of storage.
- Support. None. PostHog says it can't answer tickets or help recover lost data, and it doesn't publish CVEs (public security advisories).
- Features. Paid-plan features are Cloud-only, including group analytics, data pipelines and multi-question surveys.
For most founders the maths points to Cloud: the free tier is ten times the README's hobby-scale guidance, with no server to babysit. If you already run your own box with a tool from our Coolify vs. CapRover comparison, treat self-hosting PostHog as an experiment, not a production plan.
08The catches
- Costs past the free tier. After the first 1M events, the pricing page listed identified events (tied to a known user) at $0.000198 each and anonymous ones at $0.00005. That's about $198 per extra million identified events. Set a billing limit on day one.
- Autocapture noise. It records clicks on links, buttons, forms and inputs, plus pageviews and page exits, so 1M events goes faster than you'd guess. PostHog's own cost guide suggests allowlists, ignore lists or switching it off.
- Consent is your job. Cookies plus EU visitors means a consent banner unless you go cookieless, and wiring it up wrong can silently wipe out your data.
- Ad blockers. PostHog recommends a reverse proxy that routes events through your own domain, and offers one free on Cloud.
- Self-host limits. Unsupported, single-machine and missing paid features, as covered above.
09Verdict
PostHog is a very complete free starting point for a founder who wants to understand a product, not just count visitors. The allowances are generous, and one tool means one script and one privacy setup instead of four.
The danger is doing too much. Pick EU hosting if you have European users, set a billing limit, sort out consent, then track a handful of events around your activation moment. Watch replays while you're small. Add flags and experiments once you have the traffic. No guru energy needed, just a clear definition of "this user got value".
SourcesSources and further reading
- PostHog on GitHub: README, license section and star count (master branch, October 20, 2026), plus the
eelicense. - PostHog pricing: allowances, plans, retention and rates.
- Self-host PostHog and the open-source disclaimer.
- PostHog and GDPR compliance, controlling data collection and session replay privacy controls.
- Autocapture, capturing events and cutting product analytics costs.
- Measuring activation, tracking retention and installing PostHog.
- Google: Google Analytics, Optimize sunset, GA4 cookie usage, consent mode, EU-focused data and privacy and funnel exploration.
- Plausible: plans and trial, data policy, Community Edition and funnel analysis.
Facts were checked on October 20, 2026. Pricing changes often; if something here is out of date, tell us on X.