r/webdev • • 17d ago • Heartwarming 1

Showoff Saturday Open-source web analytics with session replay, error tracking, Web Vitals, uptime monitoring and status pages

Hey r/webdev!

We're a small team of 3 building Betterlytics, an open-source web analytics tool. Over the past year and a half, we've also had contributions from 10 other people, which has been really cool to see.

It puts analytics, session replay, error tracking, uptime monitoring and status pages in one dashboard. Here is what's in it so far:

Visitors: Traffic, referrers, geography, campaigns, custom events with properties, funnels, user journeys, and session replay.

User experience: Real-user Core Web Vitals and JavaScript errors, including the pages and events leading up to them.

Uptime: Monitoring, SSL and keyword checks, public status pages, and alerts via email, Slack, Discord, Teams, or webhooks.

A few more details:

  • One tracking script just under 4 KB gzipped.
  • No cookies.
  • Rust + ClickHouse backend and Next.js dashboard.
  • Open source (AGPL) and self-hostable with Docker, every feature included.
  • An MCP server so your AI agent can query your analytics data.

The screenshots are from our live demo (the status page is a sample). You can explore without signing up:

Demo: https://betterlytics.io/demo

GitHub: https://github.com/betterlytics/betterlytics

If you click around the demo, we'd love to hear what you think.

48 Upvotes

26 comments sorted by

View all comments

-3

u/Ok-Snow-6553 17d ago

Rust + ClickHouse for analytics is a powerhouse combo. Getting the tracking script under 4KB gzipped is insanely impressive too—most analytics scripts are bloated monsters. How is the ClickHouse setup handling session replays? That data must pile up fast.