2026-06-07 7 min read

Privacy-First Web Analytics Without Google Analytics

Most FOSS projects do not need surveillance-grade analytics. They need to know whether people can find the documentation, which release notes were read, and whether a migration guide helped.

That is a much smaller problem than Google Analytics was built to solve.

Decide what you actually need

Before choosing a tool, write down the questions you want analytics to answer:

If those are your questions, privacy-friendly analytics are enough.

Plausible and Umami

Plausible and Umami are the cleanest replacements for simple website analytics. They are lightweight, understandable, and designed around aggregate reporting.

Use them when you want:

Plausible has a strong hosted offering. Umami is especially pleasant for simple self-hosting.

Matomo

Matomo is closer to a full Google Analytics replacement. It has more features, more reports, and more knobs.

That is useful if you need:

The trade-off is weight. Matomo is excellent, but it is more system to run.

PostHog

PostHog is product analytics, not just web analytics.

It makes sense for FOSS SaaS products, hosted open-core tools, and projects that need feature flags, event funnels, experiments, or session replay. It is usually overkill for a documentation site.

If you use PostHog, be deliberate about privacy settings and data retention. Product analytics can become invasive if you collect everything by default.

GoAccess and log analytics

The most privacy-preserving analytics may already be on your server: access logs.

GoAccess can turn Nginx or Apache logs into useful reports without placing any JavaScript in the browser. This is ideal for:

You will not get client-side events, but you will get honest traffic patterns.

A good default

For most FOSS websites:

Collect less. Keep it shorter. Explain it clearly in your privacy policy.

Tired of managing servers?

Love the idea but not the maintenance? OpsHelp can run your FOSS stack for you — managed hosting built on Hetzner, Cloudflare, and open source tooling. From £50/month.