Our Privacy Policy lays out how we track users (it's cookies, nothing crazy like panopticlick or whatever). I'll provide a little more insight here though.
We do adapt ads based on what we know about a user browsing Stack Overflow. We do not share personally identifiable information with any of our advertisers, however.
Very very broadly, we target based on your location (this is really obvious) and then what we think would interest you. Right now this is a very simple process, mostly based on the tags in the page. Over time we've become more sophisticated (we used to do essentially no targeting), and I expect we will become more sophisticated still in the future.
For example, our homepage customization ML builds a profile of what tags you're interested in. While this is currently not used for job ad selection purposes, I'm planning to start trying it out.
Generally speaking, when we think about ad targeting ideas:
- It must help keep ads relevant
- We want clicks because of interest not trickery
- It must be built from our data
- We're not interested in tracking users offsite
Something we don't have yet, but that I'm planning to build when our next ad overhaul is underway, is a page that lets you grab all the data we think we have about you.
There is now a page that lets you see what our algorithms think, download the data, and disable the predictions if so desire. We're still in the process of moving existing ML-y things to it; however, nothing not in that download is used for ad targeting.