# Betterlytics

> An open-source, self-hosted analytics tool that merges traffic stats, session recordings, error capture, web vitals, and uptime checks into one privacy-first dashboard.

- **Category:** Analytics
- **Licence:** AGPL-3.0
- **Latest version:** v1.5.1
- **Open source:** oss
- **Languages:** Typescript
- **Platforms:** Docker Compose
- **Tags:** Web Analytics, PostgreSQL, Clickhouse, Gdpr, Product Analytics, Session Replay, Mcp Server, Error Tracking, Uptime Monitoring, Next.js, Docker, Open Source, Rust, Cookieless, Self Hosted, Status Page, Gdpr Compliant, Privacy friendly, Self hosted analytics, Core Web Vitals, Open Source Analytics, Real User Monitoring, Web Vitals, Google Analytics Alternative

## Description

Betterlytics is an open-source web analytics platform that unifies traffic analytics, session replay, client-side error tracking, Core Web Vitals monitoring, and uptime monitoring with public status pages in a single dashboard. It runs without cookies, is GDPR/CCPA/PECR compliant, and can be self-hosted via Docker Compose on your own infrastructure. The platform is built on Rust, Next.js, ClickHouse, and PostgreSQL. Self-hosting uses a dedicated repository with an interactive setup script that generates configuration and deploys containers for the app, PostgreSQL, and ClickHouse. The tracker script is ~3.5KB gzipped and loads asynchronously. Features include multi-user access with roles and permissions, two-factor authentication, OAuth via Google and GitHub, a built-in MCP server for AI-assisted analytics queries, and integrations with Slack, Discord, Teams, and webhooks for alerts. The self-hosted edition includes all core features but may receive updates after the cloud version.

## Links

- [Homepage](https://github.com/betterlytics/betterlytics)
- [Website](https://betterlytics.io/)
- [Docker](ghcr.io/betterlytics/betterlytics-selfhost)
- [Demo](https://betterlytics.io/demo)
- [Documentation](https://betterlytics.io/docs)
- [GitHub Repository](https://github.com/betterlytics/betterlytics)
- [Discord Community](https://discord.gg/vwqSvPn6sP)
- [Bluesky](https://bsky.app/profile/betterlytics.bsky.social)
- [Features](https://betterlytics.io/features)
- [Pricing](https://betterlytics.io/pricing)
- [Changelog](https://betterlytics.io/changelog)

---
Source: https://selfhost.directory/project/betterlytics