Can Grok Bot build it?
Every app
Kinda

Can Grok Bot build Fathom Analytics?

It gets most of the way, but you stay in the loop · and here's exactly where.

Price
$45/mo
You'd save
$540/yr
Who runs it
The bot
Category
Analytics

Not open source, so this one is a genuine build rather than a deploy - and the build is smaller than it looks. Pageview counting is a request, a row and a group-by. A bot puts up a collector, a SQLite table and a dashboard - a small build - and it'll be accurate at small scale. What you're really paying Fathom for is that they run it, they filter bots properly, and they hold the compliance paperwork. At $15 a month, the fair question isn't whether a bot can do it - it's whether you want to be the person who notices when it stops.

The prompt

Written for a bot that already has a browser, a terminal and your logins · paste it in whole.

You have a computer. Build me privacy-first web analytics and keep it running. Small and correct beats clever.

Collector:
- One endpoint that takes a tiny beacon: path, referrer, screen width, and nothing else.
- No cookies. No fingerprinting. No IP stored - hash it with a salt that rotates daily, use the hash only for same-day unique counts, then let it become meaningless. Say this on the dashboard in plain words.
- Serve the beacon script from the same domain as my site so it isn't blocked as third-party.

Storage and dashboard:
- SQLite. Roll raw hits into daily aggregates after 48 hours and drop the raw rows.
- One page: pageviews, uniques, top pages, top referrers, a date range picker. That is the whole dashboard. Do not add more.

The part that decides whether the numbers are worth anything:
- Filter known bots by user agent against a list you refresh weekly from a public source. Log what you filtered so I can see it.
- Ignore requests with no referrer and a headless UA.
- Once a month, compare your totals to my server access logs and tell me the gap.

Running it: put it on a small host under my account (walk me through the signup · wait for me at the payment step), TLS on the host. Back the database up nightly to my Google Drive, and don't let the server's disk fill.

The bot will need to sign into: google-drive

What you lose

  • bot filtering that stays current as the crawlers change
  • EU isolation and the compliance paperwork that comes with it
  • a global CDN so the script never slows your page
  • the accuracy of numbers you didn't compute yourself

The numbers

The page shows $45/mo for 500k pageviews; smaller tiers exist (100k) but their prices were not displayed. No free plan, 7-day trial. Extra sites are $10/mo per 50.

usefathom.com/pricing

Checked against the live page on 2026-08-23

Nobody yet
Share on X →

Questions

Also in analytics