Understanding the basics of affiliate marketing