gdpr
Can usage of Google Analytics (without consent) be considered a legitimate interest?
<p>According to <a href="https://law.stackexchange.com/a/35587/23694">another answer here</a> explicit consent is not required for Google Analytics, however I'd like to know why, as I am not a lawyer and my own interpretation is that GA use cannot be a "legitimate interest" in the context of a simple website that's just publishing articles in the open.</p>

<p>So first of all it is true that Google Analytics can use <a href="https://support.google.com/analytics/answer/2763052?hl=en" rel="noreferrer">anonymized IPs</a>, however GA also <a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage" rel="noreferrer">drops a tracking cookie</a> used to distinguish users, with an expiration time of 2 years. And AFAIK tracking cookies are considered "personal data" under the GDPR, even if they are pseudo-anonymous.</p>

<p><a href="https://gdpr-info.eu/recitals/no-47/" rel="noreferrer">Recital 47</a> says this:</p>

<blockquote>
  <p>The processing of personal data for direct marketing purposes may be regarded as carried out for a legitimate interest</p>
</blockquote>

<p>So it seems possible, however due to the use of "may" all this says is that "analytics" can be regarded as a legitimate interest, however the publisher still needs to establish the legitimate interest.</p>

<p>And that same recital 47 says this:</p>

<blockquote>
  <p>... the existence of a legitimate interest would need careful assessment including whether a data subject can reasonably expect at the time and in the context of the collection of the personal data that processing for that purpose may take place</p>
</blockquote>

<p>I don't see how visitors of a website can expect being tracked upon opening a website and the website can definitely work without tracking, so I don't see how this can be a legitimate interest.</p>

<p>So what am I missing, anybody with legal expertise that can help out?</p>

<p>You are right that a visitor of a website does not expect to be tracked upon opening the website. But when using Google Analytics configured in the way explained in my other post, the visitor is not tracked. At least not in a way which violates the GDPR.</p>

<p>You worry about the cookies. I also found <a href="https://www.humix.be/blog/configure-google-analytics-for-gdpr/" rel="noreferrer">this article</a> which also does and suggests to either:</p>

<ul>
<li>change the <code>_ga</code> cookie to a session cookie, so it will be removed when the browser is closed. To do this, set the Cookie Expiration variable in your Google Analytics Settings to 0.</li>
<li><p>completely disable cookies. (GA does not require cookies). To do this, set the <code>storage</code> field to <code>none</code>:</p>

<pre><code>ga('create', 'UA-XXXXX-Y', {
  'storage': 'none'
});
</code></pre></li>
</ul>

<p>If you do not disable cookies, cookies can be used for tracking, which is more general defined in the GDPR as profiling. Profiling is defined in <a href="https://gdpr-info.eu/art-4-gdpr/" rel="noreferrer">Art. 4 GDPR</a> as:</p>

<blockquote>
  <p>‘profiling’ means any form of automated processing of personal data consisting of the use of personal data to evaluate certain personal aspects relating to a natural person, in particular to analyse or predict aspects concerning that natural person’s performance at work, economic situation, health, personal preferences, interests, reliability, behaviour, location or movements;</p>
</blockquote>

<p><a href="https://gdpr-info.eu/art-22-gdpr/" rel="noreferrer">Art. 22(1) GDPR</a> disallows profiling. Therefore in the settings menu from Google Analytics you have to disable data sharing and data collection.</p>

<p>So data will only be used for the analytics function. But because you have configured to Anonymize your visitors IP Address, the part of the IP address used for this, is no longer considered personal data. This is because approx. 250 other users share the same part of the ip address which is stored, so data is not distinguishable between those 250 users. </p>

<p>The anonymisation used by google is currently considered good enough. At least by the Dutch DPA. This might change if someone proves it is not good enough anonymized. </p>

<p>Note that I am not a lawyer either, but I have read from multiple experts that analytics can be a "legitimate interest", the same way marketing can be a legitimate interest. This way configured the privacy impact is considered very low.</p>

<p>It is also very important to note that a <a href="https://gdpr-info.eu/chapter-6/" rel="noreferrer">DPA</a> consideres GA Google Analytics compliant. Even if a court would not agree in the future, you are acting in good faith if you follow those instructions, so you will probably not be fined. The DPA does currently not suggest to change the <code>_ga</code> cookie to a session cookie, or disable cookies completely.</p>

<p>Note that the GDPR does not require doing anything to make it <strong>technical</strong> impossible to track someone. If a website has access to the data to track someone, but "promises" not to do that, that is fine. And rules regarding the usage of cookies in general, is not part of the GDPR, but (currently) part of the <a href="https://en.wikipedia.org/wiki/Privacy_and_Electronic_Communications_Directive_2002" rel="noreferrer">ePrivacy Directive</a>. Only the way to ask for consent for storing cookies is defined in the GDPR. </p>
