Back to browse
Trackkit – provider-agnostic analytics SDK (Umami, Plausible, GA4)

Trackkit – provider-agnostic analytics SDK (Umami, Plausible, GA4)

by menkosi·Mar 25, 2026·3 points·0 comments

AI Analysis

●●SolidSolve My ProblemSlick

Swap analytics providers by config, not code — saves the rewrite headache.

Strengths
  • Queue-first event capture with deterministic SSR serialization and client replay
  • Consent gating and DNT detection built into the routing layer
  • Typed event maps provide compile-time checking before deployment
Weaknesses
  • Client-library only means no server-side aggregation or advanced filtering
  • Analytics abstraction layer is a known pattern — Segment already owns this space
Target Audience

Frontend developers, web app teams switching analytics providers

Similar To

Segment · RudderStack · Plausible

Post Description

After switching analytics providers twice in a couple of weeks (GA4 to Umami for privacy, then to Plausible for cost), I got fed up with altering tracking calls and initialization each time. It also drove home that things like consent gating, SPA navigation, and SSR hydration don't change regardless of provider, and shouldn’t need per-project implementation at all.

Trackkit is what I built to solve it. You switch providers by changing config, not code. It handles queue-first event capture with consent gating, SSR queue serialization and client-side replay, and optional typed event maps for compile-time checking. And it's a client library only, so no new services or infrastructure.

I've been testing it against my own projects, but I'm sure there are integration patterns and edge cases I haven't hit. If you try it and something breaks or feels wrong, please let me know. Issues and discussions are open on the repo.

Similar Projects

AI/ML●●Solid

Analytics-skills – turn your agent into a senior analyst

Teaches agents the Pyramid Principle and Simpson's paradox to avoid rookie analytics mistakes.

Niche GemBig Brain
sidneyottelohe
111mo ago
Developer Tools●●Solid

Alyt – type-safe multi-provider analytics SDK

YAML→TypeScript codegen for analytics prevents typos and centralizes event definitions.

Solve My ProblemBig Brain
jrandolf
103mo ago