pretty basic question from a beginner,

when you run a cashback/reward site you need to equip retailers links with user IDs. So if I have 1000 members and I want to track where and for how much they bought something I must add a 1000 sub ID's to a link or what?