Not exactly. The way its work is more mundane.
Every time you visit any website, some tracking company (example ; Facebook, Google, Alexa, etc) will take record of whatever cookies & tracker in your browser / apps. And afterward they will sell that information to anyone in open market (such as...