Optimizing Multi-Touch Attribution in Affiliate Marketing