Trimtab

Blog / Measuring in PostHog and Stripe

PostHog vs Google Analytics: product events against page views

Google Analytics is free and built for traffic and ads. PostHog bills by event and is built for what signed-in users do. Most SaaS teams end up needing both.

Google Analytics 4 answers where visitors come from and which page turned them into a lead. PostHog answers what a signed-in user did inside your product, event by event, and links it to the same person over months. GA4 is free and wired into Google Ads and Search Console. PostHog bills by event above 1 million a month, but keeps person-level data you can query in SQL next to your Stripe tables. For a SaaS, the usual answer is GA4 on the marketing site and PostHog in the app, or PostHog alone if you do not buy Google Ads.

Limits and prices below come from Google's help center and PostHog's pricing page and docs, read on November 11, 2026. Both change; recheck before you rebuild your tracking.

The short answer

PostHogGoogle Analytics 4 (standard)
Price1M events free a month, then published per-event ratesFree
Built aroundEvents tied to a person profileSessions, traffic sources, key events
Event data retention1 year free, 2 years paid2 or 14 months for explorations and funnels
Raw data accessSQL in the appBigQuery export, 1M events a day on the daily export
Google Ads and Search ConsoleAd spend import, in betaNative links, Ads bidding on Analytics key events
Session replay, flags, experimentsIncluded productsNot available
Revenue dataNative Stripe sourceThrough your own events or BigQuery
EU hostingPostHog Cloud EU, FrankfurtNo region choice, according to PostHog's comparison

What each one is built to answer

GA4 is a traffic and marketing tool. Its strength is the link with Google's ad stack: once you link Google Ads, your Analytics key events can be imported into Ads as conversions for bidding, and your Analytics audiences can be used for remarketing. The Search Console link adds two reports, organic queries and organic landing pages, with up to 16 months of history.

PostHog is a product tool that also counts traffic. Its web analytics dashboard shows visitors, pageviews, sessions, bounce rate, top pages and traffic sources, and runs on the same events as the rest of PostHog. The difference shows up after signup: each event can belong to a person profile, so a funnel from first visit to third active week is one query, and so is the list of users who dropped at step two.

If your question is "which campaign brought signups," GA4 is enough. If it is "which signups became active, and what did the retained ones do in week one," you need person-level product data.

Where GA4's limits bite a SaaS

GA4 is free, and the free version has limits that matter more for product questions than for traffic reports:

  1. Retention. In a standard property, the retention of event and user data can be set to 2 or 14 months, and the setting governs explorations and funnel reports. A cohort exploration across two years of customers is out of reach. If Google classifies the property as Large, event-level retention drops to 2 months and older event data is deleted.
  2. Sampling. An exploration that needs more than 10 million events in a standard property is computed on a sample and scaled up.
  3. Thresholds. Google withholds rows when a report includes demographics or when a narrow date range has few users. For a B2B SaaS with small daily volumes, that hides the segments you care about.
  4. Configuration caps. A standard property allows 25 parameters per event, 50 event-scoped custom dimensions, 25 user properties and 30 key events.
  5. Export. The daily BigQuery export stops at 1 million events a day on standard properties. The streaming export has no volume cap but adds BigQuery charges of $0.05 per gigabyte, plus storage and query costs.

None of this hurts a marketing team reading weekly traffic. It hurts as soon as you try to run retention by signup cohort inside GA4.

What PostHog costs, and how to keep it low

PostHog's pricing is public. Product analytics events are free up to 1 million a month, then $0.00005 each up to 2 million and $0.0000343 up to 15 million. Web analytics is included in product analytics at no extra cost.

The second meter is identified events, for events tied to a person profile: 1 million free, then $0.000198 each up to 2 million and $0.0000697 up to 15 million. The JavaScript SDK defaults to person_profiles: 'identified_only', so visitors on your marketing site stay anonymous until you call identify. PostHog's docs say anonymous events can be up to 4 times cheaper than identified ones.

An example: 3 million anonymous pageviews on the marketing site and 2 million identified events in the app. Analytics costs $152.90 (1 million free, 1 million at $0.00005, 3 million at $0.0000343). Identified events add $198 (1 million free, 1 million at $0.000198). Total: $350.90 a month, against $0 for GA4. Our PostHog pricing guide covers the other products.

The trade-off is what anonymous events cannot do: no cohorts, no lifecycle insight, no person properties for filters or feature flags. That is fine for a landing page and wrong for your app.

By default, PostHog stores an identifier in a cookie. It also offers a cookieless mode that builds a daily ID on its servers from a hash of the IP address, user agent and hostname, with a salt that changes every day and is then deleted.

PostHog lists the costs: a visitor who did not consent counts as a new person every day, so weekly and monthly unique users run high. Session replay and surveys stay off without consent. GeoIP enrichment and bot detection do not run. Calling identify brings back a persistent ID, which removes the privacy benefit. The on_reject setting keeps full tracking for visitors who accept and counts the others with the hash.

