Optimizing your platform for affiliate marketing