qmetrics.net

OpenAnalytics

Privacy-first cookieless self-hosted web analytics platform

OpenAnalytics screenshot

OpenAnalytics tracks page views, events, funnels and Stripe revenue with a small script, ClickHouse storage and an optional MCP server.

Overview

OpenAnalytics is a privacy-first web analytics product delivered as a pnpm monorepo you can self-host under AGPL-3.0. A lightweight browser tracker sends events to a collector pipeline that lands in ClickHouse, while Postgres holds configuration and Valkey handles queues and realtime presence.

The dashboard covers live visitors, sessions, funnels, retention, embeddable widgets, share links, web vitals, revenue from Stripe, CSV import and export, an AI assistant and an MCP server. Architecture rules keep the frontend behind OpenAPI contracts and route all ClickHouse reads through a signed query gateway.

Self-hosting is documented with a generator script and docker compose up, published container images on ghcr.io, and optional Neon-managed Postgres. A hosted instance at getopen.so runs the same codebase.

The tracker stays cookieless and aggregate-oriented, aimed at sites that want analytics without cross-site profiling or consent banners.

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
  • Ed25519-signed ClickHouse query gateway
  • Docker Compose self-host with automatic TLS guide

Use cases

  • Self-hosting site analytics without third-party cookies
  • Watching live traffic during a product launch
  • Tying marketing funnels to Stripe revenue
  • Connecting an AI assistant to analytics via MCP

Open-source alternative to

Google Analytics 4
“Open Analytics is a privacy-first Google Analytics alternative: realtime visitors, funnels and revenue attribution from one lightweight, cookieless script.” source

Does the same job as

OpenAnalytics doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare OpenAnalytics

Similar software

PostHog

Open-source product analytics and context layer for apps

PostHog ingests analytics, session replays, errors, logs, and related product data so teams and agents can query and act on it. It ships feature flags, experiments, surveys, and warehouse tooling in one platform.

  • Product and web analytics
  • Session replay and heatmaps
  • Feature flags and experiments
PythonWeb, Linux, Docker, CLIDetails →
★ 41.4k⟳ todayMIT · open core
Open Source Alternative to:AmplitudeFathom Analytics+10

Umami

Privacy-first open-source web and product analytics platform

Umami tracks acquisition, behavior, conversion, retention, and revenue in one dashboard without cookies. You can self-host it or use Umami Cloud.

  • Cookie-free privacy-first analytics
  • Traffic campaigns and referrer reports
  • Custom events funnels and goals
TypeScriptWeb, DockerDetails →
★ 40.6k⟳ yesterdayMIT
Open Source Alternative to:AmplitudeFathom Analytics+9

Plausible Analytics

Privacy-first lightweight open-source website analytics

Plausible Analytics collects aggregated, cookie-free website statistics with a simple dashboard. It is available as managed cloud hosting or a self-hosted Community Edition.

  • Cookie-free tracking
  • Single-page dashboard
  • Custom events and goals
ElixirWebDetails →
★ 30k⟳ todayAGPL-3.0
Open Source Alternative to:Fathom AnalyticsGoogle Analytics 4+1

Dub Links

Open-source link attribution and short-link platform

Dub Links is an open-source platform for short links and conversion tracking, built for teams that need link attribution analytics.

  • Short link creation and management
  • Click and conversion attribution
  • Self-hosting option
TypeScriptDetails →
★ 25.3k⟳ todayAGPL-3.0
Open Source Alternative to:BitlyDub

Matomo

Privacy-oriented web and app analytics platform

Matomo collects, visualizes, and analyzes traffic from websites and apps with emphasis on data ownership and privacy controls. You install it on your server or use Matomo Cloud.

  • JavaScript and log analytics
  • Real-time visitor reporting
  • Custom dashboards and segments
PHPWebDetails →
★ 22.1k⟳ todayGPL-3.0
Open Source Alternative to:Fathom AnalyticsGoogle Analytics 4+3

GoAccess

Real-time terminal and browser web log analyzer

GoAccess parses web server access logs and shows traffic statistics in the terminal or a live HTML dashboard. It targets admins and operators who want fast HTTP metrics without a heavy analytics stack.

  • Real-time TUI and HTML views
  • Many predefined log formats
  • Incremental on-disk persistence
CWeb, Linux, Docker, CLIDetails →
★ 21.2k⟳ 3 days agoMIT