OpenAnalyticsPrivacy-first cookieless self-hosted web analytics platform
TianjiCombined web analytics, uptime, and server status
OpenAnalytics vs Tianji
How OpenAnalytics and Tianji compare on popularity, activity, license and platforms: two open-source Web & Product Analytics projects, both alternatives to Google Analytics.
At a glance
- Tianji has more GitHub stars (3.1k vs 651, about 5× as many).
- Tianji was updated more recently (last commit today, OpenAnalytics 1 month ago).
- OpenAnalytics uses AGPL-3.0 (copyleft); Tianji uses Apache-2.0 (permissive).
- Both can be self-hosted.
- Tianji is the older project (repository started 2023; OpenAnalytics in 2026).
Side by side
| OpenAnalytics | Tianji | |
|---|---|---|
| GitHub stars | ★ 651 | ★ 3,126 |
| Forks | 55 | 202 |
| Last commit | 1 month ago | today |
| Latest version | v0.8.0 | v1.34.7 |
| Repository started | August 2026 | August 2023 |
| License | AGPL-3.0 · copyleft | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Web, Linux, Docker, CLI | Docker |
| Main language | TypeScript | TypeScript |
| Alternative to | Google Analytics | Google Analytics, Google Analytics 4, Pirsch |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
OpenAnalytics
OpenAnalytics tracks page views, events, funnels and Stripe revenue with a small script, ClickHouse storage and an optional MCP server.
Key features
- Cookieless lightweight browser tracker with CI byte budget
- Realtime dashboard with SSE presence stream
- Custom events, funnels and per-site retention
- Stripe-linked revenue analytics
- Embeddable widgets and public share links
- MCP server and oa CLI for setup and stats
Tianji
Tianji bundles website analytics, uptime monitoring, and server status reporting in one open-source application for lightweight operations insight.
Key features
- Website analytics
- Uptime monitoring
- Server status reporting
- Status pages
- Telemetry collection
- OpenAPI interface