macrostack
Browse

The AI stack

Categories

Local & Sovereign AINotes & KnowledgeObservability & MonitoringPassword ManagersWeb AnalyticsTeam ChatSmart HomeNetworking & RoutersVideo ConferencingCloud Storage & SyncPhotos & MediaAPI DevelopmentImage EditingWorkflow Automation & iPaaSDeveloper Tools & ContainersOffice & Productivity SuitesNo-Code DatabasesCode Hosting & Git ForgesProject ManagementEmail Marketing & NewslettersScheduling & BookingError Tracking & Exception MonitoringLog Management & SIEMVPN & PrivacyEmail & Secure MailVector Databases & AI SearchLLM & Agent FrameworksDomains & Web HostingData Removal & PrivacyAuthentication & IdentityHelp Desk & Customer SupportCloud & VPSKubernetes & Container PlatformsEmbedding ModelsPDF & DocumentsAI Coding AssistantsAI Voice & SpeechLLM Observability & EvaluationLLM Gateways & RoutingCloud GPU & AI ComputeCI/CD & build automationData & pipeline orchestrationModel serving & inferenceAI agent frameworksBackend as a serviceSecrets managementFeature flags & experimentationProduct analyticsSearch infrastructureUptime & status monitoringAffiliate & partner platformsVisitor identification & personalisationWikis & internal docsIdentity & access managementData warehouses & analytics enginesCustomer data platformsCRMObject storageBI & dashboardsE-signatureWhiteboards & diagrammingIn-memory data stores & cachingPlatform as a serviceTransactional & bulk emailHeadless CMSDesign & prototypingE-commerce platformsInternal tools & admin panelsManaged databasesForms & surveysFine-Tuning & Model TrainingRAG & Retrieval PlatformsLLM Evaluation & TestingAI Guardrails & Content SafetySpeech Recognition & TranscriptionExperiment Tracking & ML OpsDocument AI & OCRCompliance automation & security posture

About

How we rank & score
Head-to-head · Product analytics

PostHog vs Umami

Both are alternatives to Amplitude. Here's how they stack up — verified facts, no spin.

Also searched as Umami vs PostHog — same comparison, one verdict.

The short answer

Both are product analytics tools with the same broad shape, but Umami scores 95 against PostHog's 85 on data ownership and exit cost — the gap is in how easily you could leave.

85

PostHog

TOP PICK

Product analytics, session replay, flags and experiments in one self-hostable product.

OPEN SOURCEMIT core, with an `ee/` enterprise directory carve-outSELF-HOSTLOCAL-FIRST

PostHog is the most complete answer here because it collapses several line items into one: product analytics, session replay, feature flags, A/B testing, surveys and a data warehouse, all in a product you can run on your own infrastructure. For teams currently paying Amplitude for analytics and LaunchDarkly for flags, that consolidation is often the real saving rather than any single rate. Around 37.4k stars and pushed to daily. The licence needs stating precisely: the core is MIT, but the `ee/` directory is licensed separately as enterprise — so it is MIT-with-a-carve-out rather than plain MIT, which is how it is usually described.

95

Umami

One clean dashboard, no cookies, five minutes to deploy.

OPEN SOURCEMITSELF-HOSTLOCAL-FIRST

Umami is deliberately small: page views, referrers, countries, devices and events on a single readable dashboard, with no cookies, no personal data and a script around two kilobytes. It runs on Node with Postgres or MySQL and deploys in minutes. MIT, about 38k stars. It is the honest recommendation for a large number of teams who believe they need product analytics and actually need to know which pages people read and where they came from — and the tracking script being 2 KB rather than 45 KB is a real difference on a phone.

Side by side

10 points of comparison, every one read from a verified field. Green marks the side that wins a row outright. A dash means we do not hold that fact — never that it is zero.

 PostHogUmami
Sovereignty ScoreOur transparent 0–100 composite for data ownership and exit cost.8595
Open sourceYesYes
Self-hostableYesYes
Local-first dataYesYes
LicenseMIT core, with an `ee/` enterprise directory carve-outMIT
PricingGenerous free tier on cloud; self-hostable at no licence cost for the MIT core.Free and open source to self-host. Umami Cloud has a free tier and paid plans.
RAM to run it wellThe figure that actually matters, not the vendor's minimum.1 GB with PostgreSQL alongside
Realistic running costWhat the box costs each month if you run it yourself.$10–18/mo, and it runs on a free-tier serverless host comfortably
Setup timeHonest first-install estimate, not the marketing quickstart.30 minutes
Ongoing maintenanceThe part nobody budgets for.Low. One container and a database, with no archiving job to schedule.
The verdict

PostHog is Macrostack's recommended Amplitude alternative, so it's our pick here.

PostHog

Strengths

  • +Replaces analytics, session replay, flags and experiments with one tool
  • +Self-hostable, so behavioural data never leaves your infrastructure
  • +Autocapture means useful data before anyone writes a tracking plan
  • +Very generous free tier if you would rather use the hosted version

Trade-offs

  • Self-hosting at volume means operating ClickHouse — a real commitment
  • The `ee/` directory is not MIT despite the project's reputation
  • Heavier and more complex than a focused analytics tool
  • Analysis depth still trails Amplitude for sophisticated cohort work

Umami

Strengths

  • +Genuinely simple — one dashboard, no training required
  • +No cookies and no personal data, so no consent banner
  • +Roughly 2 KB script, a meaningful page-speed win on mobile
  • +MIT with no enterprise carve-out

Trade-offs

  • No funnels, cohorts or retention analysis worth the name
  • Not a product-analytics tool — do not expect it to be
  • No session replay or heatmaps
  • Small feature surface by design; you will outgrow it if you need depth

Which one fits you

The trade-offs above, turned into a decision. Find the line that describes your team.

Choose PostHog

if replaces analytics, session replay, flags and experiments with one tool.

Choose Umami

if a lower exit cost matters more to you than any single feature, and genuinely simple — one dashboard, no training required.

Neither, yet

if both carry a real cost you should weigh first — self-hosting at volume means operating ClickHouse — a real commitment, and no funnels, cohorts or retention analysis worth the name. If either of those is a dealbreaker for your team, the shortlist is wrong rather than the choice.

What it takes to run these yourself

Real requirements and honest running costs, not the vendor quickstart.

PostHog vs Umami — common questions

Is PostHog a better fit than Umami for product analytics?

It depends on what you are optimising for, and the honest split is this: Umami scores 95 to PostHog's 85 on data ownership and exit cost, so it is the safer choice if you care about being able to leave. PostHog earns its place on a different axis — replaces analytics, session replay, flags and experiments with one tool. Neither is a wrong answer for every team; the table above is the actual comparison.

What happens if we want to switch later?

PostHog keeps its data local or in open formats, so leaving is an export rather than a negotiation. Umami is still self-hostable, so the files stay on your server either way — but it is not local-first by design, so check what its export produces before you rely on it.

Can I self-host PostHog or Umami?

Both can be self-hosted. The difference is what it costs you in time rather than whether it is possible — see the setup and maintenance rows above.

Are PostHog and Umami both alternatives to Amplitude?

Yes — both appear in our Amplitude comparison, which is why they are worth putting side by side. People usually arrive here already having decided to move off Amplitude and now choosing between the two replacements, which is a narrower and much easier question.

See all 5 Amplitude alternatives →

Related alternative guides

Facts verified 2026-07-31. Licenses and pricing change — spotted something out of date? That's a correction we want.

The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.