[verdict][generated prompt][source: usefathom.com]
Can I vibecode Fathom Analytics?
// one session, and a personal version you can actually use
A simple privacy analytics clone is very buildable; the paid service is hosted compliance posture, uptime, data retention, and polished reporting.
confidence: medium
what it is: Privacy-focused website analytics with simple dashboards
Buildability index · an editorial game
- Price 15 $/month weight: plus 2
- Time weekend weight: plus 2
- Category analytics no weight
- Moat infrastructure scale · brand and trust weight: minus 3
- Confidence medium weight: zero
- What you lose 6 items weight: minus 3
- Site usefathom.com (si apre in una nuova scheda) no weight
The moat outweighs the price: rebuilding this is a project, not an evening.
Gioco editoriale: il verdetto dice se un agente può, l’indice se conviene.
What you build
Collect pageviews/events via JS, aggregate metrics, show simple dashboards, and send reports.
what you need
- hosted backend
- tracker script
- database
- domain/SSL
- backups
- bot filtering
Useful because several analytics apps are genuinely cloneable now.
The prompt
One session with a coding agent and your version runs.
Build me a privacy-first web analytics service to replace Fathom Analytics. Requirements:
- Node + Express + better-sqlite3, one small app I deploy on my VPS behind
Caddy or nginx.
- The tracker: a single script tag under 2 KB that sends pageview beacons
(path, referrer, screen width) with navigator.sendBeacon. No cookies.
- Count unique visitors without storing personal data: hash IP + user agent
with a salt that rotates daily, then drop the raw values.
- Filter obvious bots against a user-agent blocklist before counting.
- Dashboard page: pageviews, uniques, top pages, top referrers over 7/30/365
days, one Chart.js line chart plus tables. Protected by a single bearer
token from .env, no user accounts.
- Retention: raw events kept 30 days, daily rollups kept forever, pruned by a
nightly node-cron job.
- No cookies, no personal data at rest, no telemetry of its own.
- Out of scope: email reports, team seats, billing. One site, or a short site
list in config.
- README: deploy steps, adding the script tag, and a plain note that this is
polite analytics, not a legal compliance product. Prompt generated from the data on this page, not reviewed by hand yet. In English on purpose — it is the language coding agents work best in.
What you lose
- managed infrastructure
- privacy/compliance messaging
- email reports
- uptime
- support
- billing
Why people still pay
They pay to avoid maintaining analytics infrastructure and privacy copy themselves.
moat: Infrastructure scale Brand and trust what a moat is
hosting/compliance positioning
Free alternatives
Not in the mood to build it? These already exist, they are free or open source, and we checked them one by one.
Who has already built it
Starting from here is still vibecoding: the prompt is for when you want it exactly your way.
- Umami (opens in a new tab) — Open-source privacy-focused analytics platform and practical DIY alternative. (alive)
Do you agree?
The vote balance
Ancora nessun voto: il tuo è il primo.
Nessun voto ancora — il primo pesa.