Skip to content
Privacy and compliance

What is data retention?

2 min read · Updated · By the Reveata team

Short answerData retention is the period an organisation keeps a piece of data before deleting or anonymising it, together with the policy that sets that period. In privacy law it is limited by the principle that personal data should not be kept longer than its purpose needs.

Shelves filled with colorful binders and folders
Photo by Richard Heinen on Unsplash

Analytics data piles up quietly. Every page view, every visitor id, every campaign tag is kept somewhere unless something deletes it. Retention is the decision about when that happens. Article 5(1)(e) of the GDPR, the storage limitation principle, says personal data should be kept in identifiable form no longer than necessary for its purposes. The GDPR does not give a number of days; you set a period you can justify. This page is general information, not legal advice.

Raw data and reports

It helps to separate two kinds of data:

Kind Example Privacy risk
Raw events Visitor k3j9… viewed /pricing at 14:02 from Lyon on Safari Higher: tied to a pseudonymous person
Aggregated reports 1,240 visitors from France in March Low: counts, not people

Many policies keep raw events for a limited time and aggregated counts much longer. Year-on-year comparisons need the counts, not the individual journeys.

How to choose a period

  1. Write down the purpose. For example, comparing channels and seasons.
  2. Ask what that purpose needs. Year-on-year comparisons need at least a year or two of history.
  3. Check other duties. Payment records are usually kept for tax and accounting law, which can mean several years.
  4. Make it automatic. A retention period that relies on someone remembering to delete is not a policy.
  5. Say it in your privacy notice. Visitors should be able to find how long you keep their data.

Retention in Reveata

Reveata's retention follows your plan. Its Privacy Policy says analytics data is kept for the plan's retention period, or until you delete it. The periods in Reveata's plan definitions are 3 years on Starter and 5 years on Growth, Pro and Business; current plans are on the pricing page.

  • Older data. The DPA says analytics data older than the retention period is deleted automatically. Reports for days older than the retention period hold only counts.
  • Deleting earlier. You can delete a website's data or a whole website yourself; see Import, export and delete website data.
  • One person. You can delete everything held about one visitor on request; see right to erasure.
  • After a plan ends. The Privacy Policy describes how long data is kept after a trial or a paid plan ends before it is deleted, with emails before deletion.
  • IP addresses are never stored, so they have no retention period at all.

For the security of the dashboard itself, the Privacy Policy lists shorter periods: sign-in links expire after minutes, sessions after 30 days of inactivity, and audit log entries after 400 days.

Frequently asked questions

Is longer retention always worse for privacy?

Longer retention of identifiable data raises risk, which is why the purpose has to justify it. Aggregated counts with no link to individuals carry much less risk, so keeping them longer is easier to justify.

Does deleting old data break my historical charts?

It depends on the tool. Tools that keep aggregated reports, as Reveata does for days older than the retention period, can still show past totals after the detailed events are gone.

What about backups?

Deleted data usually lingers in backups until they expire. Reveata's DPA says backup copies expire on the normal backup cycle. Your privacy notice can say the same about your own systems.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is personal data?Personal data is any information that relates to an identified or identifiable living person. Under the GDPR that includes not only names and email addresses but also online identifiers such as IP addresses, cookie ids and device ids, when they can single someone out.GlossaryWhat is the right to erasure?The right to erasure, often called the right to be forgotten, is a person's right under Article 17 of the GDPR to have an organisation delete their personal data without undue delay, when one of the listed grounds applies, such as the data no longer being needed or consent being withdrawn.GlossaryWhat is GDPR?The GDPR (General Data Protection Regulation) is the European Union law that governs how organisations collect and use personal data about people in the EU. It has applied since 25 May 2018 and sets the rules on legal bases, transparency, people's rights and security.GlossaryWhat is a cookie banner?A cookie banner is the pop-up or bar a website shows to tell visitors which cookies and similar technologies it uses and to collect their choice, so that non-essential cookies are only set after the visitor agrees.GlossaryWhat is a data controller?A data controller is the organisation that decides why and how personal data is processed. A data processor is a separate organisation that processes the data on the controller's behalf and only on its instructions, such as an analytics or email provider.GlossaryWhat is a data processing agreement (DPA)?A data processing agreement (DPA) is the contract in which a company that processes personal data for you, such as an analytics or email provider, commits to handling it only on your instructions and with proper safeguards. The GDPR requires one whenever a processor handles personal data for a controller.