Help Center / Getting started
01 · Getting started
Measr is a self-hosted analytics toolkit. You run it on your own Supabase project and your own domain. This page explains the three pieces, what you need before installing, and which setup path to pick.
Measr ships as a repository, not a service. Everything you deploy comes from three folders:
| Piece | Where it lives | What it does |
|---|---|---|
| Tracking SDK | sdk/measr.js | One ES module, about 10 KB minified. Nine tracking modules, no cookies. You add it to your site with a short init snippet. |
| Database | database/migrations/ | Numbered SQL files you run on a free Supabase project. They create the tables, indexes, security policies, and the server-side functions the dashboard calls. |
| Dashboard | dashboard/ | A React app that builds to a static dist/ folder. Deploy it to any static host, sign in, and read your data across eight sections. |
The data flows in one direction:
Your site ──→ sdk/measr.js ──→ Your Supabase ──→ dashboard/
(anon key, (Postgres + (auth-gated
INSERT only) RLS + RPCs) reads)
The tracking script writes with the Supabase anon key, which is locked down to inserting events. It cannot read, change, or delete anything. The dashboard reads as an authenticated user. That split is the whole security model: the key you ship in public code can only add rows.
localStorage with a 30-minute idle timeout. No fingerprinting, no cross-domain tracking, no PII collected by default.node --version to check)Browser support: the SDK uses crypto.randomUUID(), which sets the minimums at Chrome 92+, Edge 92+, Firefox 95+, Safari 15.4+. All current browsers are covered.
Both paths produce the same install. The difference is who does the typing.
The repo ships a built-in setup skill for Claude Code, plus a ready-made prompt for Cursor, Windsurf, and other assistants. The assistant checks your prerequisites, walks you through Supabase, scans your site, shows you exactly what will be tracked before writing any code, and verifies each event type at the end.
Continue with the guided setup →
Seven steps you run yourself: create the Supabase project, run the migrations, add the tracking snippet, create a dashboard user, configure and build the dashboard, deploy, verify. Nothing in it requires prior Supabase experience.
Continue with the manual setup →
The live demo at demo.measr.app is a real Measr dashboard reading real data. The sign-in form is pre-filled: just click Sign In and click around the eight sections.