Analytics & behavior · PostHog vs Google Analytics
PostHog vs Google Analytics: pricing, sampling limits, and where Google Analytics vs PostHog and GA4 actually differ
Sample product
Ready to analyze
has signals waiting across usage, tickets and reviews. Surface the insights to see why users churn and what to build next.
Surfacing insights
AnalyzingHeadline insight
← friction step · biggest drop-off
Live, interactive · aggregate sample data
Every insight traced to its source signals · aggregate & consented · no PII exposure
Short answer
PostHog and Google Analytics 4 answer different questions, which is why the comparison is not really about price. GA4 is free, and for measuring marketing traffic it is very hard to beat at that price. It becomes the wrong tool the moment you want to analyse what logged-in users do inside a product, and the reason is written into Google's own limits page: a standard GA4 property samples explorations at 10 million events per query, caps user data retention at 14 months, and limits you to 50 custom dimensions, 30 key events and 100 audiences. PostHog does none of that. It never samples, it keeps paid data for seven years, and it publishes every per-unit rate it charges, starting at $0.00005 per event after a free million a month. The catch on the PostHog side is that identified events cost up to four times more than anonymous ones, which is exactly the traffic a logged-in B2B product sends. So the honest framing is this: GA4 is free until your questions get specific, and PostHog is priced but answers them without sampling.
Unify · surface the why · traced to evidence
Last updated August 2026
Almost nobody arrives at this comparison because they want to replace Google Analytics on a marketing site. They arrive because GA4 stopped answering a question about the product itself. Which accounts abandoned onboarding at step three. Whether the users who hit the new feature in March renewed in July. Why a funnel that looked fine in aggregate falls apart for a single segment.
Those are product analytics questions, and GA4 is a web analytics tool that has been stretched toward them. It can draw a funnel and a retention curve. What it cannot do is guarantee the numbers are unsampled, keep the underlying data past 14 months, or let you define more than 50 custom dimensions to describe your own domain. PostHog was built for the product side of that line and pays for it in a bill you have to model.
Every GA4 limit quoted below comes from Google's published standard versus 360 comparison, and every PostHog rate comes from posthog.com/pricing, both read in August 2026.
Traced to source evidence
No PII · GDPR-friendly
Why it works
What your team gets with product analytics
The why, next to the what
Whichever of the two you run, the funnels and cohorts sit beside the tickets, reviews and survey replies from those same users, so a drop-off arrives with candidate causes attached.
Reasons ranked, not read by hand
Recurring themes and sentiment shifts are clustered and ranked for you, instead of someone reading three hundred tickets hoping to spot the pattern.
Evidence you can open
Every finding links back to the exact events and messages behind it, on aggregate, consented data with no PII exposed.
What it handles
Unified, analyzed and surfaced, automatically
UserInsight unifies your sources, reads behavior and voice together, and surfaces the churn reasons, feature requests, friction steps and themes, each traced to the signals behind it.
- Runs alongside PostHog, GA4 or both rather than replacing any of them
- Explains why a funnel step lost users, not just that it did
- Clusters the reasons customers give across tickets, reviews and survey replies
- Ranks recurring themes by how many accounts and how much revenue they touch
- Never samples the feedback it reads, however much of it there is
Top churn reason
Onboarding stalls before the first project
traced to 214 tickets + a 9% drop-off at onboarding step 3
Illustration of the output format. Figures are made-up placeholders, not any customer's data.
Why UserInsight
One platform that fuses behavior and voice
Not an analytics tool that only shows the what, not a feedback repository that is blind to behavior. UserInsight joins both and surfaces the why, on aggregate consented data with no PII.
Unifies every source
Usage analytics, tickets, reviews, surveys and in-app feedback come together in one model, so behavior and voice finally live in the same place.
Surfaces the why
You do not write a query and wait. UserInsight tells you why churn moved and what to build next, ranked and quantified, the moment it changes.
Traced to evidence
Every insight links back to the specific tickets, reviews and events behind it, so you can click through and trust what you act on. No black box.
At a glance
PostHog vs Google Analytics 4, read off posthog.com/pricing and Google's published property limits in August 2026
| What you are comparing | PostHog | Google Analytics 4 (standard) | What it means for you |
|---|---|---|---|
| What the tool is for | Product analytics for logged-in usage, plus replay, flags, experiments, surveys, error tracking and a warehouse | Web and marketing analytics: acquisition, channels, campaigns, conversions | This is the whole comparison. Most people asking are trying to do product analytics in a marketing tool |
| Price | Free allowance per product, then published per-unit rates | Free | GA4 wins on price outright and always will. The question is what the free version cannot tell you |
| Billing unit | Per unit, per product, metered separately | Not billed. GA4 360 is quoted | Nothing to model on GA4 standard. PostHog needs a spreadsheet before you commit |
| Report sampling (check this first) | None. Queries run on full data | Explorations sample above 10 million events per query. GA4 360 raises this to 1 billion | The row that decides most migrations. Once a property passes 10M events, exploration numbers are estimates |
| Data retention | 1 year on free, 7 years once you add a payment method | Up to 14 months for user and event level data. 360 offers 2, 14, 26, 38 or 50 months | PostHog on a paid plan keeps data longer than GA4 360 at its maximum setting. Almost no comparison page mentions this |
| Year over year analysis | Supported for as long as your retention window allows | Constrained by the 14 month cap on standard properties | A 14 month window covers one annual comparison and then loses the baseline |
| Raw data export | Full export and SQL access to your own data | BigQuery export capped at 1 million events per day on standard. 360 exports billions | The usual advice to just export GA4 to BigQuery has a hard daily ceiling on the free tier |
| Custom dimensions | Event and person properties, defined freely | 50 event-scoped custom dimensions and 50 custom metrics. 360 allows 125 each | B2B products describing plans, roles and account tiers run out of dimension slots surprisingly fast |
| Event parameters | No comparable cap | 25 parameters per event and 25 per property. 360 allows 100 | A richly instrumented product event carries more than 25 attributes more often than you would think |
| Conversions and audiences | Defined as needed | 30 key events and 100 audiences. 360 allows 50 and 400 | Fine for a website. Tight for a product with many activation and expansion milestones |
| Calculated metrics | Defined as needed | 5 on standard, 50 on 360 | Five is the limit most analytics teams hit first and complain about loudest |
| Session replay | 5,000 web recordings free then $0.0050 each, mobile 2,500 free then $0.0100 | Not offered | GA4 tells you a step lost users. It cannot show you a session where it happened |
| Feature flags and experiments | Included as products. 1M flag requests free then $0.000100 | Not offered. Google Optimize was shut down in 2023 and never replaced | Teams running experiments need a second vendor alongside GA4 regardless |
| Surveys and in-product feedback | 1,500 responses free then $0.100 each | Not offered | Neither tool reads the customer voice properly, but only one collects any of it |
| Error tracking and logs | 100K exceptions free then $0.000370. Logs 10 GB free then $0.25 per GB | Not offered | PostHog can absorb a separate error tracking line item. GA4 cannot |
| Cost for a logged-in B2B product | Identified events cost up to 4x more than anonymous ones. The public rate table shows only one set of numbers | Free either way | The asymmetry that matters. B2B traffic is mostly identified, so PostHog costs well above its headline rate exactly where GA4 costs nothing |
| Projects | 1 project on free, 6 once paid | Up to 100 properties per account on standard | GA4 is far more generous on separation. PostHog free accounts hit the single project wall quickly |
| Data ownership and hosting | MIT licensed, but PostHog states self-hosted deployments are officially unsupported and paid features are Cloud-only | Google Cloud only. Data processed by Google | Treat PostHog self-hosting as an evaluation route, not a data residency answer |
| Paid tier | Add a card, keep the same published rates, get 6 projects and 7 year retention | GA4 360, quoted only. No public price list. Reported entry around $50k a year | The $150k figure still quoted widely is from the Universal Analytics era, not GA4 360 |
| Best fit | Product and engineering teams analysing logged-in behaviour who need unsampled data and want flags, replay and error tracking on one bill | Marketing and growth teams measuring acquisition, channels and campaign performance on a public site | Most companies genuinely need both, and the majority run both |
Does Google Analytics sample data?
Yes. On a standard GA4 property, explorations switch to sampling once a query covers more than 10 million events, and Google publishes that threshold in its own standard versus 360 comparison. Analytics 360 raises the same limit to 1 billion events per query.
This matters more than it sounds, because sampling does not announce itself in a way most people notice. The exploration still renders, the funnel still has bars, the retention curve still curves. What changed is that the numbers underneath are an estimate drawn from a subset. For a marketing report about channel performance, an estimate is usually fine. For a product decision about whether a specific onboarding change moved activation for a specific plan tier, an estimate built from a sample of a segment that was already small is not something you want to base a roadmap on.
The practical threshold is lower than 10 million events sounds. A moderately busy SaaS product with meaningful instrumentation crosses 10 million events a month without being large, and any exploration spanning several months of that data crosses it immediately. PostHog does not sample at all, which is a genuine architectural difference rather than a marketing claim: queries run against your full dataset regardless of size. If unsampled numbers are the reason you are reading this page, that single row is the answer.
Is Google Analytics 4 free?
Yes, GA4 is genuinely free for standard properties, with no monthly bill and no published cap on how many events you can collect. Google makes its money from the advertising products GA4 feeds, not from the analytics tool. The cost arrives as limits rather than invoices.
Those limits are published and worth reading before you commit an instrumentation strategy to them. A standard property retains user and event level data for at most 14 months, samples explorations above 10 million events per query, allows 50 event-scoped custom dimensions and 50 custom metrics, 25 parameters per event, 30 key events, 100 audiences and 5 calculated metrics, and exports at most 1 million events per day to BigQuery. Every one of those numbers roughly doubles or better on Analytics 360.
GA4 360 is the paid tier, and it has no public price list at all. Contracts are quoted, sold on an annual commitment through Google or a reseller, and reported entry points sit around $50,000 a year rather than the $150,000 figure still repeated across the web, which dates from the Universal Analytics era. Treat any specific 360 number you read, including that one, as reported rather than official. The honest summary is that GA4 is free until your questions outgrow the limits, and the next step up is a negotiation, not a price you can look up.
Is PostHog better than Google Analytics?
For understanding what users do inside a product, yes, clearly. For understanding how people found your website, no, and it is not close. They are built for different halves of the funnel and the better tool is decided entirely by which half you are asking about.
Google Analytics has a decade and a half of accumulated integration with the rest of the advertising and search ecosystem. Campaign attribution, channel grouping, Search Console and Google Ads integration, and the reporting vocabulary every marketer already speaks. Nothing in PostHog competes with that, and replacing GA4 for marketing measurement is a downgrade nobody should attempt on principle.
PostHog wins the moment the question involves a logged-in user. Unsampled queries, seven year retention on paid plans, unrestricted event and person properties, session replay to watch the drop-off you just measured, and feature flags to change it. GA4 offers none of those. It also has no replay, no experimentation since Google Optimize was retired in 2023, and no surveys, so a team using GA4 for product work usually ends up buying two or three other tools anyway. The comparison people should really be making is not PostHog against GA4, but PostHog against the combined cost of the tools GA4 forces you to buy around it.
Is PostHog free?
There is a free plan, and it is unusually generous in breadth, but it is not free in the way GA4 is free. PostHog gives a separate monthly allowance on each of roughly eleven metered products, and once any one of them runs out you add a payment method and start paying published per-unit rates.
The monthly free allowances are 1 million analytics events, 5,000 web session recordings, 2,500 mobile recordings, 1 million feature flag requests, 1,500 survey responses, 100,000 error tracking exceptions, 1 million data warehouse rows and 10 GB of logs. A small product can run genuinely useful analytics, flagging, error tracking and surveys on that without paying anything, which is far more than any free tier in the category offers.
What usually ends a PostHog free account is not the event volume. It is the two structural limits: a free account gets one project and one year of data retention, against six projects and seven years once you add a card. Teams with a staging environment hit the project wall, and teams doing any year over year analysis hit the retention wall. Both arrive before the million events do for most B2B products. Add the identified event multiplier, where logged-in traffic costs up to four times the anonymous rate, and the realistic answer is that PostHog is free to evaluate and priced to run.
PostHog or Google Analytics: which should you use?
Use both, and be deliberate about which question goes to which tool. That is not a hedge, it is what most teams running PostHog actually do, because dropping GA4 costs them marketing measurement they still need and dropping PostHog costs them product measurement GA4 cannot provide.
The split that works: GA4 owns everything before signup. Acquisition channels, campaign performance, landing page conversion, Search Console and Ads integration. PostHog owns everything after signup. Activation, feature adoption, funnels through the product, retention by cohort, session replay, flags and experiments. The handover point is the account creation event, and instrumenting that event in both tools is what lets you connect a channel to a retained customer later.
If you genuinely must run one, decide by where your unanswered questions live. A company selling a website, a media property or an ecommerce catalogue should stay on GA4 and spend the saved money elsewhere. A B2B SaaS company whose growth problem is activation or churn should run PostHog and accept that marketing attribution gets thinner. The one option to avoid is stretching GA4 across both jobs and quietly making product decisions on sampled data, which is the situation most people are already in when they search for this comparison.
What is the difference between PostHog and GA4?
GA4 counts sessions and traffic on a website. PostHog counts what identified people do inside a product. Every other difference, including the pricing model, follows from that one distinction.
The data models diverge immediately. GA4 organises around sessions, channels and campaigns, with users as a derived concept and a session definition that restarts on a timeout. PostHog organises around persons and events, where a person persists across sessions and devices and carries properties you define. When you want to ask which accounts on the enterprise plan used the new export feature in the last quarter and then renewed, you are asking a person-shaped question, and GA4's session-shaped model fights you the whole way.
The second structural difference is scope. GA4 is one product. PostHog is roughly eleven, billed separately: analytics, session replay, feature flags, experiments, surveys, error tracking, data warehouse, pipelines, logs and AI observability. That makes PostHog a consolidation play, which is how most teams justify the cost, since it can absorb what would otherwise be a separate flagging vendor and a separate error tracking vendor. Both tools share one real limitation worth naming: they both record behaviour and neither can tell you why. That answer lives in tickets, reviews and survey replies, not in the event stream.
Is PostHog GDPR compliant?
PostHog supports GDPR compliant deployments and offers EU cloud hosting, but compliance is a property of how you configure and use a tool, not a badge the vendor hands you. The same is true of GA4, and this is one area where the two have a genuinely different history.
GA4's complication is that data is processed by Google and has historically involved transfers to US infrastructure, which produced a run of adverse rulings from European data protection authorities against the previous Universal Analytics. Google has since made changes, and the legal position has moved, but any European team should verify the current position with its own counsel rather than trusting a comparison page, including this one. PostHog offers an EU cloud region, gives you controls over what is captured, and supports anonymising events, which is also the cheaper billing mode.
The practical advice for either tool is the same and it is unglamorous. Decide what you actually need to capture before you instrument anything, avoid sending personal data into an analytics event unless you have a reason and a lawful basis, use the anonymous event mode where identification is not needed, and document your retention settings. Doing that on PostHog has a pleasant side effect, since anonymous events are billed at a large discount to identified ones.
Can you use PostHog and Google Analytics together?
Yes, and it is the most common arrangement among PostHog customers rather than an unusual one. The two tools overlap far less than the comparison framing suggests, so running both duplicates less work than running two product analytics tools would.
The setup is straightforward. Both are JavaScript snippets and both can be deployed through a tag manager. GA4 stays on the marketing site and the signup flow, PostHog goes into the authenticated product. The important detail is the handover: capture the signup or account creation event in both tools with a shared identifier, so a marketing channel in GA4 can later be connected to a retention cohort in PostHog. Without that shared key you get two accurate systems that can never answer a question spanning both.
Budget for the ongoing cost of the arrangement, which is not money but maintenance. Two instrumentation paths drift apart unless one person owns keeping the event definitions aligned, and the two tools will report different numbers for anything that looks superficially similar, because a GA4 session and a PostHog person are not the same object. Agree in advance which tool is authoritative for which metric and write it down, or you will spend the next year relitigating whose number is right in meetings.
Good questions
Questions about product analytics
Explore more
More ways teams find the why with UserInsight
Session replay, the privacy-first way
See where users get stuck across sessions, without watching individuals.
Learn moreUser behavior analytics
Funnels and cohorts, finally paired with the reason behind them.
Learn moreAI product analytics
Analytics that surface the insight, instead of waiting for a query.
Learn moreStop guessing. See why users churn and what to build next.
Unify your usage data, feedback, tickets, reviews and surveys, and UserInsight surfaces the why, automatically. Aggregate and consented, with no PII.
Unifies usage, feedback, tickets, reviews and surveys · traced to source · no PII