The first affiliate link that the customer clicks will store the affiliate’s ID in a cookie however it will be overridden from the second link and the second affiliate will ultimately get the referral.