Projects

Analytics

analytics · public dashboard

Cookie-free analytics that cannot tell two visitors apart.

Hono on Cloudflare Workers, D1 and Core Web Vitals, with a public dashboard. A row holds a path, a referrer host, a country, a locale, a theme and a device class, and there is no consent banner because there is nothing to consent to.

  • TypeScript
  • Hono
  • Cloudflare Workers
  • D1
  • React
  • Vitest
CORE WEB VITALSLCPINPCLS/en/projectsgithub.comFR/fr—BETRACKER.JSDrawing: the public dashboard with page views, Core Web Vitals and the few columns a row holds, beside a slip listing what is never storedPAGE VIEWSPublic dashboardPATHREFERRERCOUNTRYTHEMEDEVICEdarkmobilelightdesktopNEVER STOREDcookieIPuser agentfingerprinthashunder 1 kB gzippedFED BY THIS SITE, MÊLÉE, ON-RECORD AND SCOREBOARDno consent banner: nothing to consent to
Coverage
20%
lines run by the tests run outside the Worker, read 2026-10-02
House packages
8 of 11
installed from npm

At a glance

  • No cookie, no IP, no user agent, no fingerprint and no hash stored: a row holds a path, a referrer host, a country, a locale, a theme and a device class.
  • No consent banner, because there is nothing to consent to.
  • A page view reached from another page of the same site continues a visit; anything else starts one.
  • tracker.js weighs under 1 kB gzipped, follows single-page navigation, and never runs on localhost or in an automated browser.
  • Adding ?analytics=off to a URL stops counting that browser.

How it works

four apps report, one Worker writes a row

tracker.jsMêléetracker.json-recordtracker.jsScoreboardtracker.jsHono · CloudflareDiagram: this site, Mêlée, on-record and Scoreboard each run tracker.js, which sends page views to one Hono Worker on Cloudflare; it writes a row of six fields to D1 and never stores a cookie, an IP, a user agent, a fingerprint or a hash; the public dashboard reads D1This siteOne WorkerD1 · one rowpathreferrer hostcountrylocalethemedevice classDashboardpublic · ReactNever storedcookie · IP · user agentfingerprint · hash

House packages

8 of the 11 house packages, from npm, down to the compiler and linter settings.

Your team, perhaps?

I am looking for my next job. Write to me, or take the CV: a designed one, and a plain one for applicant tracking systems.