leatmap v4.0
Six sprints, one milestone. v4.0 is the cut where leatmap stops being a clean analytics SDK and starts being an honest alternative for teams who need SSO, multi-region residency, an audit trail, and analytics they can actually read on a Monday morning.
Four new ways to read your product
The headline visualisation upgrade. Journeys, geo, cohorts, annotations — each shipped with a real route in the dashboard, server-side aggregation, and a Pro+ pricing gate.
- Sankey user journeys — every page-to-page transition with drop-off bands and click-through drill into the events behind them.
- Geo world map — per-country session bubbles on a d3-geo backed map, scaled by traffic and tinted by engagement.
- Cohort retention grid v2 — the classic SaaS triangle with week/month grain toggle and one-click CSV export.
- Deploy and marketing annotations — drop named markers on the timeline, picked up by every time-series chart workspace-wide.
Pick the region your data lives in
Customers can now choose between EU-west (ams), EU-central (fra), and US-east (iad) at workspace creation, with a 30-day grace window if they need to migrate later.
- Collector deployed to three Fly regions with X-Region health and region-aware routing.
- Workspace residency setting that pins ingest, storage, and reads to the selected region.
- Cross-region Postgres replica dormant by default — flipped on per-workspace for DR.
- Tier gate so Business+ unlocks region choice; Pro stays EU-west.
Audit-ready, without the audit theatre
CI gates that fail the build on test-coverage regressions, SDK bundle growth, and collector p99 drift. Plus the policy docs auditors expect to see on day one.
- Test-coverage CI gate, SDK perf-budget CI gate, and a 10-percent p99 regression bench on the collector hot path.
- Sentry coverage audit so any unhandled error route has a paging alert.
- SOC 2 evidence pack with security policy, vendor reviews, incident-response template, and a public /trust portal.
- DPA template generator so customers can fingerprint a signed agreement in a click.
The composable insights layer
Fixed dashboards are good, composability is better. v3.4 adds the JSON DSL that powers a drag-and-drop insights builder under the hood, with cohorts and group analytics on top.
- Insights JSON DSL with a typed compiler that emits safe parameterised SQL.
- Cohorts builder that filters every insight on a saved population.
- Group analytics for B2B accounts so you can pivot from user-level to account-level views.
- SQL escape hatch for power users who already know exactly what they want.
Flags + experiments, evaluated where the data lives
Customers using flags from another vendor were the hardest to migrate. So we shipped them — eval in the Rust collector, exposed by the SDK, surfaced by the dashboard, and tied to a stats cron for A/B significance.
- Feature flag schema and Rust evaluation engine on the collector hot path.
- SDK feature-flags subpath with bearer auth and cached evaluations.
- Dashboard /flags and /experiments pages with rule builder and traffic-split UI.
- A/B experiment stats cron with p-value, lift, and decision recommendation.
SAML SSO + onboarding for buyers who need a procurement checkbox
Enterprises do not adopt magic-link-only auth. v3.2 wires SAML 2.0 with JIT provisioning, an onboarding checklist for new workspaces, billing forecasts so finance teams stop guessing, and SIEM-friendly audit-log streaming.
- SAML 2.0 SSO with JIT user provisioning and per-workspace identity-provider config.
- Onboarding checklist that walks new admins from install to first dashboard.
- Billing usage forecast surfaced on the workspace home so quota surprises stop.
- Audit-log streaming to Datadog, Splunk, and generic webhook destinations.