Data and exports

Where your analytics data lives, how long each plan keeps it, what the nightly cleanup actually prunes, and how to get your data out.

Markdown
Updated Sep 2, 2026
On this page
  1. Retention per plan
  2. What retention actually prunes
  3. Exporting your data
  4. Deleting your data

Analytics data lives in Cloudflare D1 (rollups, sessions, the per-event mirror) and Cloudflare R2 (session replay recordings). Retention is enforced per plan by a nightly cleanup job; there is currently no self-serve export tool in the dashboard.

Retention per plan

PlanAnalytics retentionSession replay retention
Starter365 days (1 year)90 days
Pro730 days (2 years)90 days
Business1,095 days (3 years)90 days
Replay recordings are capped at 90 days regardless of plan: full session video is heavy (an R2 payload plus an index row per session), so even long-retention plans don't keep years of it.

What retention actually prunes

A nightly job deletes, per workspace, everything older than that workspace's plan window:

  • Daily rollup rows (all metrics, all dimensions) older than the cutoff day
  • Sessions and the per-event mirror table older than the cutoff
  • Replay index rows and their R2 recordings, on the shorter 90-day cap
  • Visitor counters left orphaned once their last session is pruned

Event and property definitions (the names and shapes the Events picker uses to offer breakdowns) are never pruned: they're one row per definition for the life of the site, and removing them would just empty the picker for anything seasonal.

Exporting your data

There is no self-serve export button in the dashboard today. If you need your data out, before deleting a site, downgrading a plan, or for your own records, reach out and we'll pull it for you. We'll update this page when self-serve export ships.

Deleting your data

Deleting a site (see Sites) immediately and irreversibly removes everything scoped to it in D1; the R2 replay payloads are swept by the next nightly cleanup run rather than deleted synchronously. There is no soft-delete or recovery window.