Plausible vs Matomo: Privacy-Friendly Analytics You Host Yourself

Both promise a Google Analytics replacement that respects visitors — they arrive at that promise from opposite directions

Contents

Every self-hosted analytics comparison eventually gets asked the same question: Plausible or Matomo? I’ve run both in production for real sites, and the honest answer is that they aren’t really competing for the same job. Plausible is a focused, minimal alternative to Google Analytics for people who want three or four numbers well presented. Matomo is a genuine platform trying to replicate most of what Google Analytics does, self-hosted, extensible, and considerably heavier as a result. Picking between them without being clear on which job you actually need done is how you end up running the wrong one for a year before switching.

Plausible: Minimal by Design

Plausible’s entire pitch is a single dashboard page: visitors, page views, top sources, top pages, device and country breakdowns, all on one screen with no drill-down maze to get lost in. The tracking script is a couple of kilobytes, cookie-free, and the whole architecture is built around never storing anything that could identify an individual visitor across sessions — the same fundamental approach as Umami, discussed in more depth in that write-up, and the two are close enough in philosophy that choosing between them often comes down to dashboard taste rather than a functional gap.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
services:
  plausible:
    image: ghcr.io/plausible/community-edition:v2
    container_name: plausible
    environment:
      - BASE_URL=https://analytics.example.com
      - SECRET_KEY_BASE=REPLACE_WITH_LONG_RANDOM_STRING
      - DATABASE_URL=postgres://plausible:REPLACE_ME@plausible-db:5432/plausible
      - CLICKHOUSE_DATABASE_URL=http://plausible-events-db:8123/plausible_events_db
    ports:
      - "8000:8000"
    depends_on:
      - plausible-db
      - plausible-events-db
    restart: unless-stopped

That’s the one detail that surprises people coming from Umami: Plausible uses ClickHouse alongside Postgres, a column-oriented database purpose-built for fast aggregation over large event volumes. It’s a heavier dependency to stand up than a single Postgres instance, but it’s why Plausible’s dashboard stays fast even on a site doing serious traffic — the query pattern that would strain a row-oriented database is exactly what ClickHouse was designed to handle well.

Matomo: The Actual Platform

Matomo is a different proposition entirely. Where Plausible deliberately stays narrow, Matomo tries to cover the ground a serious analytics team would expect: goal funnels, e-commerce tracking, heatmaps and session recordings through its Heatmap & Session Recording plugin, A/B testing, form analytics, and a marketplace of additional plugins covering everything from SEO auditing to custom reporting. It’s the closest thing in this space to an actual Google Analytics replacement rather than a lightweight alternative to it.

A Matomo analytics dashboard showing real-time visits, a visits-over-time chart, a world visitor map and channel types.
Matomo 4.0 dashboard for a public wiki, showing how much it reports at once. Photo: Matomo 4.0 screenshot - English by Valerio Bozzolan, CC BY-SA 4.0, via Wikimedia Commons.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
  matomo:
    image: matomo:latest
    container_name: matomo
    environment:
      - MATOMO_DATABASE_HOST=matomo-db
      - MATOMO_DATABASE_USERNAME=matomo
      - MATOMO_DATABASE_PASSWORD=REPLACE_ME
      - MATOMO_DATABASE_DBNAME=matomo
    volumes:
      - matomo-data:/var/www/html
    ports:
      - "8080:80"
    depends_on:
      - matomo-db
    restart: unless-stopped

  matomo-db:
    image: mariadb:11
    container_name: matomo-db
    environment:
      - MYSQL_ROOT_PASSWORD=REPLACE_ME
      - MYSQL_DATABASE=matomo
      - MYSQL_USER=matomo
      - MYSQL_PASSWORD=REPLACE_ME
    volumes:
      - matomo-db-data:/var/lib/mysql
    restart: unless-stopped

volumes:
  matomo-data:
  matomo-db-data:

That depth comes with genuine operational cost. Matomo runs a PHP application with a MySQL/MariaDB backend and a cron-driven archiving process that pre-computes report aggregates on a schedule — without it running regularly, reports for busy sites become slow to generate on demand. It’s a heavier thing to keep patched and tuned than Plausible, in direct proportion to how much more it does.

