Unique affiliate IDs or tracking cookies are often used to monitor referrals and attribute sales correctly.