top | item 31145376

(no title)

aidanlister | 3 years ago

That’ll give you visits, not uniques.

discuss

order

rndgermandude|3 years ago

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.

candiodari|3 years ago

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.

hedora|3 years ago

Yes. One of those things is legal to track without permission. The other isn't.

philistine|3 years ago

uniques is such a misnomer; let me switch to my phone ... oups I'm a second unique visitor.

minusf|3 years ago

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.

nikeee|3 years ago

They certainly can provide uniqueness to some degree. GoatCounter [1] does that.

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

kenniskrag|3 years ago

they do not have a kpi on "how long stayed the visitor on the page"

minusf|3 years ago

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

Jon_Lowtek|3 years ago

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.