liwan.dev - Self-hosted, privacy-first web analytics
Understand your traffic
See real-time data on your most-visited pages, traffic sources, and changes over time. Built-in bot filtering helps keep automated traffic out of your reports.
Run it on your own server
Install Liwan as a single binary or Docker container. No need to set up any additional services or databases.
Privacy first
No tracking cookies or cross-site tracking. Your analytics data stays on your server, and raw IP addresses aren't recorded. See what Liwan collects.
Control what you collect
Set how long to keep your data and adjust location detail, campaign tracking, visitor grouping, and session metrics.
Easy to integrate
Add one script tag to your site, or send events directly from your server. Track pageviews and custom events with any framework or CMS.
Single Sign On
Set up teams and manage accounts with Google Workspace, Microsoft Entra ID, or an OpenID Connect provider such as Keycloak or Dex.
Unless otherwise noted, this repository is licensed under the Apache License, Version 2.0.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Liwan by you, as defined in the Apache-2.0 license, shall be licensed under Apache-2.0, without any additional terms or conditions.

