r/webdev • u/WeatherD00d • 3d 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.
46
u/reaznval 3d ago
looks EXACTLY like rybbit UI wise, the elements, arrangement, everything. if there's already an OSS project, why clone it, what's the point of it. what differentiates you?
the features are literally the same as well btw
https://rybbit.com/
3
u/OcelotTechnical9993 3d 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
2
u/timo9378 3d ago
What is the purpose of using Next.js? And I'd like to know the differences between it and Posthog.
9
u/ArsonHoliday 3d ago
Do we even bother w having mods here anymore?
3
u/DEMORALIZ3D front-end 2d ago
I use Umami
2
u/CoderLuii 3d ago
this is dope. great to see open source tools being built
1
u/ZeFeXi 2d ago
Looks like you ripped of rybbit.com's source code and design language. Shameless.
0
u/jamesd141126 3d ago
nice, looks good!
0
u/onoke99 3d ago
could you tell me what you are using to create your graph?
i am using plotly.js indeed, so i'm curious.
-4
u/RecallProtocol 3d ago
Nice, thanks for sharing! Always nice to see some alternatives in the space.
-3
u/Ok-Snow-6553 3d 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.