Guide · 3 chapters

Server-side analytics

A three-part build log of our own analytics setup. Part 1 covers the tools and the architecture, part 2 the wiring and each tool's quirks, and part 3 how we measure real visitors' page speed.

A consultant points at a dashboard of line, funnel, bar and donut charts while two colleagues watch.
  1. Five analytics tools, zero vendor scripts

    Part 1 of 3. How we fed GA4, Mixpanel, PostHog, Amplitude and Statsig from one tiny first-party pipeline, and what we deliberately gave up to keep our pages fast.

    7 min read

  2. Wiring up five analytics tools: what each one needed

    Part 2 of 3. Designing the events, capturing clicks without autocapture, each tool's quirks, and the API that said 200 OK while quietly dropping everything we sent.

    7 min read

  3. Measuring real page speed, without a vendor

    Part 3 of 3. Our mobile PageSpeed score went from 78 to the high 90s, then swung between 84 and 99 on identical code. Here's what we fixed, what we learned about the score, and how we now measure real visitors instead.

    8 min read

Want help applying this to your store?

This is the kind of work I do day to day. If you'd like a hand, get in touch.