An affiliate cookie is the same thing as an ordinary cookie (it tracks data). Instead of tracking login information as a regular cookie would, it tracks your affiliate account data – so you get credit if someone on the site being tracked makes a purchase based on your advertising referral.