PlausibleMatomoPlausible appPostgresaccounts, configClickHouseeventsMatomo (PHP)MariaDBone databaseArchiving cronbuilds reportsExample layout drawn from the compose files in this post.
What each stack asks you to run. Example layout from the compose files above.

Where They Actually Differ on Privacy

Both can be run in a genuinely cookie-free, GDPR-friendly configuration, but they arrive there differently. Plausible is cookie-free by default, full stop, with no toggle needed — the architecture simply doesn’t include a persistent visitor identifier at all. Matomo defaults closer to a traditional analytics setup, including an optional first-party cookie for cross-session visit tracking, and reaching Plausible’s level of anonymity requires deliberately configuring Matomo’s privacy settings: enabling its cookieless tracking mode, anonymising IP addresses, and disabling several features that would otherwise identify returning visitors.

That configuration work is genuinely achievable and well-documented in Matomo’s own privacy guide, but it’s an opt-in step rather than the default, which matters if you’re deploying quickly and might otherwise ship a configuration you didn’t mean to. Plausible’s narrower feature set is partly what makes cookie-free the only mode it has — there’s simply less surface area for a tracking mechanism to hide in.

Performance and Resource Requirements

Plausible’s ClickHouse-backed architecture handles high traffic volumes without the dashboard slowing down, but the two-database setup (Postgres for accounts and configuration, ClickHouse for events) is more to run than a single-container app, even if each individual piece is efficient. Total resource usage for a low-to-moderate traffic site still fits comfortably on a small VPS.

Matomo’s resource needs scale with both traffic and which plugins are active — a base install with core reporting is reasonably light, but turning on heatmaps, session recording, or several marketplace plugins simultaneously adds meaningfully to both CPU and storage requirements. The archiving cron job is the piece most likely to need attention: on a high-traffic site with infrequent archiving, that job can run long enough to overlap with the next scheduled run, a known operational quirk worth reading Matomo’s archiving documentation for before assuming default settings will scale.

Multi-Site Management and Reporting

Both handle multiple tracked properties from a single instance, but the experience of managing several sites diverges the same way everything else does. Plausible’s multi-site dashboard is a simple list you switch between, with a combined “all sites” overview available on paid tiers of the hosted version and present in the self-hosted community edition as a straightforward site-switcher rather than a unified cross-property report. It stays out of your way precisely because there isn’t much to configure per site beyond the tracking snippet itself.

Matomo’s multi-site handling is considerably richer: a genuine “All Websites” dashboard that aggregates key metrics across every tracked property on one screen, per-site user permissions down to view-only versus admin access, and scheduled email reports that can be configured per site or per user. If you’re running analytics across a handful of client sites and need to hand each client a login that only sees their own data with a weekly emailed summary, Matomo’s permission and reporting model is built for exactly that, where Plausible’s simpler model would need workarounds — separate logins per client rather than genuinely scoped ones.

Migrating From Google Analytics

Neither tool offers a clean, automated import of historical Google Analytics data, and this is worth knowing before switching rather than after. Google Analytics’ underlying data model — particularly the shift from Universal Analytics to GA4 — doesn’t map cleanly onto either Plausible’s or Matomo’s schema, so a migration in practice means starting a fresh data set from the switchover date rather than porting years of history forward.

Matomo does offer an official Google Analytics importer plugin that pulls historical data through the Google Analytics reporting API and reconstructs an approximation of it inside Matomo’s own reports — useful for keeping a continuous trend line visible, though the imported numbers won’t match Matomo’s own tracking methodology exactly, since the two systems count visitors differently for the reasons covered above. Plausible has its own Google Analytics importer, covering Universal Analytics and GA4 history, so the trend line can carry across there too; as with Matomo, the imported figures are an approximation rather than a like-for-like match.

Data Ownership and Export

Both store their data in databases you fully control, which is the whole point of self-hosting either, but the export experience differs in practice. Plausible’s Postgres-plus-ClickHouse setup means a full backup needs both databases dumped together to be consistent, and a straightforward CSV export from the dashboard itself covers most day-to-day needs without touching the database directly. Matomo’s single MySQL database is simpler to back up as one unit, and its API additionally supports pulling raw or aggregated data programmatically for anyone who wants to build custom reporting on top rather than relying solely on the built-in dashboard views.

