· engineering, performance
Product analytics without the bloat
How a 25 KB SDK can cover event tracking, funnels, retention, and session replay without slowing your site or your team.
Every kilobyte you ship to the browser is a tax on your users. Yet most analytics SDKs weigh in at 70–90 KB gzipped, often with lazy chunks that load after the page settles. TrackCrumb takes the opposite stance: one bundle, ≤25 KB gzipped, no hidden chunks.
Why size matters
- Time to interactive — heavy SDKs block the main thread during hydration.
- Reliability — fewer requests means fewer chances for an ad blocker or a flaky network to drop your events.
- Trust — you can verify the payload with a single network audit.
What we cut
We didn't cut features — we cut overhead. Error tracking and Core Web Vitals ship as optional modules you flip on per workspace, so you only pay for what you use. Everything else lives in the core bundle.
import { init } from "@trackcrumb/sdk-js";
init({ apiKey: "tc_live_...", apiHost: "https://ingest.trackcrumb.com" });
That's the whole integration. No build step, no config sprawl.
