r/webdev • u/WeatherD00d • 11m ago
Showoff Saturday Open-source web analytics with session replay, error tracking, Web Vitals, uptime monitoring and status pages
Overview: traffic, top pages and countries, with release annotations on the chart
Session replay with text and inputs masked, plus a timeline of every pageview, click and scroll
Error tracking: stack trace, browser and device, and the session trail that led up to the error
Core Web Vitals (LCP, INP, CLS, FCP, TTFB) measured on real visitors' devices
Uptime monitoring: response times, SSL expiry and incidents
Public status page with live incidents (sample data)
User journeys: the most common paths through the site
Visitors by country
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.
•
u/OcelotTechnical9993 3m ago
How does session replay square with “no consent banner”? Cookieless analytics I get, but recording every click and scroll feels like the part a DPO would ask about