I Built My Own Analytics + AB Testing Tool in a Weekend With Claude Code. A developer built a custom analytics and A/B testing tool over a weekend using Claude Code, eliminating the need for cookie banners and per-seat pricing. The tool tracks pageviews, runs experiments, replays sessions, and provides AI-generated advice, with the entire pipeline relying on a lightweight JavaScript tracker and Postgres database. I got tired of two things. Cookie banners, and paying per-seat for a dashboard nobody on my team opened twice. So I built the analytics tool I actually wanted: it watches my landing pages, runs A/B tests, replays sessions, and tells me in plain English what to fix. No banner. No per-seat bill. This three-part series is the whole build, with real code. Part 1 is the pipeline: getting events from a stranger’s browser into my database without slowing their page down. Part 2 is experiments and replays. Part 3 is the AI layer that turns it all into advice. Thanks for reading The GTM Hacker Subscribe for free to receive new posts and support my work. If you can write a