Affiliate marketing is earning a commission by referring customers to another company's products through tracked links. Sites must disclose affiliate links to readers.