Cookies are specific files sent from a website to the user’s web browser. It’s a good way to keep track of things for an affiliate because they’ll know whether or not the customer buys something after a certain period of time.