# 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.

Section: Configure. Canonical page: https://mrkr.app/docs/configure/data-and-exports. Last updated: 2026-09-02.

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

| Plan | Analytics retention | Session replay retention |
| --- | --- | --- |
| Starter | 365 days (1 year) | 90 days |
| Pro | 730 days (2 years) | 90 days |
| Business | 1,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.

> **Note:** Workspaces still on the retired free tier keep its 60-day window. That plan is no longer offered; see [Plans](https://mrkr.app/docs/billing/plans).

## 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.

> **Note:** Retention is a rolling window, not a fixed calendar cutoff: data ages out continuously as it crosses the plan's day threshold, not on a monthly reset.

## 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](https://mrkr.app/docs/configure/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.
