You will need to have the smith affiliate module on the page your affiliates are linking to if you want SC to save the affiliateid with the order. Here is the syntax for the url:
http://www.yourwebsite.com/Default.aspx?AffiliateId=27
You can also refer to page 209 of the cart manual for more info.
-Scott