Skip to content
Privacy and compliance

What is the right to erasure?

3 min read · Updated · By the Reveata team

Short answerThe 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.

A deletion request sounds simple: find the person, press delete. In analytics it is harder, because the person is usually known only by a random id, their data is spread across raw events, sessions and reports, and some of it, such as payment records, you may have to keep for other reasons. This page explains the right and shows how it works in practice. It is not legal advice.

When it applies

Article 17 of the GDPR (opens in a new tab) lists the grounds. The ones that come up most for websites:

  • The data is no longer necessary for the purpose it was collected for.
  • The person withdraws consent and there is no other lawful basis.
  • The person objects to processing based on legitimate interests and there are no overriding grounds.
  • The data was processed unlawfully.

When it does not

The right is not absolute. Exceptions include keeping data to comply with a legal obligation, such as tax and accounting records, and to establish or defend legal claims. That is why a business can usually keep an invoice after deleting a customer's analytics history.

Timing

Like other rights requests, it must generally be answered within one month, which can be extended in some cases. Confirm the person's identity first if you are unsure who is asking.

How to erase someone from analytics

  1. Find them. By email or user id if they signed in, otherwise by their visitor id.
  2. Delete their records everywhere they live: events, sessions, profiles and any exports.
  3. Handle what you must keep. Payments for tax law can be stripped of the link to the person.
  4. Recompute or accept aggregates. Totals built from the deleted events should reflect the deletion where possible.
  5. Record the request without recording more about the person than necessary.

How Reveata does it

Reveata's Visitor data requests guide covers it. As controller you answer the request; owners and admins of the website can use the tools.

  • Find the person in Visitor journeys by name, email, user id or visitor id. An unidentified visitor can read their id with window.reveata.visitorId() on your site.
  • Delete from their profile (type delete to confirm; it cannot be undone). Reveata deletes the profile, identify details, every visit and every raw event, and removes them from the realtime view.
  • Payments are anonymised, not deleted. They keep amount, currency, date and type, but lose the name, email, visitor, visit, ad click ids and identify details. Revenue totals do not change.
  • Exports being prepared are stopped, and finished export files covering the person's days are removed.
  • Reports for every day the person was active are recomputed within minutes.
  • By email, via the API. POST /api/v1/websites/<site>/visitors/erase erases everyone identified with one email address, for people who used several devices.

Reveata keeps a security record of each erasure with the counts, not who it was about. Payments also held at your payment provider are not changed there, so redact the customer at the provider too. In cookieless mode, visitor ids change every day and cannot be traced back to a person.

Frequently asked questions

Does deleting a visitor stop them being tracked again?

No. If they come back with the same browser, a new profile starts. To stop that, they can opt out on your site, which Reveata stores as a flag in their browser.

Do I have to delete data from backups?

Regulators generally accept that backups expire on their normal cycle, as long as deleted data is not restored into use. Reveata's DPA says backup copies expire on the normal backup cycle.

Can I refuse an erasure request?

Yes, when an exception applies, for example records you must keep by law. Tell the person which data you keep and why.

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 a data subject access request (DSAR)?A data subject access request (DSAR, or SAR in the UK) is a request from a person to an organisation for a copy of the personal data it holds about them, together with information about how it is used. It is their right of access under Article 15 of the GDPR.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 data retention?Data 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.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.