News for hackers. Stuff that matters.
Re:Using Google Analytics without GDPR consent by krsdcbl on Friday December 04, 2020 @08:05AM (#25301797)
Not a lawyer myself, but as far as my understanding goes you are identifying your user already by determining his ip, and all the transformations you do to create an id is still reversible with the fixed seeds in your script - so you'll end up sending data to google that makes the user idenfiable nonetheless, so i HIGHLY doubt this is a legitimate way around gpdr.

correct me if I'm making wrong assumptions here, as staid - not a lawyer either, just having lots to do with the topic as a EU based webdeveloper.

Re:Using Google Analytics without GDPR consent by brtkdotse on Friday December 04, 2020 @08:23AM (#25301952)
This is my understanding as well - no matter how obfuscated the final identifier is, if you derived it from PII then it’s considered PII as well.

However, IANAL.

Re:Using Google Analytics without GDPR consent by slake on Saturday December 05, 2020 @12:22AM (#25312015)
If the final identifier can't be reverse engineered to identify the specific individual is it PII?

So A user visited me on the 12th. That user visited me again on the 15th. Is that PII?

Re:Using Google Analytics without GDPR consent by ukutaht on Friday December 04, 2020 @11:21AM (#25304064)
This is how I understand GDPR as well. Just hashing the IP address along with other static values is too easy to reverse and not considered anonymization under GDPR.

For https://plausible.io we added a daily salt to the hash for this exact reason. By deleting the salt at the end of each day, the hash becomes impossible to reverse and visitor data can be considered anonymous.

We lose unique visitor tracking beyond one day, but for most sites this is a small price to pay to remove annoying consent banners.

Re:Using Google Analytics without GDPR consent by nolito on Sunday December 06, 2020 @10:43AM (#25324196)
That's only from your perspective.

Website owners are still sending visitors IP-addresses your way. They have to trust you to do the hashing and deleting the salt (and pepper?) and not delivering data to others (4th party).

Another problem you - and others like goatcounter have - is described here https://blog.paranoidpenguin.net/2020/07/plausible-analytics....

Re:Using Google Analytics without GDPR consent by arp242 on Monday December 07, 2020 @03:35AM (#25330376)
I thought that "CNAME cloacking" was already addressed by uBlock and most similar tools last year already? I don't think it's a very effective method to bypass them.

At least, that's what I can gather from the linked issue and https://github.com/gorhill/uBlock/releases/tag/1.25.0 – so I'm not sure if I understand that article.

In goatcounter the whole CNAME thing was just intended as a cute "shortcut" so you can have "stats.example.com"; I assumed that all adblockers would deal with that correctly, and it was never intended as a way to bypass them (and certainly never advertised as such).

As for "selling IP address", how do you know "blog.example.com" isn't just collecting and selling that? Or HN for that matter?

Re:Using Google Analytics without GDPR consent by nolito on Thursday December 10, 2020 @05:56PM (#25379941)
Then use a shortcut :)

What about the (naive) users that d'ont use uBlock and similar tools and d'ont even know they exist?

BTW Goatcounter collects potential personal data. The querystring is not removed, is stored and presented to the website owner.

Re:Using Google Analytics without GDPR consent by tinus_hn on Friday December 04, 2020 @12:44PM (#25305369)
Googles system of removing the last part of the IP address exists specifically so you can be compliant. If you use tricks to store the data anyway, obviously you’re non compliant once more.
Re:Using Google Analytics without GDPR consent by ablu on Friday December 04, 2020 @08:37AM (#25302069)
Additionally you are now doing an additional request to Cloudflare, which probably requires you to link to their privacy policy for that service?
Re:Using Google Analytics without GDPR consent by Puts on Friday December 04, 2020 @08:52AM (#25302190)
This is probably little of a grey area. I don't think that the IP-address by itself is considered personal data since it usually doesn't single out a specific living person. Unless you pair it with other information, like date and time.

But if IP was considered personal data you would need an active consent from the user where you also inform them why you are doing this, which paragraph in GDPR gives you legal right to do this, how long the data is stored and you will need a data processing agreement with Cloudflare. You will also need to be able to prove that you made sufficient effort to make sure you are not handling data of someone under 16 years of age.

People often think that GDPR is made to forbid processing of personal data. Actually you can pretty much do anything with peoples information and still be GDPR compliant. It's more that it becomes such a hassle to do it and still be compliant that it's just not worth it to collect personal data "just because you can".

Re:Using Google Analytics without GDPR consent by knackundback on Friday December 04, 2020 @11:27AM (#25304164)
IP-addresses (with date/time of access) are considered personal data as stated by the ECJ in the case C‑582/14 from 2016 http://curia.europa.eu/juris/document/document.jsf?docid=184...
Re:Using Google Analytics without GDPR consent by qwertox on Friday December 04, 2020 @11:28AM (#25304173)
My IP address hasn't changed in over a year. I am the only one using that IP address. So no, it is not a grey area and yes, it is personal data.
Re:Using Google Analytics without GDPR consent by asdfasgasdgasdg on Friday December 04, 2020 @01:14PM (#25305723)
Seems like you could fix this issue by generating a random salt for the unique ID and placing it in local storage. Never send the salt value to the server, but incorporate it in the unique ID. This would keep the uniqueness property, but eliminate your ability to reverse the computation to retrieve PII.
Re:Using Google Analytics without GDPR consent by mekkkkkk on Friday December 04, 2020 @03:35PM (#25307504)
Wouldn't that just be a contrived session ID?
Re:Using Google Analytics without GDPR consent by asdfasgasdgasdg on Friday December 04, 2020 @04:25PM (#25308250)
I'm not sure exactly the definition of a session ID, but maybe? It would be what I described, and if I described a session ID, then yes.
Re:Using Google Analytics without GDPR consent by Puts on Friday December 04, 2020 @08:41AM (#25302099)
Yes since GDPR states that personal data is any piece of information that uniquely identifies a living person, creating a unique identifier for each visitor by definition will make you a data processor.
Re:Using Google Analytics without GDPR consent by grabeh on Friday December 04, 2020 @09:09AM (#25302343)
But a unique identifier doesn't necessarily identify a living person, particularly in isolation. It's just that it's frequently associated with a load of additional information that could eventually be used to identify someone (think advertising cookies when associated with a load of browsing data). So you can't escape from scope by saying you're using a unique ID rather than a name.

IP addresses are slightly different because that address can be used to identify the subscriber in certain cases (who in turn may or may not be an individual).

Re:Using Google Analytics without GDPR consent by buckminster on Friday December 04, 2020 @11:58AM (#25304674)
Suppose the government wants to know what a particular user was reading on your site. They can calculate the hashed ID for that user and then serve a warrant requesting the data for that ID.

Obfuscation of the ID doesn't help.

Re:Using Google Analytics without GDPR consent by cooljacob204 on Friday December 04, 2020 @12:08PM (#25304835)
So under GDRP are you not allowed to log who visits your site? For say... abuse protection? Assuming you do not share this data with any 3rd party.
Re:Using Google Analytics without GDPR consent by dkersten on Friday December 04, 2020 @12:57PM (#25305538)
You can, but you need to explicitly state in your data policy that this is what the data is used for and you can never use this data for any other purpose.
Re:Using Google Analytics without GDPR consent by marichards on Friday December 04, 2020 @01:10PM (#25305666)
IANAL: If you were allowed to use GDPR under an exemption, perhaps abuse protection, is that the only purpose the data will be used for by yourself and GA?

If you or a data processor you use, uses the data for secondary purposes not covered by any exemption to opt-in consent, I believe you would have to get opt-in consent for those secondary purposes beforehand.

Note: the cookie law is the ePrivacy directive (and national interpretations like PECR) and it goes beyond GDPR in some ways, as the ICO states "Although cookies that process personal data give rise to greater privacy and security risks than those that process anonymous data, PECR apply to all cookies." ( https://ico.org.uk/for-organisations/guide-to-pecr/cookies-a... )

Re:Using Google Analytics without GDPR consent by damnencryption on Friday December 04, 2020 @12:45PM (#25305379)
No, GDPR explicitly carve out exception if for reasonable purposes. DDOS and abuse protection would fall under that. Marketing however won't.