For data location, PostHog Cloud EU is hosted in Frankfurt. PostHog's own comparison says GA4 does not let you choose where data is stored. It is a competitor's page, so ask Google directly if residency is a contract requirement.

Connecting traffic to revenue

The question a founder asks is which channel brings customers who pay and stay. GA4 sees the channel and the signup. It does not see the subscription that renews four months later unless you send that event yourself or join Stripe data to the BigQuery export.

PostHog has a native Stripe source that syncs charges, customers, invoices, products and subscriptions into tables you query in SQL with your events. Its marketing analytics imports spend from Google Ads, Meta, LinkedIn and other ad platforms and shows cost per conversion by campaign, but the docs label it an opt-in beta.

Whichever tool you choose, the tracking plan decides what you can answer: send the UTM source with the signup event and set it as a person property, and the channel follows the user into retention and revenue.

Running both without double work

Many SaaS teams keep both, with a clear split:

  • GA4 on the marketing site, linked to Google Ads and Search Console, owned by whoever buys ads. Its key events are the ones you bid on.
  • PostHog on the marketing site and in the app, anonymous before signup and identified after, owned by whoever owns activation and retention.

Give each tool one job and do not reconcile their visitor counts: they define users and sessions differently and the counts will differ. Pick one as the source of truth for each AARRR stage: GA4 for acquisition by channel, PostHog from signup onward.

Which one to choose

Keep GA4 if Google Ads is a real budget line, because bidding on Analytics key events and remarketing audiences need it, or if your marketing team already reads it every week.

Pick PostHog for everything after signup: activation, retention, session replay and revenue by cohort. If you run no Google Ads, PostHog's web analytics can replace GA4 on the marketing site and you maintain one tracking setup instead of two.

If you are comparing PostHog to other product tools rather than to GA4, see PostHog vs Mixpanel and PostHog vs Amplitude.

Once the funnel is measured, the work does not change with the tool: find the stage that loses the most money, price the gap, and pick one change a week, scored against the others.

Key takeaways

GA4 is free and is the right tool for traffic, Google Ads and Search Console. It keeps exploration data 2 or 14 months, samples queries above 10 million events and hides small segments. PostHog bills events above 1 million a month, charges more for identified ones, and gives person-level data, replay and Stripe tables in one place. Use GA4 for acquisition and PostHog from signup on, or PostHog alone if you do not buy Google Ads.

Frequently asked questions

Is PostHog free like Google Analytics?

Up to a point. PostHog gives 1 million events a month for free, with web analytics included in product analytics at no extra cost, then bills each event at published rates. Standard Google Analytics is free with no event bill. A SaaS that captures a few million events a month pays PostHog and pays Google nothing.

How long does Google Analytics keep my data?

In a standard GA4 property, the data retention setting for event data and user data is 2 or 14 months. It applies to explorations and funnel reports, while standard aggregated reports are not affected. If Google classifies the property as Large, event-level retention is cut to 2 months and older event data is deleted.

Can I use PostHog without a cookie banner?

PostHog has a cookieless mode that counts users with a server-side hash whose salt changes daily. The trade-offs are documented: visitors count as new people each day, identify() should be avoided, and session replay and surveys stay off without consent. Whether that removes your banner obligation is a legal question to check with your adviser.

Sources

  1. Google Analytics Help, [GA4] Data retention: https://support.google.com/analytics/answer/7667196
  2. Google Analytics Help, [GA4] About data sampling: https://support.google.com/analytics/answer/13331292
  3. Google Analytics Help, [GA4] Data thresholds: https://support.google.com/analytics/answer/9383630
  4. Google Analytics Help, [GA4] BigQuery Export: https://support.google.com/analytics/answer/9358801
  5. Google Analytics Help, [GA4] Analytics collection and configuration limits: https://support.google.com/analytics/answer/11202874
  6. Google Analytics Help, [GA4] Link Google Ads to Analytics: https://support.google.com/analytics/answer/9379420
  7. Google Analytics Help, [GA4] Search Console integration: https://support.google.com/analytics/answer/10737381
  8. Google Marketing Platform, Google Analytics: https://marketingplatform.google.com/about/analytics/
  9. PostHog, Pricing (rates read on November 11, 2026): https://posthog.com/pricing
  10. PostHog docs, Web analytics: https://posthog.com/docs/web-analytics
  11. PostHog docs, Anonymous vs identified events: https://posthog.com/docs/data/anonymous-vs-identified-events
  12. PostHog docs, How to do cookieless tracking with PostHog: https://posthog.com/docs/privacy/cookieless-tracking
  13. PostHog docs, Marketing analytics: https://posthog.com/docs/web-analytics/marketing-analytics
  14. PostHog docs, SQL access: https://posthog.com/docs/sql
  15. PostHog docs, Stripe source: https://posthog.com/docs/cdp/sources/stripe
  16. PostHog docs, Data storage location: https://posthog.com/docs/privacy/data-storage
  17. PostHog, In-depth: PostHog vs Google Analytics 4 (March 13, 2026): https://posthog.com/blog/posthog-vs-ga4
Colas VandervaereHead of Growth, building Trimtab

Read next