For anyone running either behind a reverse proxy — which should be everyone, for the TLS termination and hostname reasons covered in the Caddy write-up — back up the proxy configuration alongside the analytics data itself, since BASE_URL and its Matomo equivalent are baked into generated tracking snippets the same way they are in nearly every self-hosted web app.

Troubleshooting

Plausible’s ClickHouse container fails to start after a host reboot. ClickHouse is sensitive to available memory at startup; a host that’s tight on RAM when several containers restart simultaneously can cause ClickHouse to fail its initial memory allocation. Stagger container startup order or ensure adequate free memory is available during a full-stack restart.

Matomo’s dashboard shows outdated numbers for the current day. This is the archiving cron doing its job as designed — Matomo pre-computes reports on a schedule rather than querying raw data live for every dashboard view, so “today” data can lag by the archiving interval. Reducing that interval trades dashboard freshness for more frequent archiving overhead; there’s a real trade-off here rather than a bug to fix.

Matomo’s cron archiving job runs for an increasingly long time. This tends to creep up gradually as a site’s traffic and history grow, and the usual remedy is tuning the archiving process’s segment and date-range settings rather than just accepting a longer and longer job — Matomo’s own performance guide covers the specific settings, and it is worth reading before traffic grows enough to make the job unmanageable.

Matomo’s Heatmap & Session Recording plugin slows the site down for visitors. That plugin injects an additional tracking script beyond the core Matomo tag, and on a site already tight on page-weight budget, the combined payload is noticeably heavier than core tracking alone. Enable it selectively on the pages where the insight is actually worth the cost rather than site-wide by default.

Plausible reports a different visitor count than a previous Google Analytics setup. This is expected and not a bug in either tool. Google Analytics’ identifier-cookie approach can inflate or fragment visitor counts differently than Plausible’s session-based approximation, particularly around ad-blocked traffic and cross-device visits; the two were never going to produce identical numbers because they’re measuring with genuinely different methodologies.

Which One to Actually Run

The differences covered above, side by side:

PlausibleMatomo
DatabasesPostgres (accounts, config) and ClickHouse (events)MariaDB or MySQL
Cookies by defaultNoneOptional first-party cookie; cookieless mode available
Background jobNoneArchiving cron pre-computes reports
Heatmaps and session recordingNoVia plugin
Multi-siteSite switcherAll Websites dashboard, per-site permissions, scheduled email reports
Google Analytics historyImport from Universal Analytics and GA4Official importer plugin

For a blog, a small business site, or anything where the three or four core numbers are genuinely all you check, Plausible is the correct choice — it’s lighter to run, faster to set up, and its narrow feature set means there’s nothing extraneous to configure or secure. I run it for every low-traffic site I maintain for exactly this reason.

For a site where marketing or product decisions genuinely depend on funnel analysis, heatmaps, or granular event tracking that a lightweight tool doesn’t offer, Matomo is worth the extra operational weight — it’s the only one of the two actually built for that depth of analysis. Running both because you can’t decide is also a legitimate option if the sites in question have genuinely different needs; I do exactly that, Plausible for the properties where visitor count and referrers are the whole story, Matomo for the one project where funnel data actually changes what gets built next.

Whichever you pick, the underlying decision that matters most happened before either tool entered the conversation: choosing to own the data at all, rather than handing years of visitor behaviour to a platform whose product priorities and pricing tiers you have no say in. Plausible and Matomo disagree about nearly everything downstream of that choice. Neither of them asks you to make it twice.

Smarc
Written by Smarc

Founder and editor of Aside House. A lifelong tinkerer who self-hosts far more than is sensible, hardens Linux boxes for fun, and prods the latest AI tools to see what they can really do. The how-to guides here are the notes Smarc wishes had existed the first time round.

Smarc is the editor of Aside House. The homelab, the hardware and the opinions are real; the guides are drafted with AI assistance. Infrastructure details are genericised on purpose.