Open AnalyticsOpen Analytics

Website analytics that are transparent and lightweight— with data on your own Supabase.

Track visitors, visits, pageviews, and bounce rate. One script, no separate backend. Open source, self-hosted, built for startups and side projects.

MIT · Open sourceNo complex cookie banners

Free · Self-hosted · No credit card required

Why Open Analytics

Simple analytics when you only need real numbers

Not an enterprise GA replacement — but enough for blogs, landing pages, small SaaS, and side projects that need data transparency.

Google Analytics is overkill for small sites

Complex dashboards, sampling, and cookie policies make daily traffic checks feel heavy.

SaaS analytics — data you do not own

Plausible, Umami cloud… convenient but vendor-dependent. Hard to export, customize schema, or integrate deeply.

Self-hosting without the long setup

Umami self-hosted, Matomo… need servers, Docker, DB migrations. Many teams only want a lean tracker + dashboard.

Direct SQL on your events

With data on Supabase Postgres, query, join, alert, or pipe into BI — no middleware API.

Dashboard

One screen — the metrics you need every day

Visitors, visits, channel breakdown, and a realtime globe when you need to see who is online.

Open Analytics

my-startup.com

Last 30 days

3 online

Visitors

12,847

Visits

18,203

Pageviews

41,592

Bounce rate

38%

Avg. visit time

2m 14s

Channels

  • Direct42%
  • Organic31%
  • Referral18%
  • Social9%

Realtime globe · COBE 3D

Features

Everything you need to understand traffic — nothing extra

From tracker to dashboard and realtime — Next.js + Supabase stack, you own the schema.

Lightweight tracker

One JS file, visitor fingerprinting, events via fetch — Supabase or a custom endpoint.

Clear metrics

Visitors, visits, pageviews, bounce rate (per visit), session duration — Umami-style definitions.

Full breakdowns

Channel, referrer, UTM, pages, entry/exit, country, browser, device, OS — 7 or 30 days.

Realtime map

3D globe + live visitor list via Supabase Realtime.

Custom events & SPA

track(), identify(), click tracking; hooks pushState/replaceState for Next.js and SPAs.

Geo & bot filter

Lat/lng cached in localStorage; bot filter by User-Agent; optional Do Not Track.

How it works

Three steps from zero to dashboard

No separate tracking server — events go straight to Supabase (or an endpoint you choose).

01

Create Supabase & run schema

Registry project + one events project per site. Enable Realtime on the events table.

schema-analytics.sql · your events5 min
02

Add site & paste script

Dashboard generates a site key; copy one script tag into HTML or your Next.js layout.

data-site-key="..." · tracker.js1 line
03

View stats & realtime

Pageviews, UTM, device, geo — breakdowns and globe when visitors are online.

visitors: 847 · visits: 1.2kLive

Compare

Open Analytics vs other tools

Pick a competitor to see a 3-column table: criteria · Open Analytics · competitor.

Privacy analytics SaaS — AGPL self-host available.

Criteria
Open Analytics
Plausible
Data ownership (DB / self-host)
Open source
Self-host — no mandatory SaaS fee
Lightweight tracker, one script
Privacy-friendly / minimal cookies
Visits & bounce rate per visit
Realtime globe / live visitors
Direct SQL / Postgres (Supabase)
Revenue attribution (Stripe, LTV…)
Full funnel & ads attribution
Free long-term (no subscription)

Plausible Cloud is paid SaaS; self-host is free under the license but you run the server.

FAQ

Frequently asked questions

Pricing, privacy, Supabase, and how we compare to popular tools.

MIT licensed, self-hosted. You only pay for Supabase (free tier is usually enough for small sites). No subscription fee from Open Analytics.

Open source

Commit activity on GitHub

Data fetched directly from the GitHub API for Open-Analytics— no third-party service.

buigiathanh/Open-Analytics

Web analytics · Next.js + Supabase

GitHub is computing commit stats

API returned 202 (not ready yet) — common for new repos. View commits on GitHub:

https://github.com/buigiathanh/Open-Analytics/commits

github.com/buigiathanh/Open-Analytics · GitHub REST API · refreshed hourly

Get started

Add the tracker in 5 minutes — data on your Supabase

Free, open source, no credit card. Add a site in the Dashboard and copy the script.