📊 Analytics · $9/mo

Can I vibe code Plausible?

Privacy-first web analytics in one lightweight script.

🟢Yes — build itest. a weekend

Privacy-first analytics is almost a rite-of-passage vibe build: a tiny tracking script, an ingest endpoint, and a dashboard of pageviews, referrers, and top pages — no cookies, no fingerprinting, nothing to consent-banner. Plausible themselves are open source, so you can also just self-host the real thing. Either path ends the subscription; the DIY path additionally teaches you exactly what analytics can and can't know about visitors.

The one-shot prompt
Build me privacy-first web analytics. A tiny script (<1KB, no cookies) that sends pageview events (path, referrer, screen class, country from edge headers) to an ingest API route, deduped per visit via a daily-rotating hash — no persistent identifiers. Store events in Postgres with an aggregation strategy that stays fast at millions of rows (daily rollup table). Dashboard: unique visitors, pageviews, top pages, referrers, countries, device split, with 7/30/90-day ranges and a live-visitors ticker. Filter out obvious bots by user agent. Next.js, deployable to Vercel, embeddable on all my sites.
Paste into Claude Code, Codex, or your agent of choice — then steer. Learn the moves in Prompt Engineering.
What you build

A 1KB tracking snippet posting pageviews to your own endpoint, plus a dashboard: visitors, top pages, referrers, countries, and device split over time.

What you give up
  • Their years of bot filtering and traffic-quality heuristics
  • Managed uptime for the ingest endpoint under traffic spikes
  • Goals/funnels UI polish and saved segments
  • Email reports and team sharing out of the box
Why people still pay

Nine dollars for never thinking about ingest reliability or bot noise is a fair trade for businesses; hobbyists genuinely don't need to pay anymore.

opsno real moat (personal)
Related
Actually build it

A prompt is the first move, not the whole game. Course 01 teaches you to take a prompt like this one to a shipped, working app — reviewing, correcting, and steering the agent the whole way.

Start Course 01 →