A cookie is a tiny file that contains data about which websites a user accesses, this is kept on their computer and is used to track them. Affiliate marketing utilises cookies and many websites use them to improve the repeat visitors experience.