C
ConvexCompose
Modules
← All modules
S

Stats

Component in production Operations

First-party cookieless web, CTA, uptime, and error telemetry

app.use(stats) Future install shape; not yet published

About

Privacy-preserving multi-site web and product analytics built natively on Convex: daily salted SHA-256 visitor hashing with zero raw IPs stored at rest, 1 KB HyperLogLog distinct visitor sketches, Reservoir sampling for latency percentiles, Wilson confidence intervals for CTA conversion rates, authenticated per-user weekly rollups, and scheduled HTTP uptime probes. An authored Convex Component runs live in production across 19 domains; headless hooks and standalone npm packaging are pending.

How it ships

Every ConvexCompose module is the same shape. Take the Component and hooks and bring your own UI, or drop in the optional reference UI.

Layer 1 · MUST
A Convex Component (convex.config.ts + schema + functions), app.use()-installable into your deployment
Layer 2 · MUST
Headless useX() hooks: router-free, style-free, navigation passed in as callbacks
Layer 3 · OPTIONAL
An OPTIONAL React Native + NativeWind reference UI; ignore it and bring your own surface

Highlights

  • Authored Component live in production across 19 domains
  • 3 KB cookieless beacon with SPA route, outbound, and data-track CTA capture
  • Daily salted visitor hashes and 1 KB HyperLogLog multi-day distinct counts
  • Signed-in user identity linking via explicit userId / userHint
  • Headless hooks and packaging pending

Proving ground

A real production deployment exercises these domains; one opinionated consumer, not a requirement.

S
A real production deployment
50+ portals on one Convex deployment

Not a published package yet

No ConvexCompose module is an installable npm package today. What exists is the contract, a real production proving ground running 31 authored Components, and packaging in progress led by convex-diary and convex-audio-analyzer.