14 days with Replit and Claude Code — building privacy-first web analytics
I built a cookie-free web analytics platform with Replit and Claude Code in 14 days. It includes event tracking, sessions, funnels, retention, Stripe revenue analytics, and an MCP server.
I wanted something that could give founders useful acquisition and revenue data without turning every visitor into a permanent tracking profile.
One decision I was particularly careful about was visitor identity. No cookies, no fingerprinting, no cross-site identifiers. Visitor identity uses a salted hash that rotates daily, so you can understand a visit without creating a permanent identity across websites.
Another small detail that matters: the tracking script has a strict size budget enforced by CI. Analytics scripts have a habit of growing over time, and I didn't want the tracking system itself to become a performance problem.
The backend also separates event ingestion, processing, querying, and realtime updates instead of letting every part of the application access analytics data directly.
I like this kind of project because it sits right between engineering and business. Founders need to understand which channels bring customers and revenue, but they shouldn't have to sacrifice visitor privacy to get that information.






Comments
0 comments