Data retention
Set the number of days to keep raw visits and events:
TIDEMARK_RETENTION_DAYS=395With a value above 0, the scheduler runs tidemark:prune daily at 03:15. It requires the cron job.
Pruning deletes in slices of 5,000 rows, so a large backlog never holds one long database lock, and it removes events with their properties.
Run it by hand to test or to catch up:
php artisan tidemark:prune --days=3950 keeps everything.
© 2026 Tidemark · MIT licensetidemarkanalytics.comSource on GitHub These docs set no cookies and run no trackers.