eCommerce: track and record customer referrals