Can Grok Bot build Fathom Analytics?
it builds, but you host it, babysit it, or wire up an OAuth app yourself.
- price
- $45/mo
- you'd save
- $540/yr
- who hosts 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 in an afternoon 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: keep it up on a stable URL with TLS, back the database up nightly, and don't let the disk fill.
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/pricingchecked against the live page on 2026-08-23