Cookie Law: do anonymized analytics require cookie consent?
<p>In recent years a lot of privacy-aware analytics solutions have started popping up. These generally work using a very similar principle (see e.g. <a href="https://usefathom.com/blog/anonymization" rel="noreferrer">Fathom's algorithm</a>):</p>
<ol>
<li>Create a fingerprint of the user using a hash of some combination of their IP, User-Agent, possibly other personally-identifiable information (PII) and a rotating salt. For the purpose of this question, assume that this creates an identifier that cannot be reversed back into PII.</li>
<li>Use this identifier to determine whether the user has visited before, by storing it in a database along with the most recently visited page and time of visit.</li>
<li>Aggregate all analytics to such a degree that no individual user can be identified.</li>
</ol>
<p>This conveniently gets around the issue of storing PII, since all stored information is either strongly anonymized (and minimal) or aggregated.</p>
<p>Some of these solutions advertise &quot;No need for cookie banners!&quot; (see e.g. <a href="https://plausible.io/" rel="noreferrer">Plausible's landing page</a>), implying that the need for informed consent is bypassed by the anonymization. <strong>Is there any legal basis for this?</strong> For the purpose of this question, assume GDPR isn't relevant (since no PII is stored), and only compliance with the ePrivacy Directive is in question.</p>
<hr />
<p>From my own reading the simple act of <em>accessing</em> the PII information in the first place, regardless of later anonymization, requires consent. As put by Article 5(3) of the Directive</p>
<blockquote>
<p>Member States shall ensure that the storing of information, <strong>or the gaining of access to information already stored</strong>, in the terminal equipment of a subscriber or user is only allowed on condition that the subscriber or user concerned has given his or her consent, having been provided with clear and comprehensive information, in accordance with Directive 95/46/EC, inter alia, about the purposes of the processing. <em>(emphasis mine)</em></p>
</blockquote>
<p>As argued in <a href="https://ec.europa.eu/justice/article-29/documentation/opinion-recommendation/files/2014/wp224_en.pdf" rel="noreferrer">a 2014 opinion on fingerprinting</a> this also covers manufacturer-stored information such as User-Agents. In <a href="https://ec.europa.eu/justice/article-29/documentation/opinion-recommendation/files/2014/wp216_en.pdf" rel="noreferrer">a 2014 opinion on anonymization</a> it was argued that anonymization is a post-processing step, requiring consent to get the relevant information in the first place. In my opinion this means that, even despite the strong anonymization, and despite no PII being stored, these privacy-aware analytics solutions still require a cookie banner (as much as I hate to say it).</p>
<p>The reason I'm asking this question regardless is that the claims of &quot;no need for cookie banners&quot; <a href="https://github.com/plausible/analytics/discussions/1963#discussioncomment-2981078" rel="noreferrer">appears to be based on legal advice</a>, having been checked by a legal team. Having no experience with law, this makes me think that I am missing something; what am I misunderstanding that makes this usage exempt from the ePrivacy Directive consent requirements?</p>

<p>First of all, in a GDPR contest, the process described is <strong>not</strong> strong anonymization. It may be hard for an outsider to go from the stored record to any PII, it is much easier for an outsider to &quot;single out&quot; an individual. This means that given a known individual, one can determine whether that person is among those listed in the records, or can determine this to a significant degree of probability. For this only the algorithm and the rotating salts are needed, one need not break the hash. Note also that the GDPR specifies that if a person can be singled out <strong>with the assistance of the site operator</strong> the data is not considered anonymized. Thus this data needs a lawful basis under the GDPR, and the various other GDPR requirement all apply.</p>
<p>However, even if the data were totally anonymized, and say just added to a count of users with this or that User Agent, the process of <strong>reading</strong> local data (including but not limited to cookies) itself requires informed consent, and so a cookie banner or other interaction with similar info under the e-Privacy directive (EPD).  The EPD, being a directive and not a regulation, must be implemented by national laws, and the exact provisions in those laws may differ somewhat from country to country. But I believe that all of them require consent before any local data is read.</p>

privacy european-union cookies