Consent & PrivacyReferenceIntermediate

A retention policy for tracking data: nine data kinds, sensible defaults and how expiry is enforced

Which kinds of tracking data exist, why each has a different lifetime, the default windows Track ships with, how to override them per organisation or site, and how the expiry jobs prove they ran.

By
Track editorial team
Published
Last reviewed
Reading time
3 min read

Key takeaways

  • Nine data kinds — events, click ids, consent snapshots, delivery attempts, audit log, chat transcripts, raw archive, DSAR records, IP hashes — each get their own default window with a stated reason.
  • Windows are set per organisation and overridable per site for events and click ids; the effective window is the site override, then the organisation value, then the default.
  • A daily retention job drops expired partitions, strips click ids from older events and logs the rows removed per data kind as evidence.
  • Retention is not anonymisation, not vendor retention and no substitute for consent.

The nine data kinds and their defaults

Data kindDefaultWhy this long
events395 daysthirteen months allows year-over-year comparison with a month of overlap
click_ids90 daysthe longest attribution window in common use
consent_snapshots1,095 daysproof of lawful processing across the limitation period most operators apply
delivery_attempts90 daysenough to debug vendor disputes and monthly reconciliation
audit_log730 daysconfiguration and access history for two annual review cycles
chat_transcripts30 daysAI assistant conversations are operational, not records
raw_archive14 daysreplay buffer for incidents; contains unprocessed payloads
dsar_records1,095 daysdemonstrates that requests were handled
ip_hashes30 daysabuse detection only; the salt rotates, so older hashes are unusable anyway

Each window is a default, not a recommendation for every business. A retailer with a 14-day return policy may cut delivery attempts to 30 days; a B2B company with 9-month sales cycles may extend click ids to that length if its ad platforms' windows actually go that far. Extending a window beyond the default is a decision to document in your records of processing; the change itself is written to the audit log.

Scope and precedence

Retention is set per organisation and can be overridden per site for events and click ids; delivery attempts, audit log and chat transcripts are organisation-wide. The effective window is the site override if present, otherwise the organisation value, otherwise the default. Shortening applies at the next daily run; lengthening applies only to records not yet expired — there is no resurrection.

Enforcement

  • A retention job runs once a day. For events it applies the effective window per site and deletes older rows; the event store is partitioned by month, so most expiry is a partition drop rather than row deletes.
  • After the click-id window, click ids and vendor ids are removed from events that are otherwise kept, so a thirteen-month event history does not carry thirteen months of attribution identifiers.
  • Delivery attempts, audit log and chat transcripts are deleted per organisation with the organisation's window; dedup keys, nonces and attribution touchpoints expire on their own schedules.
  • Each run logs the number of rows removed per data kind; the worker log is the evidence that expiry ran.
  • Backups follow the same windows plus the backup cycle; the security page states the backup retention so the total lifetime is knowable.

What retention is not

  • It is not anonymisation. Aggregates computed from events (daily counts, health scores, funnel rates) are kept beyond the event window because they contain no personal data; the policy page names them explicitly.
  • It is not vendor retention. What Meta or Google keep follows their terms; the subprocessor page links to each vendor's retention documentation.
  • It is not a substitute for consent. Short retention of data collected without a legal basis does not make the collection lawful.

Setting it up

  1. Open Privacy → Retention, review the defaults against your actual reporting and attribution needs.
  2. Shorten anything you cannot justify; extend only with a written reason.
  3. Confirm the site overrides for sites in different jurisdictions or with different business models.
  4. Check the status page after the first scheduled run; the job entries are your evidence.

This article provides general information, not legal advice. Consult your data protection counsel for your specific situation.

Primary sources

Documentation and standards this article is based on.

  1. GDPR Article 5 — Principles relating to processing of personal dataeur-lex.europa.eu
  2. EDPB — Guidelines on data protection by design and by defaultedpb.europa.eu

Was this article helpful?

Responsible editor

Track editorial team

Product & engineering

The people building Track: engineers and analysts who work on server-side tracking, consent tooling and connector integrations every day.