Loading page
Loading page
Analytics · Google Analytics alternative
Cookie-free web analytics with funnels, live visitors, revenue reports and an MCP server for AI agents.
Open Analytics is a privacy-first web analytics platform. You add one light tracker script to your site. It records page views, events, sessions and web vitals without cookies and without building profiles across sites. The dashboard shows funnels, retention, live visitors and revenue from your Stripe account.
Under the hood it is a set of services: a collector for incoming events, workers that write to ClickHouse, an API, a realtime stream and a Next.js dashboard. Postgres holds settings, and two Valkey instances hold the queue and the live cache. This template runs the full official stack.
Open Analytics suits site owners, SaaS founders and agencies who want detailed analytics but do not want to track people. The MCP server and CLI also make it a good fit for developers who work with AI agents.
Hosted privacy analytics usually charge by monthly page views. Self-hosting removes that limit, and visitor data stays on your own disk, which helps with privacy rules.
The trade-off is size and care. The stack has many containers, including ClickHouse, and needs several domains for the app, API, collector and realtime service. You look after updates, disk space for event data, and backups. The project is young, at version 0.5, so read release notes before upgrading.
Containers: postgres:17-alpine, ${OA_IMAGE_REPO:-ghcr.io/openlabs-so/openanalytics}/clickhouse:${OA_IMAGE_TAG:-v0.5.0}, ${OA_IMAGE_REPO:-ghcr.io/openlabs-so/openanalytics}/valkey:${OA_IMAGE_TAG:-v0.5.0}, alpine:3.21, ${OA_IMAGE_REPO:-ghcr.io/openlabs-so/openanalytics}/migrate:${OA_IMAGE_TAG:-v0.5.0}, ${OA_IMAGE_REPO:-ghcr.io/openlabs-so/openanalytics}/query-gateway:${OA_IMAGE_TAG:-v0.5.0}, ${OA_IMAGE_REPO:-ghcr.io/openlabs-so/openanalytics}/api:${OA_IMAGE_TAG:-v0.5.0}, ${OA_IMAGE_REPO:-ghcr.io/openlabs-so/openanalytics}/collector:${OA_IMAGE_TAG:-v0.5.0}, ${OA_IMAGE_REPO:-ghcr.io/openlabs-so/openanalytics}/realtime:${OA_IMAGE_TAG:-v0.5.0}, ${OA_IMAGE_REPO:-ghcr.io/openlabs-so/openanalytics}/worker:${OA_IMAGE_TAG:-v0.5.0}, ${OA_IMAGE_REPO:-ghcr.io/openlabs-so/openanalytics}/web:${OA_IMAGE_TAG:-v0.5.0}, caddy:2-alpine
Step 1
Choose the Starter plan. It costs $20 a month and runs up to 3 apps.
Step 2
Open App templates in the dashboard, choose Open Analytics, and click Deploy. We set up the containers, secrets and domain.
Step 3
Wait a few minutes for the first deploy, then open your new URL and finish the Open Analytics setup screen.