Skip to content
all posts
Compare 4 min read updated August 17, 2026

sonex vs PostHog

PostHog is a product-analytics platform with a very generous free tier and a 68 kB script. sonex is web analytics that leads with revenue and ships 23 times less JavaScript. They solve different problems.

By Sourav · Building sonex
All posts

PostHog and sonex get compared often and probably should not be. PostHog is a product-analytics platform: session replay, feature flags, experiments, error tracking and a data warehouse, aimed at teams instrumenting an application. sonex is web analytics that leads with revenue, aimed at people who want to know whether their traffic is paying for itself. The overlap is the pageview counter, which is the least interesting part of either.

Checked against both products’ own pages and a direct measurement of both scripts on 2026-08-17.

At a glance

sonexPostHog
CategoryWeb analytics, revenue-firstProduct analytics platform
Tracker size (brotli)2,968 bytes68,135 bytes
Free plan2,000 events/mo, ongoing1,000,000 events/mo, ongoing
Paid model$20/mo for 200k eventsUsage-based, from $0.00005/event
Cookies by defaultNeverConfigurable; cookieless mode available
Consent bannerNot neededRecommended in cookie configurations
Revenue integrationStripe, Polar, all plansStripe, native, with deferred revenue
Session replayNoYes
Feature flags, experimentsNoYes
Retention window6 months free, up to 5 years1 year free, 7 years paid
Self-hostingNoYes, MIT licensed
HostingHosted SaaSCloud US, Cloud EU, or self-host

Where PostHog is genuinely better

The free tier. One million events a month, free, ongoing, plus 5,000 session recordings and a million feature-flag requests. Ours is 2,000 events. For a small product that needs deep instrumentation and has no budget, PostHog is difficult to argue against and we are not going to try.

Breadth. Session replay, feature flags, A/B testing, surveys, error tracking and a data warehouse in one product, with a usage-based bill instead of a tier ladder. Assembling that from separate tools costs more and integrates worse.

Self-hosting. The self-hosted edition is MIT licensed. If your requirement is that the data never leaves infrastructure you control, sonex has no answer for you.

Revenue depth. PostHog’s Stripe integration syncs charges, customers, invoices and subscriptions into a warehouse and recognises deferred revenue properly. That is more sophisticated than what we do, and if you need MRR recognition modelled inside your analytics, they have built it.

Where sonex is better

Weight. 2,968 bytes against 68,135 — twenty-three times less JavaScript on every page load, for every visitor. On a marketing site that is a real cost difference for capability you will not use, and it lands on the main thread during the exact window a page is trying to become interactive.

Cookies, by construction. sonex has no cookie mode because it has no cookies. PostHog’s cookieless mode is a configuration you enable, and its own documentation recommends a banner for the configurations that do use storage. One of these is a default and the other is a decision someone has to make and keep making.

Revenue on the free plan. Ours is included at every tier including free. If you are pre-revenue-ish and want to see the first sales land next to the traffic that produced them, you do not need to reach a threshold first.

Simplicity as a feature. PostHog is a platform, with the setup surface a platform implies. sonex is one script tag and a dashboard that opens on the answer. For a site rather than an app, that difference is the product.

Polar, and the world map. We read Polar as well as Stripe, and geography resolves to country, region and city.

The honest overlap

If all you want is pageviews, referrers and a funnel, both do it. PostHog will do it for free at a volume we charge for, and will cost you 65 kB of JavaScript to do it. sonex will do it in under 3 kB and charge you at 2,000 events a month.

Which trade is right depends on something simple: are you instrumenting an application, or measuring a website?

Choose PostHog if

  • You are instrumenting a product and want replay, flags and experiments alongside analytics.
  • You need a large free allowance more than you need a small script.
  • You require self-hosting.
  • You want deferred revenue recognition modelled inside your analytics.

Choose sonex if

  • You are measuring a website and want revenue beside the traffic, not a platform to configure.
  • Page weight matters — a marketing site, a content site, or anywhere Core Web Vitals are a real target.
  • You want no cookies and no consent banner as a default rather than a mode.
  • You use Polar, or want revenue included on a free plan.

Many teams end up running both: PostHog inside the app, something light on the marketing site. That is a perfectly sensible answer, and it is the one we would give if you asked us directly.

Facts checked against both products’ own pricing and documentation on 2026-08-17. Script sizes measured the same day; method published in our script-size study.

Frequently asked questions

Is PostHog or sonex better for a marketing site?
sonex, in most cases. PostHog is built for product analytics inside an application — session replay, feature flags, experiments — and its script is 68,135 bytes brotli against sonex's 2,968. For counting traffic and reading revenue on a marketing site, that is a large cost for capability you will not use.
Does PostHog have a free plan?
Yes, and it is far more generous than ours. PostHog includes 1,000,000 events a month free plus free allowances for session replay, feature flags and surveys. sonex's free plan is 2,000 events a month.
Does PostHog connect to Stripe?
Yes. PostHog has a native Stripe data source that syncs charges, customers, invoices and subscriptions into its Revenue Analytics, including deferred revenue recognition. sonex reads Stripe and Polar in aggregate, on every plan including free.
Can PostHog run without cookies?
It has a cookieless mode that stores nothing until a user opts in. Its documentation still recommends a cookie banner in the configurations that do use cookies. sonex has no cookie mode to configure because it never sets one.

sonex is privacy-first web analytics. No cookies, no consent banner, no personal data. Drop one script and read realtime visitors, funnels and a world map in seconds.

Try sonex free
Questions

Frequently asked.

Cookies, install and pricing, answered. Still stuck? Ask us anything .

01 Can sonex show revenue next to my traffic?

Yes. Connect Stripe or Polar with a read-only key and sonex reads revenue straight from your payment provider, per website. Revenue then appears as a focusable series on the Overview chart and as its own report, beside the traffic that earned it. No tracked event is needed for it to work.

02 Does sonex use cookies?

No. sonex sets no cookies and needs no consent banner. It counts visits without cookies, fingerprinting, or any personal data, so it is GDPR, PECR and CCPA-ready by default.

03 How do I install sonex?

Add one script tag to your site's <head> with your website id. It is a single lightweight tracker — no build step and no SDK required.

04 Is sonex a Google Analytics alternative?

Yes. sonex gives you the reports that matter — visitors, pages, referrers, funnels, revenue and a world map — without surveilling your audience or drowning you in configuration.

05 How is sonex priced?

By monthly tracked events. Free covers 2k events, Pro is $20/mo for 200k events, and Business is $200/mo for 2M events with team seats.

See what your traffic actually earns.

Revenue beside the visitors that produced it. No cookies, no credit card, no consent banner.

Get started