News for hackers. Stuff that matters.
Re:Google gives Europe a ‘reject all’ button for tracking co... by tjoff on Sunday April 24, 2022 @11:46AM (#31145170)
The linked source: https://blog.google/around-the-globe/google-europe/new-cooki...

It is "funny" reading that, the amount of energy they spend to be illegal but only just so that they can squeeze as much dark patterns on their users before they get a fine. Rinse and repeat.

For normal companies / webmasters it is quite simple though. You don't have anything to gain from extorting your users. So please respect your users instead.

Don't use shady practices that require you to bring up a cookie-banner in the first place. Just don't.

Re:Google gives Europe a ‘reject all’ button for tracking co... by nicbou on Sunday April 24, 2022 @11:56AM (#31145268)
Shady practices like knowing how many visitors you get on your website?

Don't get me wrong, there's the excellent Plausible for that, but collecting usage statistics is far from shady.

Re:Google gives Europe a ‘reject all’ button for tracking co... by ghusto on Sunday April 24, 2022 @12:54PM (#31145819)
I have that information, I don't need cookies for it, and neither does anyone else.

I don't know why this (false) use case gets banded about so much, but my gods does it annoy me.

Re:Google gives Europe a ‘reject all’ button for tracking co... by stingraycharles on Sunday April 24, 2022 @01:04PM (#31145914)
Reliably identifying a (unique) visitor is pretty difficult using ip logs, though.

Cookies generally make this much easier, at the very least identifying a visit.

With ip logs, you’re not just dealing with the fact that IP addresses are often shared between people (eg behind a NAT), you now also need to record IP addresses, which arguably is an even bigger privacy violation than just using cookies.

I’m not saying that one method is always better than the other, but it’s definitely not as black-and-white as you make it out to be.

Re:Google gives Europe a ‘reject all’ button for tracking co... by tjoff on Sunday April 24, 2022 @04:05PM (#31147811)
Why do you think you need to uniquely identify all your visitors?

Is that truly worth ruining your website and annoy your users to start?

There are very few things in life that are truly as black and white as this.

Re:Google gives Europe a ‘reject all’ button for tracking co... by shadowgovt on Sunday April 24, 2022 @06:54PM (#31149046)
> Why do you think you need to uniquely identify all your visitors?

Why would I not? A brick-and-mortar store can tell when the same person walks in twice; it's easy to imagine webmasters wanting that too (to stay noting of having a chance of distinguishing real people from bots and scrapers).

Re:Google gives Europe a ‘reject all’ button for tracking co... by vikaveri on Sunday April 24, 2022 @07:19PM (#31149186)
Most brick and mortar stores can not reliably tell whether any single person has visited the store before unless they track them in some way. Probably only case is the store owner who is also the only worker with excellent memory for faces and details.
Re:Google gives Europe a ‘reject all’ button for tracking co... by baltbalt on Sunday April 24, 2022 @01:29PM (#31146179)
A single user may use different cookies depending on the device they use so either way it's unreliable.
Re:Google gives Europe a ‘reject all’ button for tracking co... by Puts on Sunday April 24, 2022 @03:14PM (#31147243)
Or like all of us who delete all cookies automatically when closing the browser.
Re:Google gives Europe a ‘reject all’ button for tracking co... by nicbou on Monday April 25, 2022 @04:36AM (#31151884)
It does not need to be perfectly reliable, just reliable enough
Re:Google gives Europe a ‘reject all’ button for tracking co... by tjoff on Monday April 25, 2022 @09:47AM (#31154617)
So, in other words, no need for cookies...
Re:Google gives Europe a ‘reject all’ button for tracking co... by godelski on Sunday April 24, 2022 @01:19PM (#31146075)
How fine grained detail do you actually need? I can't see how knowing if one person or two people in a house visited you're site helps. They could have easily just switched to their phone.

For logging, just hash it with a salt.

Re:Google gives Europe a ‘reject all’ button for tracking co... by tantalor on Sunday April 24, 2022 @01:37PM (#31146243)
> just hash it with a salt

This would not satisfy privacy maximalists because you can easily unmask users later.

Re:Google gives Europe a ‘reject all’ button for tracking co... by davidmurdoch on Sunday April 24, 2022 @01:38PM (#31146251)
Hashing is borderline PII since you can feasibly reverse it to a unique IP, unless you use a slow hashing function like bcrypt.
Re:Google gives Europe a ‘reject all’ button for tracking co... by chimeracoder on Sunday April 24, 2022 @01:57PM (#31146463)
> Reliably identifying a (unique) visitor is pretty difficult using ip logs, though.

> Cookies generally make this much easier, at the very least identifying a visit.

You don't actually need cookies to reliably identify unique users. Browser fingerprinting is very identifiable and difficult to obscure.

https://coveryourtracks.eff.org/

Re:Google gives Europe a ‘reject all’ button for tracking co... by __turbobrew__ on Sunday April 24, 2022 @02:29PM (#31146781)
Yea on top of that you can fingerprint the TCP/IP/TLS settings of the user’s connection as an additional point of data: https://nmap.org/book/osdetect-fingerprint-format.html. My gut feel is that browser+tcp+ip+tls fingerprinting can get you pretty damn close to uniquely identifying users without needing cookies.
Re:Google gives Europe a ‘reject all’ button for tracking co... by minusf on Sunday April 24, 2022 @02:20PM (#31146699)
if it was that effective, why wouldn't just google switch to it and stop wasting money on ideas like FLoC, and ditch 3rd party cookies?
Re:Google gives Europe a ‘reject all’ button for tracking co... by chimeracoder on Sunday April 24, 2022 @03:15PM (#31147261)
> if it was that effective, why wouldn't just google switch to it and stop wasting money on ideas like FLoC, and ditch 3rd party cookies?

First, I would be shocked if Google isn't using fingerprinting data in conjunction with cookies.

But also, this comment misunderstands what FLoC was. FLoC was, at least in theory, an attempt to get the benefits of targeted advertising without uniquely identifying users. That's what the "C" in FLoC refers to - users aren't targeted individually, but rather by the cohort they belong to.

FLoC unfortunately had many issues, one of which is that there were concerns that the cohorts were too granular and could still effectively denanonymize users. There's some research indicating that this was the case - FLoC cohorts revealed more info than they intended to, but also still less than individualized profiles do.

The stated goal of FLoC was actually more privacy-focused than the status quo (individualized profiles). Unfortunately, that's not what ended up happening - or at least, the general public didn't trust that it was.

Re:Google gives Europe a ‘reject all’ button for tracking co... by minusf on Sunday April 24, 2022 @05:08PM (#31148362)
fingerprinting probably brings in more identifyable bits, but without the cookies it would not be commercially reliable data to determine uniqueness.

i am aware what FLoC was and tried to be. it was a horrible idea with it's default optin putting onus on website operators to add headers to opt-out from a mass survelience exercise generating money for the surveillance capitalists.

Re:Google gives Europe a ‘reject all’ button for tracking co... by chimeracoder on Sunday April 24, 2022 @07:22PM (#31149209)
> i am aware what FLoC was and tried to be.

Well, you asked (perhaps rhetorically) why Google didn't switch to using fingerprinting instead of FLoC. And the answer is that FLoC and fingerprinting suit different use cases. Fingerprinting doesn't serve the goals of FLoC, and FLoC doesn't provide the same data that fingerprinting would.

Re:Google gives Europe a ‘reject all’ button for tracking co... by nicbou on Monday April 25, 2022 @04:38AM (#31151894)
This whole argument is irrelevant since the GDPR is not about cookies
Re:Google gives Europe a ‘reject all’ button for tracking co... by kevin_thibedeau on Sunday April 24, 2022 @01:19PM (#31146071)
Publucations, radio, and TV were profitable without identifying unique users. Why does a website require this?
Re:Google gives Europe a ‘reject all’ button for tracking co... by scarface74 on Sunday April 24, 2022 @02:01PM (#31146492)
In addition to the sibling poster’s comment, publications had data on what parts of town and stores sold their publications at newsstands and the names and addresses of subscribers.

Before you could get free publications like MacWeek, you had to fill out demographic data to qualify.

Re:Google gives Europe a ‘reject all’ button for tracking co... by QuikAccount on Sunday April 24, 2022 @01:34PM (#31146225)
Nielsen ratings would disagree with this.
Re:Google gives Europe a ‘reject all’ button for tracking co... by IanCal on Sunday April 24, 2022 @02:20PM (#31146695)
I think that's a disingenuous reading.

Nielsen ratings are for small subsets of users who explicitly opt in to tracking. That's not the same as "uniquely identify all end users of my website" it's like paying user testers.

Re:Google gives Europe a ‘reject all’ button for tracking co... by scarface74 on Sunday April 24, 2022 @02:28PM (#31146779)
Nielsen tried it’s best to get a demographically representative sample of households. It wasn’t purely a self selected sample. I doubt people were incentivized by the $5 they put in envelopes.
Re:Google gives Europe a ‘reject all’ button for tracking co... by IanCal on Sunday April 24, 2022 @02:36PM (#31146848)
I didn't say self selected, I said opt in.
Re:Google gives Europe a ‘reject all’ button for tracking co... by ec109685 on Sunday April 24, 2022 @03:38PM (#31147530)
How can you measure unique users if they are using Apple’s PrivateRelay?
Re:Google gives Europe a ‘reject all’ button for tracking co... by passivate on Sunday April 24, 2022 @12:02PM (#31145341)
My guess is Google would fire their own employees if they started making a list of co-workers habits/interests.
Re:Google gives Europe a ‘reject all’ button for tracking co... by matheusmoreira on Sunday April 24, 2022 @05:39PM (#31148587)
> Shady practices like knowing how many visitors you get on your website?

Exactly. Web masters aren't entitled to that information.

> collecting usage statistics is far from shady

I don't want to be part of any of your statistics. I'm not some human test subject you get to study without my informed consent.

Re:Google gives Europe a ‘reject all’ button for tracking co... by nicbou on Sunday April 24, 2022 @06:15PM (#31148825)
Totally fair, but it's still not shady
Re:Google gives Europe a ‘reject all’ button for tracking co... by hackerfromthefu on Monday April 25, 2022 @04:42AM (#31151931)
But the reality of the 'total information awareness' that the profiling systems build up on you, your actions on site, all the sites you go to .. that is beyond the level of the worst stalkers. Shady doesn't being to cover it!
Re:Google gives Europe a ‘reject all’ button for tracking co... by shadowgovt on Sunday April 24, 2022 @07:00PM (#31149077)
But you are a stranger logging onto my public servers without my explicit consent.

Where's my vested interest as server owner in knowing something about who is exfiltrating my data?

Re:Google gives Europe a ‘reject all’ button for tracking co... by matheusmoreira on Sunday April 24, 2022 @07:09PM (#31149127)
If you don't consent to my connection to your server, all you have to do is return HTTP 403 Forbidden. Alternatively, you may simply not reply to my HTTP requests at all.
Re:Google gives Europe a ‘reject all’ button for tracking co... by Spivak on Sunday April 24, 2022 @10:52PM (#31150339)
You can flip this the other way though — “this site uses cookies for ad targeting, business metrics, and UX improvement blah blah.” If you the user don’t consent all you have to do is terminate your connection.
Re:Google gives Europe a ‘reject all’ button for tracking co... by matheusmoreira on Monday April 25, 2022 @01:29AM (#31150989)
They'd love that, wouldn't they? Their way or the highway, take it or leave it. They know that people depend on internet services and have no choice but to accept whatever bullshit terms they add to their little document which nobody reads. A document they need to "accept" before they're even allowed to read it.

Now we can deny consent, know that they're legally required to respect our choice and enjoy the fact they can't punish us for it by denying service. Whole world needs to adopt and expand upon these laws, and also ramp up enforcement and start fining all these non-compliant cookie banner-displaying web sites out of existence.

They don't get to flip that script. They're not entitled to data about us. It's our information, they don't have an assumed right to collect it for any purpose no matter how benign. That they even think they can do it is offensive. The audacity of these people. Any data we do give them is to be used for our benefit. It's not meant to fuel some surveillance capitalism nightmare.

Re:Google gives Europe a ‘reject all’ button for tracking co... by shadowgovt on Monday April 25, 2022 @01:51PM (#31158345)
In this context "they" is "web developers" and the Orwellian scenario you're describing is "The way the web has worked since cookie jars were implemented."

Yes, I don't doubt web developers would mostly prefer not to be bothered and just keep doing what they've been doing. Much cheaper than doing a system audit to figure out if you're GDPR-compliant, concluding with your lawyers that you have no idea if you're GDPR-compliant, and putting up a cookie banner nobody wants just in case. That's assuming you can afford lawyers.

At this point, it's safer to partner with a host that'll manage all that stuff for you than run an independent site. Which, ultimately, the Googles of the world love to hear, because they can afford the lawyers.

The GDPR is an amazing bit of jiu-jitsu to build a moat around competition. All the big names have to do is spend a pittance every so often to stay in compliance and they win the market, while small operators decide the risk ain't worth it because "Just don't collect user data" is actually quite hard to guarantee on a system built atop infinite cheap copying and arbitrary site access.

Not even the apache default logging config is GDPR-compliant. I don't know how anybody expects indie site admins to keep up.

Re:Google gives Europe a ‘reject all’ button for tracking co... by matheusmoreira on Monday April 25, 2022 @09:16PM (#31162906)
Just don't collect any data and enjoy instant compliance. You're not supposed to hire expensive lawyers to tell you how you can spy on users safely, you're supposed to not do it in the first place. Most read-only websites have no actual need to collect data.
Re:Google gives Europe a ‘reject all’ button for tracking co... by shadowgovt on Monday April 25, 2022 @09:32PM (#31163005)
Everyone who thought that's how this would go was hopelessly naive.

Welcome to the new normal. Enjoy your cookie pop-ups.

Re:Google gives Europe a ‘reject all’ button for tracking co... by shadowgovt on Sunday April 24, 2022 @08:47PM (#31149682)
I believe the GDPR specifically forbids that sort of configuration. By which I mean, I'm not allowed to deny you service if you aren't happy with consenting to my collection of your data.
Re:Google gives Europe a ‘reject all’ button for tracking co... by matheusmoreira on Monday April 25, 2022 @01:33AM (#31151005)
It forbids denying me service as punishment for not consenting to your data collection. You can totally make your public server private though. Configure it so that it only responds to certain computers, then invite people or charge them for access. If you do it like this, the only way people can talk to your server is if you allow them to. They won't be strangers and will have your consent.

You still need their permission to collect data and you can't revoke their access as punishment for refusing.

Re:Google gives Europe a ‘reject all’ button for tracking co... by tomc1985 on Sunday April 24, 2022 @12:39PM (#31145700)
Let them analyze their webserver logs then. You don't need a cookie to geolocate users via IP
Re:Google gives Europe a ‘reject all’ button for tracking co... by IanCal on Sunday April 24, 2022 @02:21PM (#31146703)
You need to be careful with your logs and what you're doing with the data, it's not straightforwardly OK to do this.
Re:Google gives Europe a ‘reject all’ button for tracking co... by mgkimsal on Sunday April 24, 2022 @01:11PM (#31145979)
20 users from the same IP - should they count as one user or 20?
Re:Google gives Europe a ‘reject all’ button for tracking co... by philistine on Sunday April 24, 2022 @02:10PM (#31146583)
This whole thing reeks of taking the easy way out and dumping the problem on the user. Why can't you analyze usage patterns in a controlled environment to identify the typical number of page loads?

You end up at a statistical answer like 20 hits to our home page equal 6.3 users, statistically speaking.

Re:Google gives Europe a ‘reject all’ button for tracking co... by kibwen on Sunday April 24, 2022 @03:07PM (#31147183)
Why care? Despite all the pearl-clutching, knowing how many visitors you have is only marginally useful data at best, so it doesn't need to be precise.
Re:Google gives Europe a ‘reject all’ button for tracking co... by nicbou on Monday April 25, 2022 @04:41AM (#31151922)
Are you being disingenuous? Do you really think that commercial websites can operate without knowing if their visitor count dropped by 15% over 30 days, or what their visitors come looking for, or through which channels they find and buy your products?
Re:Google gives Europe a ‘reject all’ button for tracking co... by account42 on Monday April 25, 2022 @10:24AM (#31155250)
None of that requires distinguishing users from hits, definitely not beyond the guesses you can make from server-side logs.
Re:Google gives Europe a ‘reject all’ button for tracking co... by minusf on Sunday April 24, 2022 @02:18PM (#31146672)
if there are 20 different user agents, i would count that as 20 separate users.
Re:Google gives Europe a ‘reject all’ button for tracking co... by nicbou on Sunday April 24, 2022 @01:23PM (#31146125)
But IPs are considered personal data by GDPR
Re:Google gives Europe a ‘reject all’ button for tracking co... by Jon_Lowtek on Sunday April 24, 2022 @03:34PM (#31147483)
Stop overfocusing on cookies and instead remember to add this geolocation process, and why you do it, to your privacy policy. Please name the geolocation service provider (sub-processor) you share the users IP with, so your users can audit how their data is used. Please do a privacy-assessment to check if your sub-processor does anything else with that data, like selling the info "IP f.o.o was seen by our customer bar.com" to data brokers. Please ask the users for their consent to be geolocated, and don't do it for those who say no. And please offer them an option to change the geolocation data in case it is wrong.

If you decide to hire a sub-processor incorporated in a country that does not respect article 8 of the charta of fundamental rights of the european union (the right to data privacy), you have to ask the user before sharing their data (their data meaning "IP f.o.o accessed our service bar.com") with the geolocation service. See GDPR article 45ff. Please consider using a provider from a country that respects the fundamental right to data privacy. Note that the "privacy shield" collapsed due to the USAs trend towards surveillance capitalism and that the USA is not considered a safe harbor for personal data.

There are some exceptions, where you don't need consent: you could argue you need to geolocate the users to comply with embargos, because your company is american and you are not allowed to do business with people living in some geographic regions, like crimea. But even if you don't need consent you must still disclose that you process your users personal data that way, and why, in your privacy policy, so your users can decide to not use your service, if they don't agree. That may seem to contradict your business interest, but that is consumer protection in a nutshell for you.

Note that, if you now use this data to show graphs to your marketing team and have meetings about improving advertisements by targeting regions, you are in violation of GDPR article 5, because the purpose you stated (embargos) does not match what you actually do (targeted marketing). This is a principle americans often find hard to grasp: only because you have the data for some reason, that doesn't mean you can do whatever you want with it. This becomes clearer if you don't think of personal data as a thing in possession of those who collect it, but as a good that stays in possession of the person it is about and gets licensed to those who use it with a bound purpose. Consent management and privacy policy then being similar to a license agreement.

Now if you ask your users nicely for consent to be geolocated, and if you have a sane reason for wanting that data, the users may even agree. Just tell them about your awesome marketing department and how much they love region targeted marketing and if they don't bite, offer them a goody and they will agree. Hey they will even be offended by mistakes in your providers geo-ip-db and fix those for you. Note that this is a part of the right to data privacy: if you gather and process about the user the personal data that they are from somewhere, they have a right to know that and tell you "well no that is a mistake, i am from elsewhere". If you never tell them that you geolocate them, this is impossible.

The key problem is: most people who want that data (let's avoid the word "you" here) likely don't have a sane reason, they are just nosy and want to track their users out of curiosity. They know their tracking is kinda sus, so they don't want to tell the consumers about it, or ask for permission, or offer any goodies, and they don't care about a small error rate in their big data swamp. Instead they hide behind some "everyone does it" defense and act surprised if people consider them shady. Or worse, they require the data to offer user-unfriendly anti-features like content not being available in some regions (which actually could be a reason to not ask for consent: contracts with third parties like movie corporations requiring geolocation as part of online movie distribution), but in practice all that does is leading consumers to pay third parties to move their traffic around the globe, wasting resources to break the anti-feature.

But i digress, the key takeaway is: don't overfocus on cookies, state how and why you process personal data and it becomes obvious if you should ask for consent. An http-server does not need a consent banner to process the http-clients IP, it could not answer the clients request without it. The client gave it the IP for a very specific reason. But that reason and that process does not mean you can take the IPs from the servers logs and do with them whatever you want. That data does not belong to you, even if you process it. So please don't do that without asking for consent, or at least explaining why you do it. That is our fundamental right as data subjects.

Thank you.

Re:Google gives Europe a ‘reject all’ button for tracking co... by account42 on Monday April 25, 2022 @10:27AM (#31155302)
> Stop overfocusing on cookies and instead remember to add this geolocation process, and why you do it, to your privacy policy. Please name the geolocation service provider (sub-processor) you share the users IP with, so your users can audit how their data is used.

Or don't be lazy/cheap and use a geolocation implementation where you don't need to share the IP at all.

Re:Google gives Europe a ‘reject all’ button for tracking co... by tomc1985 on Monday April 25, 2022 @05:00PM (#31160519)
Geolocation can be done without a subprocessor. It goes against the grain of outsourcing everything under the sun but all you need is a high-quality local database of IP address ranges.

And yeah, by all means, include that in your privacy policy.

I don't know details of the GDPR (as the don't apply to me) but a logged IP address belonging to the original requestor seems odd, do you also own the footprints you physically left behind on the ground as you walk around?

Re:Google gives Europe a ‘reject all’ button for tracking co... by Jon_Lowtek on Tuesday April 26, 2022 @09:44PM (#31175309)
You may not own the physical footprints, but you have a fundamental right to the personal data encoded in them. A corporate service collecting footprints, offering insights and analysis about those who made them, creating maps and profiling their interests based on where they walk, does concern the basic right to data privacy, even if the whole thing is analog, and not out-sourced, and uses no cookies. This is why i compared it to licensing. A musician may not own every physical record, but they have rights to the music they created. Not a perfect metaphor, but good enough to better understand the concept.
Re:Google gives Europe a ‘reject all’ button for tracking co... by throwaway5371 on Sunday April 24, 2022 @11:59AM (#31145308)
you can do that without selling out your users
Re:Google gives Europe a ‘reject all’ button for tracking co... by nicbou on Sunday April 24, 2022 @12:07PM (#31145395)
Yep, and we clever HN people know that. But the web isn't all clever hackers. There are lots of small businesses with WordPress websites who just want to see a graph on a page. They will keep adding cookie banner plugins so long as they can keep seeing that graph.

I switched to plausible because the added privacy is also a major UX benefit: there's no GDPR banner on my website.

Re:Google gives Europe a ‘reject all’ button for tracking co... by belorn on Sunday April 24, 2022 @12:45PM (#31145755)
I would claim, based exclusively on experience, that most small businesses websites are built by web design companies. It is people working in the web shop industry that make decision about build tools.

Also in my experience, there isn't usually a GDPR banner on small businesses websites built on wordpress. A pizzeria, barber, local grocery store, or some other small businesses don't really have or need much on their website. A few images, a page for location/contact, a page about the employees/founders, and for the more advanced ones a web shop. No GDPR needed for any of that, and for those web shops, once a person is registered all the consent are usually given as part of the registration processing.

The typical model that I see for small businesses is also one where no one need or want a graph over visitors. The customer pay the web shops a one-time fee to build the site, and then it mostly sits there until the customer decide to build a completely new website because the old one is getting too old. No A-B testing, no optimization for user retention, no frontend interactions, no user flows. Mostly all the customer want is to not be paying a web developer any more money. This is why some shops will utilize "proprietary modules" in order to keep the customer on their (usually partners) servers, in case the customer might get ideas of moving the site to a better/cheaper hosting provider.

The most common situation that I know of when people are requesting visitor graphs is either when customer apply an marketing campaign and want to see the effect on their website, or when a conglomerate has acquired a bunch of smaller companies and want to make decision about closing down/merging specific website. In those cases the analytics usually get added when that need arrive.

Re:Google gives Europe a ‘reject all’ button for tracking co... by samizdis on Sunday April 24, 2022 @05:58PM (#31148721)
> Shady practices like knowing how many visitors you get on your website?

Perhaps I am taking that statement too literally, but in the last century I could just look at my server logs to find out how many, from which IP addresses, and the referrer. No need for cookies for that info at all.

Re:Google gives Europe a ‘reject all’ button for tracking co... by aaomidi on Sunday April 24, 2022 @11:58AM (#31145295)
You can do this without tracking cookies.

Literally your access logs will give you this information.

Re:Google gives Europe a ‘reject all’ button for tracking co... by mdoms on Sunday April 24, 2022 @12:27PM (#31145596)
A huge number of website operators either don't have access to these logs or wouldn't know how to access them. And even given access, grep'ing a log file gives you far less rich information than a Google Analytics dashboard.
Re:Google gives Europe a ‘reject all’ button for tracking co... by hackerfromthefu on Monday April 25, 2022 @04:54AM (#31152007)
it also gives google far less info to stalk you
Re:Google gives Europe a ‘reject all’ button for tracking co... by aidanlister on Sunday April 24, 2022 @12:04PM (#31145376)
That’ll give you visits, not uniques.
Re:Google gives Europe a ‘reject all’ button for tracking co... by rndgermandude on Sunday April 24, 2022 @12:25PM (#31145585)
You could just do "Set-Cookie: visited=true; Max-Age=<interval>". No unique id, but you still can count uniques by checking requests for the lack of that cookie. This cookie is not personal information, and cannot be used to identify a person, not even indirectly, and thus needs no consent. This is basically what most those "cookie banners" do anyway, set a preferences cookie - that cannot be linked back to a person, if done properly.

Or if you want to avoid the cookie altogether, you could use some static, cachable resource with a cache expiration date. Basically the good old counting pixel. Almost the same as the non-identifying cookie, except caches are more likely to be automatically evicted by browsers.

Re:Google gives Europe a ‘reject all’ button for tracking co... by candiodari on Sunday April 24, 2022 @01:15PM (#31146020)
The only thing that matters about cookies is whether they are necessary, not whether they contain identifying information. Even duration doesn't matter. They should be explained to the user, but consent is not necessary.

Some cookies are even mentioned specifically as allowed. The example given is keeping track of a shopping cart across visits. Do that, and you have your uniques. While hinted at, it does not specifically mention those have to be session cookies: you could have a banner with "accept cookies", then use session cookies whether or not accept is pressed. It even seems to be common practice to hide explanations behind a "more info" button.

https://www.privacypolicies.com/blog/eu-cookies-directive/

I'm pretty sure "uniques" stats don't require you to violate the EU cookie directive.

Re:Google gives Europe a ‘reject all’ button for tracking co... by rndgermandude on Sunday April 24, 2022 @02:56PM (#31147056)
>The only thing that matters about cookies is whether they are necessary, not whether they contain identifying information.

Incorrect, kinda.

The GDPR concerns personal information, and information that can identify people directly (e.g. location data) or indirectly (e.g. an "opaque" unique id, as it can be potentially linked back to a person, or an IP address, as it can be potentially linked back to a person, with the help of a court order compelling an ISP to pass through subscriber information to a complainant or law enforcement, and that subscriber may live alone).[0] The GDPR does not concern itself with stuff that cannot be used to identify a person or is personal data.

The earlier ePrivacy Directive (better known as the "cookie law", although the section concerning "cookies" is only a small part, and does not even mention cookies explicitly) is a vague thing, on the other hand.

Specifically, it says under "Art 5 - Confidentially of communications" that

"Member States shall ensure that the storing of information, or the gaining of access to information already stored, 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. This shall not prevent any technical storage or access for the sole purpose of carrying out the transmission of a communication over an electronic communications network, or as strictly necessary in order for the provider of an information society service explicitly requested by the subscriber or user to provide the service."

Some people therefore say this rules out all non-"necessary" cookies (unless there is explicit consent). However, this is not the intention of the directive, not how legal experts evaluated it, not how courts in particular evaluated it. If you followed that maximal view of the text, then you couldn't legally serve anything to a user (as the users browser might temporarily or permanently store that information without user-intervention), cannot "make" a browser cache stuff, cannot even store that a user opted against tracking cookies. Instead, it has to be seen in under the "confidentiality" umbrella of that Article, meaning the "information" mentioned has to be information that concerns the user. Non-identifying (neither direct or indirect) cookies do not fit that interpretation, and courts have acknowledged that (and because it's the EU and it's vast, some courts went against it too).

The proposed ePrivacy Regulation (successor to the ePrivacy Directive) is meant to make things less vague and simpler, especially in regards to cookies, and explicitly allows anonymous user counting via cookies, among other things. While the ePR has not passed, courts did take notice, and consider it whe they evaluate the intent of the law makers as it pertains to the still reigning ePrivacy Directive.

>They should be explained to the user, but consent is not necessary.

Correct. You still have to inform people, even if your cookie use is merely "we do not use cookies to track or identify users".

Maybe surprisingly to some, the aforementioned access logs up thread, are likely illegal without user consent, because usually they contain IP addresses of users. While the "visited=true" non-identifying cookie is not (in courts with reasonably knowledgeable judges at least).

[0] https://gdpr.eu/recital-30-online-identifiers-for-profiling-...

Yes, it's not the official website, but also yes, it's the same text of the official directive recitals, except on this unofficial website you can properly link it without fuss.

Re:Google gives Europe a ‘reject all’ button for tracking co... by hedora on Sunday April 24, 2022 @12:17PM (#31145501)
Yes. One of those things is legal to track without permission. The other isn't.
Re:Google gives Europe a ‘reject all’ button for tracking co... by philistine on Sunday April 24, 2022 @02:12PM (#31146608)
uniques is such a misnomer; let me switch to my phone ... oups I'm a second unique visitor.
Re:Google gives Europe a ‘reject all’ button for tracking co... by minusf on Sunday April 24, 2022 @02:23PM (#31146725)
it all depends on if you are a logged in user with a session or not. you can login to an account from any number of devices but you are still only one user in the metrics.
Re:Google gives Europe a ‘reject all’ button for tracking co... by aaomidi on Monday April 25, 2022 @11:02AM (#31155855)
And you can still get that metric without third party trackers.
Re:Google gives Europe a ‘reject all’ button for tracking co... by nikeee on Sunday April 24, 2022 @12:26PM (#31145587)
They certainly can provide uniqueness to some degree. GoatCounter [1] does that.

[1]: https://www.goatcounter.com

Re:Google gives Europe a ‘reject all’ button for tracking co... by kenniskrag on Sunday April 24, 2022 @12:37PM (#31145683)
they do not have a kpi on "how long stayed the visitor on the page"
Re:Google gives Europe a ‘reject all’ button for tracking co... by ghusto on Sunday April 24, 2022 @01:00PM (#31145867)
They don't, no. If optimising for that kind of thing is necessary for a business, then that business is in my opinion one that can go away.

It's like how search results are almost entirely rubbish now, because things are optimised for what Google looks for. So similarly, I have no sympathy for sites that need that kind of analytics.

Re:Google gives Europe a ‘reject all’ button for tracking co... by kenniskrag on Monday April 25, 2022 @03:14AM (#31151435)
Not a business. It helps to filter out crawler and bots. It tells me which content is interesting enough to read and worth updating (my personal wiki)
Re:Google gives Europe a ‘reject all’ button for tracking co... by account42 on Monday April 25, 2022 @10:44AM (#31155582)
Are crawler access patterns really that non-uniform across pages and large enough to make this a problem? And for crawlers that are not immediately indentifiable from the user agent? Are you sure you are not just counting users without JS / a blocker that interferes with your tracking / intermittent connections as bots?

If you really care what users like on your site why not ask them?

Re:Google gives Europe a ‘reject all’ button for tracking co... by nikeee on Sunday April 24, 2022 @12:48PM (#31145775)
Sadly no, but that's a different KPI than "how many visitors you get on your website".
Re:Google gives Europe a ‘reject all’ button for tracking co... by minusf on Sunday April 24, 2022 @02:26PM (#31146751)
it's quite trivial to create a breadcrumbs system which tracks in the logs a logged in user/session in an app with services like sentry.io
Re:Google gives Europe a ‘reject all’ button for tracking co... by Jon_Lowtek on Sunday April 24, 2022 @07:02PM (#31149086)
Services like this make it trivial to land in court, because they nudge their customers to collect data under the pretense of error analysis, a valid business interest not requiring consent, and then use the data for behavior analysis and profiling. If, as a user, you can't turn of the later without damaging the former, you got sold shit and should take your business elsewhere.
Re:Google gives Europe a ‘reject all’ button for tracking co... by minusf on Monday April 25, 2022 @03:43AM (#31151581)
the apps i work on don't collect "behavioural data", so i don't have a strong opinion about it. however i think there are some crucial differences here.

1. sentry.io breadcrumbs are just a nicer interface to one's own log messages, and log messages are useful and necessary to have a well functioning app. where do log messages end and profiling/behaviour data begin? that's a rather fuzzy line.

2. even if one "logs" every breath the user takes (probably covered in the ToS), it's still only limited to one app and one service, while cookies are trivial to abuse for cross-site/cross-app tracking both inside and outside a company.

Re:Google gives Europe a ‘reject all’ button for tracking co... by Jon_Lowtek on Thursday April 28, 2022 @09:27PM (#31200318)
concerning the fuzzy line: log messages shouldn't include personal data (and in sentries defense they are trying to be helpful when it comes to that) Yet many people prefer to throw everything into the logs, arguing that much helps much and debugging without data is horrible. And suddenly the logs become a rich data swamp, and all that is needed is a nicer interface. So a lot of analysis that would otherwise require specific implementations or even user consent instead becomes data analysis of debug logs. That creates more incentive to throw everything into the swamp. And it makes it easier to forget its personal data: "If it's in the logs, i am not accessing the database i need permission to access." A lot of questionable personal data processing can be moved to the backroom of the backend, but that doesn't make the processing less questionable, just makes it easier to hide it from those subject to it, making it more illegal. Which is what i am warning about.

EU privacy regulations focus the purpose of personal data processing. If a company makes a contract with their users that says they log personal data for the purpose of debugging, and then they use it for web analytics, that is not allowed, its a violation of the contract. And like you stated many just write consent into the ToS. But let us look at the privacy friendly case where the users are asked if they agree to other behavior analytics not related to debugging. And suddenly the log interface isn't so nice anymore.

In a perfect world personal data is labeled with the purposes it can be used for.

If such issues are not relevant to the company you work for, be grateful, and don't take the warnings personal. But by all that is holy to you don't tell people the log interface is a great substitute to web analytics.

Re:Google gives Europe a ‘reject all’ button for tracking co... by Jon_Lowtek on Thursday April 28, 2022 @08:06PM (#31199770)
How can you claim it is limited to one app, if section 6.2 of the ToS of the service you and thousands of other companies use to manage logs says you allow them to create aggregations and summaries and distribute them to third parties?
Re:Google gives Europe a ‘reject all’ button for tracking co... by nicbou on Sunday April 24, 2022 @12:05PM (#31145378)
Don't forget that the internet is full of websites that aren't owned by HN users. People used to just slap Google Analytics on there and call it a day.

Again, nothing shady, just bad practices. A bit like putting everyone in CC instead of BCC.

Besides, there's only so much you can do with backend logs. It doesn't work so well for small but meaningful frontend interactions, user flows and the like.

I certainly need some sort of stats to operate my website, although I don't need nearly as much info as GA collects.

Also a nitpick: the GDPR is about collecting data, not setting cookies

Re:Google gives Europe a ‘reject all’ button for tracking co... by account42 on Monday April 25, 2022 @10:48AM (#31155642)
I disagree, just slapping GA on websites is shady shit. Not because the individual webmaster is doing shady stuff with that data but because this gives Google a ridiculous amount of data.
Re:Google gives Europe a ‘reject all’ button for tracking co... by heftig on Sunday April 24, 2022 @12:28PM (#31145601)
I think access logs as generated by most web servers require a GDPR notice to be compliant, as IP addresses are considered personal information.
Re:Google gives Europe a ‘reject all’ button for tracking co... by ghusto on Sunday April 24, 2022 @01:02PM (#31145895)
Not sure, but I don't think so. I think it's only if that site itself can link the IP to a name / user. For example, storing all the real world addresses in the world doesn't require a GDPR notice, but they're all related to people.
Re:Google gives Europe a ‘reject all’ button for tracking co... by Jon_Lowtek on Sunday April 24, 2022 @07:33PM (#31149263)
IP addresses match the definition in GDPR article 4 point 1: they are "an identification number, location data, an online identifier". Well the second one has to be stretched a bit, so an address matches location data, but the other two fit quite well.
Re:Google gives Europe a ‘reject all’ button for tracking co... by ghusto on Tuesday April 26, 2022 @09:30AM (#31167233)
If those are the only criteria, then I think it doesn't fit.

When I still live in the UK 6 years ago, IP addresses were rarely fixed, and changed everytime you connected. In fact, people paid extra to get a fixed IP.

I guess it's a bit of a grey area though, since sometimes it fits, sometimes it doesn't.

Re:Google gives Europe a ‘reject all’ button for tracking co... by Jon_Lowtek on Tuesday April 26, 2022 @09:49PM (#31175338)
no those are not the only criteria, see gdpr.eu/article-4-definitions