Data Retention
Here you set how long certain types of data are kept before they are deleted
automatically - and see when the last cleanup run happened and how many records were
affected.
What can I do here?
- Change the retention period (in days) for a data type.
- Temporarily disable a data type without losing its configured period.
- Run a preview that counts how many records a run would delete right now - without
deleting anything. - Trigger a cleanup run immediately instead of waiting for the next automatic run.
- See when the last run happened and how many records have been deleted in total since.
Step by step
Change a retention period
- Open Settings → Data Retention.
- Click Edit on the row of the data type you want to change.
- Enter the new retention period in days (minimum 30, maximum 36500) and toggle
Enabled on or off. - Click Save.
Preview and trigger a cleanup run
- Click Preview on the row of the data type to see how many records have expired
right now - nothing is deleted by this. - If you are sure, click Run Now and confirm the prompt. This step cannot be
undone - expired records are permanently deleted.
Fields explained
| Field | Meaning |
|---|---|
| Data Type | Which kind of data this row covers (e.g. analytics data, session data). |
| Retention (Days) | How many days a record is kept before it counts as expired. |
| Enabled | When off, no automatic cleanup run happens for this data type. |
| Last Run | Timestamp of the last completed run for this data type. "Never run" means no run has happened yet. |
| Deleted (Total) | How many records have been deleted across every run of this data type so far. |
Only data types with an implemented cleanup show up in this list at all. The remaining
data types have no enforced period yet - an editable period with no effect would be
misleading.
Frequently asked questions
What is the difference between Preview and Run Now?
Preview only counts how many records would be affected and changes nothing. Run Now
actually deletes those records and cannot be undone.
Do I need to trigger a run myself for periods to take effect?
No. An automatic run checks every enabled period hourly. The buttons here are for an
immediate run or a preview.
Why is "Deleted (Total)" a high number even though I expected only a few records just
now?
The counter sums every run since the period existed, not only the last run.