by stanleydrew · 11y ago · 0 comments
When you are "logged in" to Facebook, your browser stores a unique token in a cookie that can identify you. That unique token is sent with every request the browser sends to FB, even requests you don't initiate directly.
These hidden requests happen all the time, like when a web developer embeds a FB like button on a page. The like button is actually generated and served by FB's servers (check your browser's dev console), and the request to show the button itself gets that cookie sent along with it regardless of whether you press it.
The tricky bit is that "logging out" might not actually be enough. I don't use FB so can't say for sure, but it is certainly possible to implement "log out" such that you can't see restricted resources or pages, but still have an identifying cookie on your machine. In this case the cookie itself would store a flag marking you as "logged in" or "logged out", but the cookie would still identify you all the same.
I remember a while back an article was posted about how to uniquely identify users without cookies though. I don't recall the exact method though, or if in this scenario it would require javascript and not just a link to a like button.
User tracking isn't a 100% accurate science, and your browser name, browser version, operating system, OS version, IP address, screen resolution, etc. are still getting sent along and they don't change by going incognito. It's no big deal for Facebook to just assume it's still you if the only thing that's changed is that you're no longer sending the same session cookie.
It's often nicknamed "pr0n mode" for that reasons, by people that didn't want pr0n websites showing up in their browser history.
Check yourself here:
https://en.wikipedia.org/wiki/HTTP_ETag#Tracking_using_ETags
Lumping it in with the same data that came from the last logged-in user would make the data less valuable, because there's far less of a guarantee of which user the data was collected from (imagine people using Facebook on a library computer, then logging out and 20 more people using the computer before someone else logs in).
I'm sure there'd be some use for the data though, so I'm sure Facebook will gather it if they don't already have plans to. They could just earmark it with the probability that it applies to the given user.
Or just lump it all together as anonymous data, I'm sure there's value in that too.