Analytics 1 min read

Liwan vs Medama: single-binary, cookie-free web analytics

Two small self-hosted analytics servers with no cookies. Data controls, sign-in, API access and licences compared, without a winner.

A similar footprint

Liwan and Medama solve the same problem in a similar way: privacy-focused website analytics that you host yourself as a single binary. Liwan can also run as a Docker container and builds the dashboard and database in, so there are no additional services to manage. Medama describes a setup with no external dependencies and says it can run on VMs with 256MB of memory for most small websites.

Neither README describes a hosted plan, so in both cases the running cost is your own server and the time to look after it.

Privacy and data controls

Both avoid cookies. Liwan says it uses no tracking cookies or cross-site tracking, keeps data on your server and does not record raw IP addresses. Medama says its tracker, smaller than 1KB, works without cookies, IP addresses or additional identifiers.

Liwan's README goes further on configuration: you choose what data to collect and how long to keep it, adjust location detail, and switch campaign attribution and session metrics off independently. It also lets you send events from your server instead of the browser script. Medama's README does not describe retention or collection settings, so check its documentation if those matter to you.

Accounts, integration and licences

Liwan supports single sign-on through Google Workspaces, Microsoft Entra or another OpenID Connect provider, which helps when several people share the dashboard. Medama's server is OpenAPI-based, which suits teams that want to pull the numbers into their own dashboards.

Liwan is Apache 2.0 unless otherwise noted. Medama licenses its core and dashboard under Apache 2.0 and its tracker under MIT. Both licences are permissive.

Before you choose

Liwan had a newer GitHub release than Medama when captured; see each profile for dates. Run each against the same site for a while and compare the numbers with your server logs before deciding. No installation or accuracy test was carried out for this comparison.

Sources

Liwan: liwan-project · Evidence: documentation · Not checked

Medama: medama-project · Evidence: documentation · Not checked

Next step

Tools in this guide

All analytics tools
All guides