Analytics comparison
Liwan vs Tianji
Prices, documented capabilities and limits from dated official sources, side by side. Unknowns remain unknown; different billing units do not establish a cost winner.
Latest evidence check Nov 10, 2026
Who it is forLiwan 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.
Latest evidence check Nov 9, 2026
Who it is forTianji combines website analytics, an uptime monitor and server status in one application.
What the evidence answers
A reading of reviewed official documentation for Liwan and Tianji. It is not a hands-on test, a ranking or a recommendation of one product.
- Common buyer questions answered
- 2 requirements
- Documented for one
- 2 requirements
- Not verified for either
- 1 requirement
- Prices
- Not like-for-like yet
Price
Liwan
Free plan · paid prices not verified ·
- Self-hosted: no subscription charge ·
Tianji
Free plan · paid prices not verified ·
- Self-hosted: no subscription charge ·
A complete like-for-like price comparison is not established; the next steps say what is missing.
Common buyer questions answered
Even when labels match, check each source for differences in plans, units and scope.
- Retention
- Liwan The operator chooses what data to collect and how long to keep it.
- Tianji Self-hosted Tianji runs an automatic data cleanup by default (DISABLE_AUTO_CLEAR defaults to false) and keeps audit logs for 30 days by default (AUDIT_LOG_RETENTION_DAYS).
- Privacy
- Liwan The README says Liwan uses no tracking cookies or cross-site tracking, keeps analytics data on your own server and does not record raw IP addresses.
- Tianji The tracker script's optional data-do-not-track attribute makes it respect the browser's Do Not Track setting and disable tracking when DNT is enabled.
Documented in unconfirmed terms
These facts may describe different measures, markets, languages or scopes. Check each plan, unit and period before comparing them.
- Events
- Liwan Liwan tracks with a small browser script added with one line of HTML, or events can be sent entirely from your server, with any framework or CMS.
- Tianji Click events are recorded by adding a data-tianji-event attribute to a page element; extra event data can be attached with data-tianji-event-{key} attributes.
Limits to check
- Liwan Liwan runs as a single binary or Docker container with the dashboard and database built in and no additional services.
- Liwan Teams and accounts can use single sign-on through Google Workspaces, Microsoft Entra or your own OpenID Connect provider such as Keycloak or Dex.
- Tianji Tianji is positioned for users with lightweight needs; the README says specialised tools still make sense for experts.
Not verified yet
No reviewed evidence for either product on projects.
Documented for one product only, shown in the table below: Tianji: exports and sites.
Not verified means our reviewed sources do not establish it. It does not mean a product lacks the capability or that it costs nothing.
Side-by-side evidence
Documented values with their sources and check dates; requirements the sources do not establish stay marked.
- Documented as supported
- Documented as unsupported
- Not verified Sources do not establish it
- Not applicable
| Requirement | Liwan | Tianji |
|---|---|---|
| Pricing | Free plan · paid prices not verified | Free plan · paid prices not verified |
| Who it is for | 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. Verified Nov 6, 2026 · Liwan: liwan-project | Tianji combines website analytics, an uptime monitor and server status in one application. Verified Nov 6, 2026 · Tianji: tianji-project |
| Coverage limits | Liwan runs as a single binary or Docker container with the dashboard and database built in and no additional services. Verified Nov 6, 2026 · Liwan: liwan-project
| Tianji is positioned for users with lightweight needs; the README says specialised tools still make sense for experts. Verified Nov 6, 2026 · Tianji: tianji-project |
| Events | Liwan tracks with a small browser script added with one line of HTML, or events can be sent entirely from your server, with any framework or CMS. Dated publisher project README (release liwan-v1.8.2) captured on 9 November 2026; supplier description, not a deployment or independent test. Event volume limits and event properties are not stated in the README. Verified Nov 10, 2026 · Liwan: liwan-project | Click events are recorded by adding a data-tianji-event attribute to a page element; extra event data can be attached with data-tianji-event-{key} attributes. Tianji documentation in msgbyte/tianji at release v1.34.1, captured on 8 November 2026 (Tracker Script page). The same page documents automatic page-view tracking (data-auto-track, on by default) and a window.tianji.track() JavaScript API for custom events. Supplier documentation, not a hands-on test. Verified Nov 9, 2026 · Tianji: tianji-trackscript-project |
| Retention | The operator chooses what data to collect and how long to keep it. Dated publisher project README (release liwan-v1.8.2) captured on 9 November 2026; supplier description, not a deployment or independent test. The README states no default retention period, minimum or maximum; the setting is described only in general terms. Not a configuration test. Verified Nov 10, 2026 · Liwan: liwan-project | Self-hosted Tianji runs an automatic data cleanup by default (DISABLE_AUTO_CLEAR defaults to false) and keeps audit logs for 30 days by default (AUDIT_LOG_RETENTION_DAYS). Tianji documentation in msgbyte/tianji at release v1.34.1, captured on 8 November 2026 (Environment Variables page). Which data the automatic cleanup removes, and after how long, is not stated there; DISABLE_AUTO_CLEAR=true turns it off. Not a hands-on test. Verified Nov 9, 2026 · Tianji: tianji-env-project |
| Privacy | The README says Liwan uses no tracking cookies or cross-site tracking, keeps analytics data on your own server and does not record raw IP addresses. Dated publisher project README (release liwan-v1.8.2) captured on 9 November 2026; supplier description, not a deployment or independent test. Supplier statement, not a privacy audit or legal-compliance finding; the README links a separate "Collected data" page that was not captured. Verified Nov 10, 2026 · Liwan: liwan-project | The tracker script's optional data-do-not-track attribute makes it respect the browser's Do Not Track setting and disable tracking when DNT is enabled. Tianji documentation in msgbyte/tianji at release v1.34.1, captured on 8 November 2026 (Tracker Script page). The attribute is optional and has no listed default, so Do Not Track is honoured only when it is set; the page also documents a localStorage flag (tianji.disabled) that disables tracking. No privacy audit or legal-compliance finding. Verified Nov 9, 2026 · Tianji: tianji-trackscript-project |
| Exports | Not verified | Tianji provides a REST API (JSON over HTTPS, authentication required) for programmatic access to its features, including website analytics data. Tianji documentation in msgbyte/tianji at release v1.34.1, captured on 8 November 2026 (API Getting Started page). Access uses an API key and the ALLOW_OPENAPI setting. A file export (CSV or JSON download) is not established by this page, and no API call was made. Verified Nov 9, 2026 · Tianji: tianji-api-project |
| Sites | Not verified | Tianji's website list provides the tracker snippet, a script under 2 KB that identifies the site with a data-website-id attribute. Tianji documentation in msgbyte/tianji at release v1.34.1, captured on 8 November 2026 (Tracker Script page). No limit on the number of websites is stated for the self-hosted software; an optional data-domains attribute restricts tracking to listed domains. Not a hands-on test. Verified Nov 9, 2026 · Tianji: tianji-trackscript-project |
| Coverage note | Dated publisher project README captured on 5 November 2026; supplier description, not a deployment or independent test. Infrastructure, accounts, third-party services and managed offerings have separate costs and terms. | Dated publisher project README captured on 5 November 2026; supplier description, not a deployment or independent test. Infrastructure, accounts, third-party services and managed offerings have separate costs and terms. |
1 requirement without reviewed evidence here
Not verified means the reviewed sources do not establish it; it does not mean a product lacks it or that it costs nothing.
- Projects Liwan: not verified · Tianji: not verified
Next steps
- Confirm Liwan's paid plan prices, billing term and taxes on its official pricing page; only its free plan is verified here.
- Confirm Tianji's paid plan prices, billing term and taxes on its official pricing page; only its free plan is verified here.
- Ask Liwan about projects, exports and sites; our sources do not establish them yet.
- Ask Tianji about projects; our sources do not establish it yet.
Commissions never change costs, eligibility or rankings.