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.
On this page
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
Medama
Analytics
Covered in this guide
Medama Analytics is an open-source project for self-hostable, cookie-free website analytics with a tracker of less than 1KB.
PricingFree plan availablePrice terms
Free plan · paid prices not verified
Liwan
Analytics
Covered in this guide
Liwan is self-hosted web analytics showing most-visited pages, traffic sources and traffic over time on a real-time dashboard with bot filtering on by default.
PricingFree plan availablePrice terms
Free plan · paid prices not verified
Plausible Analytics
Analytics
Website analytics with a compact dashboard, goals and custom events. · Evidence needs recheck
Documented price9.00/mo (currency not stated)Price needs recheckPrice terms
Documented price: 9.00/mo (currency not stated) · Plan: Starter · commitment not established
Fathom Analytics
Analytics
Website analytics with pageviews, custom events, campaign tracking and reports. · Evidence needs recheck
Documented price$15/moPrice needs recheckPrice terms
Documented price: $15/mo · Plan: 100,000 monthly pageviews · commitment not established
VendorClue research
Read the evidence behind software costs
Choose the research you want about software costs and plan limits, then confirm your address by email. We write only about the topics you select.
Keep reading
All guidesWordPress hosting
A monthly hosting rate can mean four years of upfront payment
A dated Hostinger prepayment example and a checklist for checking the current renewal terms.
WordPress hosting
WordPress hosting: compare the first payment and renewal
A historical hosting-price example and a checklist for comparing current upfront and renewal costs.
Transactional email
Email history, event delivery and archiving: compare the scope
Compare the retained evidence for Resend, Postmark and Amazon SES without treating activity history, statistics and archiving as the same service.