For those who are uninitiated, its worthwhile to note that your login account is not the only thing by which you are being tracked. The advertisement serving websites also put up cookies on your computer to identify you. To record your clicking habits and serve you the advertisements that recognize what are the things that you are more inclined to buy.
One option to get away from this to install AdBlock in Firefox (and similar addon or plugin in other browsers) to turn off the ads alltogether but this hurts the websites that give you the free content.

The best option is to visit National Advertising Initiative and opt-out of the target advertising from all kinds of ads serving services.