Skip to content

openanalytics

Cookieless, self-hostable web analytics with funnels and Stripe revenue tracking

Copyleft (OSI) · AGPL-3.0

Listed by , founder & editor

66

Health

Active

Overview

Stars

652

Last commit

33 days ago

Oct 2026

Repository age

3 months

since Aug 2026

Latest version

v0.8.0

Sep 2026

Contributors

–

3 active in 90 days

Releases

14

last 12 months

Language

TypeScript

OpenAnalytics is a web analytics tool that uses one small tracker script and sets no cookies. It records page views, custom events, sessions, web vitals, funnels and per-site retention. Visitor identity is a salted hash that rotates nightly, so a trail lasts one visit. City-level location is optional per site and uses a database on your own disk.

It also provides embeddable widgets, public share links, revenue analytics from your own Stripe account, CSV and JSON import and export, an MCP server and an oa command-line tool.

The code is a TypeScript pnpm monorepo: tracker, collector, worker, API, query gateway, realtime stream and a Next.js dashboard. Data lives in Postgres and ClickHouse, with two Valkey instances for queues and caching. It is AGPL-3.0, self-hostable, and also offered as a hosted service. It is a direct replacement for Google Analytics.

Who it's for

Site owners who want analytics without a consent banner

The tracker sets no cookies and builds no cross-site profiles.

Skip if: You need session replay or heatmaps.

Online shops tracking revenue by traffic source

It reads revenue from your Stripe account and supports funnels.

Skip if: You need mobile app SDKs.

Teams with infrastructure experience

You can run the full stack on your own hardware.

Skip if: You do not want to run Postgres, ClickHouse and Valkey.

The problem it solves

Google Analytics relies on cookies and sends visitor data to a third party. This gives you page, funnel and revenue reports without cookies, on servers you choose.

Strengths

  • No cookies and no cross-site profiles
  • Funnels, retention, web vitals and Stripe revenue analytics
  • CSV and JSON import and export
  • MCP server and CLI included
  • 14 releases in the past year

Trade-offs

  • Self-hosting means running Postgres, ClickHouse and two Valkey instances
  • No cohort retention analysis
  • No mobile app SDKs
  • No session replay or heatmaps

openanalytics replaces

Self-host openanalytics

Self-hostable
Yes
Hosted plan
From $40.83/month · pricing

In the community

Frequently asked questions

Can I self-host it?

Yes. It is AGPL-3.0 and designed to run on your own hardware.

Does it need a cookie banner?

It uses no cookies and rotates visitor hashes nightly, which is designed to avoid consent banners.

Does it track revenue?

Yes. It reads revenue analytics from your own Stripe account.

Is there a hosted version?

Yes, at getopen.so, run by the authors on the same code.

Other Google Analytics alternatives

Compare all 12 Google Analytics alternatives →

Similar tools in Analytics platforms

GEOInflow

Analytics platforms

Self-hosted web and AI crawler analytics for teams working on generative engine

871 263 10 days ago Active MIT

koko-analytics

Analytics platforms

Cookieless analytics plugin for WordPress sites that want simple stats in the admin

405 39 10 days ago Thriving GPL-3.0

Replaces Google Analytics

poeticmetric

Analytics platforms

Cookieless, privacy-first web analytics you can self-host or rent as a managed service

268 16 9 months ago Slowing AGPL-3.0

Replaces Google Analytics

wp-statistics

Analytics platforms

Cookieless visitor analytics plugin for WordPress sites, stored in your own database

129 39 4 days ago Thriving GPL-3.0

Replaces Google Analytics

GoAccess

Analytics platforms

Real-time web server log analyzer for admins, in the terminal or a live HTML dashboard

21k 1.2k 3 days ago Active MIT

PostHog

Analytics platforms

Self-hostable product analytics suite with replay, flags and experiments

41k 3.7k today Thriving MIT

Replaces AmplitudeAmptitudeMixpanel +1