Vibecode Fathom Analytics

track this build4 phases, 12 steps, beginner friendly
YES · one-shottable
price $15/moyou'd save $180/yrbuild time weekendcategory 📊 analyticsreplaced by 0 people

A simple privacy analytics clone is very buildable; the paid service is hosted compliance posture, uptime, data retention, and polished reporting.

the project pack5 files · written for this build, step by step
README.md
# Fathom Analytics · indie build

A web analytics service whose measurement approach is dictated by the conditions of an exemption: no storage on the device, no cross-site identity, no third-party sharing, and honest reporting of the uncertainty that those constraints introduce.

Estimated effort: **multi-day**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Collection | A small script sending an event with no device storage | storing anything on the device is the thing that triggers consent |
| Identity | A rotating daily salted hash, never a persistent identifier | a visitor should not be linkable across days, let alone across sites |
| Aggregation | Counts computed and stored, raw events discarded quickly | short retention is a condition of the exemption and a real protection |
| Reporting | Figures with their uncertainty stated | measurement without identifiers is approximate and should say so |
| Runtime | TypeScript with PostgreSQL | the work is ingestion, aggregation and honest presentation |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **Node.js 22 or newer** · free
  - Why: Runs ingestion, aggregation and reporting.
  - Get it: nodejs.org, or nvm install 22.
  - Verify: node --version prints v22 or higher
- [ ] **PostgreSQL 16 or newer** · free locally
  - Why: High-volume event ingestion and scheduled aggregation with reliable deletion.
  - Get it: Docker or your package manager.
  - Verify: psql connects and a scheduled deletion runs correctly
- [ ] **Your legal position, written down** · free to read; advice worth having if this is commercial
  - Why: The exemption conditions become architecture in this build, and which apply to you depends on where your visitors are and which regulator you are answering to.
  - Get it: Read the audience measurement guidance for the jurisdictions your visitors are in and write down the conditions you are relying on.
  - Verify: A written note lists the conditions and each maps to a constraint in the build
- [ ] **A real site with real traffic** · free
  - Why: Blocking rates, referrer quality and the difference between your figures and another tool's only appear against real visitors.
  - Get it: Your own site, running both this and an existing tool for a fortnight so the figures can be compared.
  - Verify: Two weeks of parallel measurement exist for comparison
- [ ] **A browser you can inspect storage in** · free
  - Why: The central claim is that nothing is written to the device, and that is verified by looking rather than by reading the code.
  - Get it: Any browser with developer tools, plus a blocker installed to test the blocked case.
  - Verify: Storage is confirmed empty after browsing several pages

## Quick start

Follow Phase 1 in `BUILD_PLAN.md`; it creates the project.

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Individual-level funnels, cohorts and attribution.
- Legal advice about your jurisdiction.
- Cross-site or cross-device measurement.
- Feature parity with tools that identify people.
- managed infrastructure
- privacy/compliance messaging
- email reports
- uptime
- support
- billing

If one of those is essential to you, that is the reason to keep paying for Fathom Analytics, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

They pay to avoid maintaining analytics infrastructure and privacy copy themselves.

what you lose

xmanaged infrastructure

xprivacy/compliance messaging

xemail reports

xuptime

xsupport

xbilling

share on X ↗"I just replaced Fathom Analytics ($15/mo) with one prompt"
the escape hatch

Don't feel like building it? These folks already made it free.

UmamiSimple privacy analytics with enough events and goals to avoid paying for simplicity.38kaug 2026open source↗Plausible Community EditionThe closest philosophical match, except you operate the Compose file.28kaug 2026open source↗GoatCounterA smaller privacy dashboard for people who truly meant simple.5.8kaug 2026open source↗

all 3 free alternatives to Fathom Analytics →· no votes, no pay-to-list · just what's real

the numbers

Fathom Analytics pricing

planmonthlyannual (per mo)what you get
100k pageviews$15/workspace$12.50/workspaceUp to 100,000 monthly pageviews; up to 50 sites included
200k pageviews$25/workspace$20.83/workspaceUp to 200,000 monthly pageviews; up to 50 sites included
500k pageviews$45/workspace$37.50/workspaceUp to 500,000 monthly pageviews; up to 50 sites included
1m pageviews$60/workspace$50/workspaceUp to 1,000,000 monthly pageviews; up to 50 sites included
2m pageviews$100/workspace$83.33/workspaceUp to 2,000,000 monthly pageviews; up to 50 sites included
5m pageviews$140/workspace$116.67/workspaceUp to 5,000,000 monthly pageviews; up to 50 sites included
10m pageviews$200/workspace$166.67/workspaceUp to 10,000,000 monthly pageviews; up to 50 sites included
15m pageviews$290/workspace$241.67/workspaceUp to 15,000,000 monthly pageviews; up to 50 sites included
20m pageviews$380/workspace$316.67/workspaceUp to 20,000,000 monthly pageviews; up to 50 sites included
25m pageviews$470/workspace$391.67/workspaceUp to 25,000,000 monthly pageviews; up to 50 sites included

free tierno free tier

billingmonthly + annual (2 months free); 7-day trial; auto-renews until canceled

hidden costsCustom events and API calls count toward pageviews; extra sites cost an additional unpublished fee. Two consecutive months over the limit trigger an offered upgrade rather than immediate throttling.

verified 2026-08-12 · source ↗

questions
Vibecode Fathom Analytics

Yes. A competent AI coding agent (Claude Code, Codex, Cursor) can build a usable personal Fathom Analytics replacement in one session with the prompt on this page. It runs on your own machine or server with no subscription.

How much does Fathom Analytics cost?

Fathom Analytics costs about $15/month (Standard, checked 2026-07-30), which is $180 per year. That's what you save by replacing it with one prompt.

What do I lose by replacing Fathom Analytics?

Honestly: managed infrastructure; privacy/compliance messaging; email reports; uptime; support; billing. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Fathom Analytics?

Yes: Umami (Simple privacy analytics with enough events and goals to avoid paying for simplicity.) Plausible Community Edition (The closest philosophical match, except you operate the Compose file.) GoatCounter (A smaller privacy dashboard for people who truly meant simple.) All 3 curated free alternatives are at vibecodeit.com/fathom-analytics/alternatives. The prompt is for when you want it exactly your way.