Google Analytics 4vsUmami
Google Analytics 4 vs Umami — compare free Google analytics vs open-source self-hostable privacy-friendly web analytics.
Quick answer
Quick answer
Umami is the better fit if you want MIT-licensed, self-hostable analytics with essential metrics and low ops cost for developers. Google Analytics 4 is the better fit if you need free, deep marketing analytics integrated with Google Ads and warehouses.
Who should pick which?
Good fit for…
- Marketing teams running Google Ads or relying on Google marketing ecosystem
- Sites and apps that need event-based measurement at high volume without per-hit SaaS fees
- Organizations comfortable with BigQuery export for custom analysis
- Teams that already have GA4 expertise and reporting workflows
Not a great fit for…
- Small sites that only need simple traffic stats and want minimal compliance overhead
- Teams avoiding Google data processing or US cloud jurisdiction concerns
- Privacy-first positioning without cookie banners — lightweight tools win here
- Revenue attribution for indie Stripe SaaS without significant GA4 ecommerce setup — DataFast is simpler
Good fit for…
- Developers comfortable self-hosting on Vercel, Railway, Docker, or VPS
- Teams wanting simple dashboards without GA4 complexity
- Side projects and startups optimizing for low cost at moderate traffic
- Privacy-conscious sites needing cookieless tracking options
Not a great fit for…
- Non-technical teams without anyone to deploy and maintain infrastructure
- Enterprise requirements for SLAs, SSO, and dedicated support
- Deep marketing integrations (Google Ads, BigQuery pipelines)
- Session replay, heatmaps, feature flags — use Hotjar or PostHog
Feature comparison table
Side-by-side feature checklist for Google Analytics 4 and Umami.
| Feature | ||
|---|---|---|
| Cookieless | — | ✓ |
| GDPR-friendly | — | ✓ |
| Realtime data | ✓ | ✓ |
| Custom events | ✓ | ✓ |
| Funnels | ✓ | — |
| Heatmaps | — | — |
| Session recordings | — | — |
| A/B testing | — | — |
| Product analytics | ✓ | — |
| Revenue tracking | — | — |
| Self-hostable | — | ✓ |
| Open source | — | ✓ |
Head-to-head by topic
Sourced from our individual tool reviews. How we review tools
Privacy & compliance
GA4 is not a privacy-first tool in the Plausible sense. It uses cookies and identifiers, processes data on Google infrastructure, and typically requires consent banners in GDPR jurisdictions.
Google offers data retention controls, IP anonymization options (context-dependent), and user deletion tools — but operational burden falls on you. Several EU regulators have scrutinized Google Analytics transfers; some organizations choose Matomo or EU-hosted alternatives for that reason.
Free does not mean zero compliance cost — legal review and consent UX are part of the total price.
Umami supports cookieless tracking and avoids invasive fingerprinting in default configurations — aligning with privacy-first marketing. Because you can self-host, data never needs to leave your VPC.
Compliance still requires correct configuration, privacy policy updates, and regional rules — especially if you log authenticated user IDs in custom events.
Pair with legal review if you track logged-in user behavior.
Web analytics scope
GA4 uses an event-based data model — every interaction is an event with parameters. Pageviews, scrolls, purchases, and custom actions all flow through the same pipeline. This replaces Universal Analytics' session/pageview-centric model and requires relearning reports and explorations.
Strength: flexible schema for web + app in one property. Weakness: easy to over-instrument and inflate event counts, making reports noisy without governance.
For marketing sites, start with enhanced measurement defaults and add custom events only where decisions depend on them.
Umami focuses on essential web metrics: pageviews, referrers, browsers, countries, and custom events via a small API. The dashboard is fast and readable — closer to Plausible than Matomo or GA4 in scope.
That focus keeps the codebase and script lean. You will not get ecommerce funnels, tag manager complexity, or warehouse export — by design.
For personal sites, docs, and SaaS marketing pages, Umami often answers the only questions you actually check weekly.
Integrations & ecosystem
Unique to Google Analytics 4GA4's biggest advantage is integration depth: Google Ads linking, Search Console, Looker Studio, and optional BigQuery export (standard properties get limited free export; 360 unlocks more). If your growth stack is Google-centric, GA4 is the hub.
Non-Google integrations exist via GTM and APIs but are rarely as seamless as native Google links. Teams on Meta Ads or other channels often still run GA4 alongside platform pixels.
Consent Mode v2 and regional settings matter for EU traffic — misconfiguration can skew attribution and create compliance risk.
Cloud vs self-hosted
Unique to UmamiUmami is MIT-licensed and widely deployed via Docker, cloud templates, and Umami Cloud (managed offering). Self-hosting means your analytics DB lives where you put it — useful for side projects avoiding recurring SaaS fees.
Community support is strong; enterprise support is not the model. Plan for upgrades, database backups, and monitoring yourself on self-hosted.
Umami Cloud provides a middle path if you like the product but not the ops.
Pricing comparison
Google Analytics 4
GA4 standard is free for most sites within Google's collection limits. Google Analytics 360 is enterprise-priced (six figures annually) for very large organizations needing SLAs, higher limits, and advanced BigQuery.
Hidden costs: GTM/consulting time, BigQuery storage/query bills, and compliance tooling. At low traffic, GA4 wins on price vs any paid privacy tool; at high traffic, "free" still holds for standard tier but ops complexity grows.
Use our pricing calculator to compare GA4 ($0) against paid alternatives at your pageview level.
Free for up to 10,000,000 hits/month.
Free for most sites. GA4 360 starts around $50,000/year for enterprise contracts.
Umami
Self-hosted Umami is free software — cost is hosting (often $5–20/month on small VPS or free tiers on hobby PaaS). Umami Cloud offers managed hosting with tiered pricing on umami.is — compare against Plausible if you prefer not to ops.
At high pageview volume, self-hosted Umami can undercut per-pageview SaaS bills if your time is cheap. At low volume, Plausible Cloud's $9 tier may be less hassle.
Use our pricing calculator to compare Umami (hosting-only estimate) vs paid SaaS tools.
| Tier | Limit | Price / month |
|---|---|---|
| Hobby (up to 100K events) | 100,000 | Free |
| Pro (up to 1M events) | 1,000,000 | $20 |
| Business (up to 10M events) | 10,000,000 | $200 |
Cloud pricing as of Aug 2026. Self-hosted is free. Events include pageviews and custom events.
Use the pricing calculator to compare costs at your traffic or event volume.
Setup & implementation
Google Analytics 4
Typical setup:
- Create a GA4 property and web data stream.
- Install gtag.js or deploy via Google Tag Manager.
- Configure key events (conversions) and link Google Ads if applicable.
- Set data retention, internal traffic filters, and consent defaults.
- Validate with DebugView before trusting reports.
Common pitfalls: duplicate tags inflating counts, missing consent mode in EU, treating GA4 like UA reports, and unbounded custom events without naming conventions.
Umami
Typical setup (self-hosted Docker):
- Deploy Umami with Docker Compose or a one-click template (Railway, etc.).
- Create an admin account and add your website ID.
- Insert the Umami tracking script on your site.
- Optionally configure custom events via
umami.track(). - Lock down admin URL and enable backups on your database.
Common pitfalls: exposing admin without auth hardening, losing data without DB backups, and forgetting to exclude your own visits.
Performance benchmarks
Google Analytics 4 Script Performance
Load time
+1.16 s
- Loading method
This script downloads in the background, so the browser can draw the page’s first visible content without pausing to load the tracking code.
- Script filesize
Transfer is the compressed download size, and decoded is what the browser parses afterward.
What this means for your site
On our empty test page, the load event finished +1.16 s later with the tag installed. On a real site, page load is likely to take at least that long — but usually not the full +1.16 s stacked on top of your other assets, because much of the work overlaps parallel downloads.
Limitations compared
Google Analytics 4
- Steep learning curve vs Plausible/Fathom — reports are powerful but not simple.
- Privacy and EU transfer concerns push some teams to Matomo or EU-hosted tools.
- No session replay or heatmaps natively — pair with Hotjar or PostHog.
- Revenue attribution for custom Stripe flows requires deliberate ecommerce/event setup.
- Script weight and performance vary by implementation — benchmark pending on AnalyticsVS.
Umami
- Self-hosting is the default power path — not ideal for non-technical teams.
- Feature set is intentionally narrow — no replay, flags, or deep funnels.
- No official Google Ads integration or BigQuery export.
- Enterprise support and compliance documentation lighter than Matomo Cloud.
- Script performance benchmark pending on AnalyticsVS.
Bottom line
Umami wins for technical teams escaping GA4 complexity and ownership concerns. GA4 wins for marketers living in Google’s stack. Non-technical teams who want managed privacy analytics without Docker should prefer Plausible Cloud or Fathom over self-hosted Umami.
Open source vs free SaaS
GA4 is free as a Google SaaS with Google’s terms and infrastructure. Umami is free as software you operate (or pay Umami Cloud to operate). The cost shift is from vendor subscription to engineering time — or a smaller managed bill.
Scope
Umami intentionally stays narrow: pageviews, referrers, devices, countries, custom events. If you need heatmaps, flags, or warehouse pipelines, pair or pick another tool.
Frequently asked questions
- Is Umami a full GA4 replacement?
- For basic traffic reporting, often yes. It does not replace Google Ads linking, BigQuery export, app+web properties, or GA4’s exploratory analysis tools.
- Is Umami free?
- Self-hosted Umami is free software; you pay for hosting. Umami Cloud is a paid managed option. GA4 standard remains free within Google’s limits.
- Does Umami need cookies?
- Umami supports cookieless tracking configurations. Confirm your setup and legal requirements; self-hosting does not automatically equal compliance.
- Who should not self-host Umami?
- Teams without someone to handle deploys, upgrades, backups, and auth hardening. Use Umami Cloud, Plausible, or Fathom instead.
- How does performance compare?
- GA4’s recorded script is heavy on our fixture (~171 KiB transfer, ~+1.16 s overhead). Umami’s script weight is not yet published on AnalyticsVS — treat Umami performance as pending until we record a fixture.
- GA4 vs Universal Analytics — what changed?
- GA4 is event-based, uses different reports, and UA stopped processing in 2023. You cannot expect one-to-one metric parity with old UA dashboards.
- Umami vs Plausible?
- Plausible for managed privacy analytics with vendor support. Umami when you want open source and self-hosting control, often at lower marginal cost.
Sources & review status
Try these tools
Google Analytics 4
Umami