You just searched for a pair of shoes on a website, and now you are being shown ads for shoes everywhere you go on the internet. Here's how it happens.