PostHog vs Google Analytics: product analytics or marketing analytics?
PostHog
An open source product suite: product and web analytics, session replay, feature flags, experiments, surveys, error tracking and a data warehouse.
Google Analytics
Google's web and app analytics: GA4 is free, and Analytics 360 is the paid version with higher limits and a service level agreement.
- Hosting
- Hosted or self-hosted
- Open source
- Yes
- MIT
- Free plan
- 1M events a month
- From
- $0 base
- At 100k events a month
- $0
- Hosting
- Hosted
- Open source
- No
- Free plan
- Yes
- Standard GA4 is free
- From
- Not published
- At 100k events a month
- $0
- Standard GA4
Pick PostHog if you build a product and want analytics, session replay, feature flags, experiments and error tracking in one place, with 1M free events a month. Pick Google Analytics if you run marketing, buy Google ads and want free traffic and conversion reports tied to Google's ad tools. Both cost nothing for most sites' analytics, so the choice is about what you need to see, not price.
Facts checked on both sites Updated
How do PostHog and Google Analytics differ?
PostHog and Google Analytics both count pageviews and both are free at small volumes, which is why they get compared. They are built for different people. PostHog is a product platform for engineers and product teams: product and web analytics, session replay, feature flags, experiments, surveys, error tracking and a data warehouse. Google Analytics 4 is a marketing tool: traffic, acquisition, conversions and attribution, joined to Google Ads and BigQuery.
We read PostHog’s pricing page and docs, and Google’s help centre and features page, on 23 November 2026. For head-to-heads with us, see CrispStats vs PostHog and CrispStats vs Google Analytics; if you want something simpler than both, see PostHog vs Plausible. The other product analytics tools people weigh against GA4 are covered in Mixpanel vs Google Analytics and Heap vs Google Analytics, and the two product suites meet in PostHog vs Mixpanel.
Side by side
PostHog and Google Analytics, with CrispStats as a third column because it is our product. Only what we could verify on each product's own pages is listed; n/a means not verified.
| Capability | PostHog | Google Analytics | CrispStats Ours |
|---|---|---|---|
| Overview | |||
| Hosting | Hosted or self-hosted | Hosted | Hosted |
| Open source | Yes MIT | No | No |
| Pricing | |||
| Free plan | 1M events a month Plus a free tier on every other product; 1 project and 1 year of data on Free | Yes Standard GA4 is free | No 14-day free trial, no card |
| Priced by | Events | Events | Events |
| Lowest paid plan | $0 base Pay as you go above the free tiers | Not published Analytics 360 has no list price on Google's site | $5 Starter, 250k events |
| Privacy | |||
| Works without cookies | Optional Cookie and localStorage by default | No Uses first-party cookies | Yes No cookies, no stored IP addresses |
| Cookie consent needed in the EU | Depends on setup PostHog says the cookieless option avoids a banner for web analytics | Yes Consent mode for visitors who decline | No cookies set Nothing is stored on the device by default |
| Analytics | |||
| Revenue attribution | Yes1 | Partly Purchase events you send are reported with their value; no payment-provider webhooks | Yes2 |
| Funnels | Yes | Yes Funnel exploration | Yes |
| Goals and custom events | Yes Custom events and autocapture | Yes Key events: 30 on standard, 50 on 360 | Yes |
| Custom event properties | Yes | Yes 25 parameters per event on standard, 100 on 360 | Yes |
| Visitor profiles and journeys | Yes User paths and person profiles | n/a | Yes |
| Realtime globe or map | n/a | Yes Realtime report with a map, last 30 minutes | Yes Live 3D globe |
| UTM campaign reports | Yes | Yes Source, medium and campaign, also in realtime | Yes |
| AI chat over your data | Yes PostHog AI | n/a | Yes |
| MCP server | Yes Hosted MCP server, free to connect | Yes Open-source MCP server from Google, run by you | Yes |
| API | Yes | Yes Data API, 200,000 tokens a day on standard; Measurement Protocol for server events | Yes REST API on every plan |
| Beyond analytics | |||
| Web vitals from real visits | Yes Core Web Vitals in web analytics | n/a | Yes |
| JavaScript error tracking | Yes 100,000 exceptions a month free | n/a | Yes |
| Session replay | Yes 5,000 recordings a month free | n/a | No |
| Heatmaps | Yes | n/a | No |
| Feature flags | Yes 1M requests a month free | n/a | No |
| A/B testing | Yes Billed with feature flags | n/a | No |
| Surveys | Yes 1,500 responses a month free | n/a | No |
| Data warehouse | Yes Query Stripe, HubSpot, Postgres and more with SQL | Export BigQuery export, 1M events a day on standard | No |
| Plans and hosting | |||
| Sites | 1 project on Free, 6 on paid Unlimited with the Boost package | n/a | 10 on Starter Unlimited from Growth |
| Self-hosting | Yes Docker Compose deploy, officially unsupported | No Hosted by Google | No Hosted only |
- Revenue analytics from Stripe or from revenue events; Stripe is the only connected payment platform so far
- Stripe, Polar, Paddle, Dodo Payments, Creem, Whop, Razorpay, Freemius, Lemon Squeezy, Shopify, RevenueCat, Superwall, App Store, Shopify App Store
PostHog and Google Analytics facts read on their own websites on 23 November 2026. CrispStats is our own product.
What do PostHog and Google Analytics cost?
List prices per month at three volumes, on each product's cheapest plan that covers the volume. PostHog, Google Analytics and CrispStats price by events, so check what your traffic counts as.
Monthly list prices of PostHog, Google Analytics and CrispStats at 10k, 100k and 1M a month
10k a month
Google Analytics
$0 Standard GA4
10k events
Ours, for reference
CrispStats
$5 Starter
100k a month
Google Analytics
$0 Standard GA4
100k events
Ours, for reference
CrispStats
$5 Starter
1M a month
Google Analytics
$0 Standard GA4; 360 adds higher limits
1M events
Ours, for reference
CrispStats
$12 Growth
- Inside the first 1M free product analytics events. Computed from the published per-event rates.
- Exactly the 1M free events; the next million is $0.00005 per event. Computed from the published per-event rates.
List prices in US dollars, checked 23 November 2026. CrispStats prices from our pricing page.
The differences that matter
What each product is for
PostHog
A suite for product and engineering teams. Web analytics is a dashboard of visitors, pageviews, sessions, bounce rate, referrers, UTMs and Core Web Vitals, running on the same events as product analytics, so a traffic number can lead to the session replays behind it.
Google Analytics
Reports for acquisition, engagement and monetization, explorations for funnels, paths, segments and cohorts, and an advertising workspace with data-driven attribution and conversion paths.
Ask who will read the numbers. If it is a product team asking which users dropped out of onboarding and why, PostHog answers that. If it is a marketing team asking which campaigns brought buyers, Google Analytics is built around that question.
What it costs
PostHog
Usage based per product, with a free tier each month: 1M product analytics events, 5,000 session recordings, 1M feature flag requests, 100,000 exceptions and 1,500 survey responses. Web analytics is included with product analytics. Above 1M events, the next million costs $0.00005 per event. No per-seat charges.
Google Analytics
Standard GA4 is free at any volume. Analytics 360 has higher limits and an SLA, and Google lists no price for it.
At 10k, 100k and 1M events a month both cost $0 for analytics. Above that, GA4 stays free and PostHog starts charging. Worked example: at 2M analytics events a month, PostHog’s second million at $0.00005 an event is about $50 a month, computed from its published rate; replay, flags and the other products have their own meters. GA4 at 2M events is still $0. The analytics cost calculator shows where PostHog’s free million runs out for your traffic.
Cookies and consent
PostHog
By default the JavaScript library stores a first-party cookie and localStorage. PostHog offers a cookieless option and says that with it you do not need a cookie banner just for web analytics.
Google Analytics
Sets
_gaand_ga_<container-id>cookies for two years by default. Consent mode sends cookieless pings when a visitor declines.Out of the box, both set cookies. PostHog has a documented way to run without them for web analytics; Google Analytics relies on consent mode and a banner. See cookie consent and Google consent mode explained; this is general information, not legal advice.
Replay, flags, experiments and errors
PostHog
Session replay, heatmaps, feature flags, experiments, surveys and error tracking are all in the platform, each with a monthly free tier.
Google Analytics
Google’s features page lists no session recording, heatmaps, feature flags, A/B testing or surveys.
If you want to watch a session replay of a visitor who hit an error, or ship a change behind a flag and measure it, PostHog does it in one tool. With GA4 you would add other products for each of those.
Advertising
PostHog
UTM tracking in web analytics; PostHog’s revenue analytics connects to Stripe, or works from revenue events you send.
Google Analytics
Integrations with Google Ads, Search Ads 360, Display & Video 360, Search Console and Ad Manager, with conversion and audience sharing, data-driven attribution and predictive audiences.
This is where GA4 is hard to replace. If your growth depends on Google Ads bidding on conversions, the integration is the reason to keep it, even if you use PostHog for product work.
Data, retention and SQL
PostHog
A built-in data warehouse that lets you query Stripe, HubSpot, Postgres and more with SQL next to your events. The free plan has 1 project and 1 year of data retention.
Google Analytics
Standard properties keep event data for at most 14 months, and explorations are sampled above 10M events per query. Raw events export to BigQuery, capped at 1M events a day on standard.
Both let analysts get at raw data. PostHog keeps it inside the product; GA4 sends it to BigQuery, where you query it separately. GA4 data retention covers the 14-month setting.
Self-hosting and code
PostHog
Open source under MIT outside the ee/ directory, with a Docker Compose deployment that PostHog says is officially unsupported.
Google Analytics
Closed source and hosted by Google, with no self-hosted option.
If you need to run analytics on your own infrastructure, PostHog allows it with no support promise; Google Analytics does not allow it at all.
Which one should you pick?
Choose PostHog if
You build a software product and want analytics, replays, flags, experiments and error tracking in one platform.
You need to follow individual users through person profiles and user paths.
You want a SQL data warehouse next to your events.
You want the option to run analytics without cookies for web analytics, as PostHog documents it.
You want open source code or a self-hosted option.
Choose Google Analytics if
Ad spend goes through Google Ads and you want conversions and remarketing audiences shared with it.
Your questions are about campaigns, channels and conversions rather than product usage.
You want analytics that stays free at any event volume.
You need web and app data in one property with a BigQuery export.
You work with agencies or analysts who already know it.
Where CrispStats fits
Our own product, described with its limits.
We make CrispStats, and it is smaller than both tools on this page: one cookieless dashboard for traffic, with funnels, revenue from Stripe and seven other payment providers, web vitals, error tracking and uptime checks on every plan. A product team that wants replay, flags, experiments, surveys or a warehouse should pick PostHog; an advertiser who needs Google Ads conversions should keep GA4. CrispStats suits a site that wanted GA4’s traffic reports without cookies and without PostHog’s breadth. It is closed source, cannot be self-hosted, imports no GA history, and launched in November 2026.
Comparison questions. Straight answers.
What people ask when they put the two side by side.
For traffic reporting, yes: PostHog's web analytics shows visitors, pageviews, sources, UTMs and Core Web Vitals. It does not replace GA4's Google Ads integration, so teams that bid on conversions in Google Ads usually keep GA4 for that.
Up to a point. PostHog's free tier includes 1M analytics events, 5,000 session recordings and 1M feature flag requests a month, then it charges per unit. Standard Google Analytics is free at any volume. Checked on 23 November 2026.
By default, yes: its JavaScript library stores a first-party cookie and localStorage. PostHog offers a cookieless option and says that with it you do not need a banner just for web analytics. Google Analytics also sets cookies by default. This is general information, not legal advice.
Yes, and some teams do: Google Analytics for marketing and Google Ads, PostHog inside the product for funnels, replays and flags. Both scripts run independently. Weigh the cost of two tools and two consent setups against the benefit.
No. Google's features page lists no session recording or heatmaps. PostHog includes session replay with 5,000 free recordings a month.
Not answered here? Write to hello@crispstats.com
Read more
CrispStats head to head
- CrispStats vs PostHog
PostHog is a full product suite with replay, flags and experiments.
- CrispStats vs Google Analytics
Google Analytics is free and everywhere, but it uses cookies and is widely seen as complex.
Alternatives
- The best Google Analytics alternatives in 2026
Ten Google Analytics alternatives compared on privacy, hosting and price at 10k, 100k and 1M a month, with every fact checked on the vendor's own site.
- The best PostHog alternatives in 2026
Ten PostHog alternatives compared on cookies, hosting, open source licence and price at 10k, 100k and 1M events, from Mixpanel to Umami.
Other comparisons
More on PostHog
More on Google Analytics
Sources
What this page says about PostHog and Google Analytics was read on their own websites and documentation on 23 November 2026. Products and prices change. If something here is out of date, email hello@crispstats.com and we will correct it. PostHog and Google Analytics are trademarks of their owners, and this page is not affiliated with or endorsed by either. Our own prices are on the pricing page.
PostHog pages we read, checked
Google Analytics pages we read, checked
- PostHogposthog.com
- Google Analyticsmarketingplatform.google.com
Try CrispStats next to PostHog or Google Analytics
Try CrispStats free for 14 days alongside whatever you run today, and compare them for a week. Every feature is on every plan.