The GDPR offers six lawful bases: consent, contract, legal obligation, vital interests, public task and legitimate interests. Legitimate interest is the most flexible, and therefore the one that needs the most care. You decide it applies, so you must be able to show your reasoning. This is general information, not legal advice.
The three-part test
Regulators such as the UK's ICO (opens in a new tab) describe the assessment in three steps, often written up as a legitimate interests assessment (LIA):
- Purpose. Is there a legitimate interest? Understanding how people use your website so you can improve it is a common example.
- Necessity. Is the processing necessary for that purpose, or could you achieve it in a less intrusive way?
- Balancing. Do the person's interests, rights and reasonable expectations override yours? Consider how intrusive the processing is, whether people would expect it, and the safeguards you use.
Write it down. The GDPR's accountability principle expects you to be able to show why the basis applies.
Legitimate interest and website analytics
This is where a frequent confusion arises. Two different laws apply to analytics:
| Question | Law | Can legitimate interest answer it? |
|---|---|---|
| May I store or read data on the visitor's device? | ePrivacy Directive (or PECR in the UK) | No. Only consent or a specific exception |
| What lawful basis covers processing the personal data? | GDPR | Yes, it can |
So if your analytics sets cookies that need consent under the ePrivacy rules, legitimate interest under the GDPR does not remove that need. Where no device storage is involved, or a statutory exception applies, legitimate interest is often discussed as the basis for processing the data itself.
Factors that help the balance
- Collect only what you need for the purpose.
- Use pseudonymous ids rather than names.
- Do not store IP addresses.
- Do not track people across other websites or build advertising profiles.
- Keep data for a limited period.
- Tell people clearly and let them object.
People's right to object
When you rely on legitimate interest, people can object under Article 21. You must then stop unless you show compelling legitimate grounds that override their interests. A simple opt-out is the practical way to honour this for analytics.
How Reveata relates to it
Reveata does not decide your lawful basis; as controller you do. Reveata's Terms make you responsible for having a legal basis for the analytics you run. The facts you would weigh in an assessment are in its privacy docs:
- IP addresses are never stored.
- Visitors are counted with a pseudonymous id; in cookieless mode nothing is stored in the browser and the daily salt behind the id is deleted.
- Cookies are first-party, never shared between websites, and Reveata does not track people across sites.
- Data is kept for your plan's retention period.
- Any visitor can opt out on your site with
reveata('optout'), and you can skip browsers that send Do Not Track or Global Privacy Control withdata-respect-dnt="true".