A web cookie is a text file placed on your computer that tracks your visits. Cookies alert the website on whether you are a returning visitor, or which ads will be most effective on you.