That's something we can do for you. In short, we recommend using a trusted affiliate network (such as ShareASale, Pepperjam, Awin, and a few others) to handle all the tracking and affiliate payment services.
Once you join one of the above affiliate networks you will be given some tracking code (or, in some cases a plugin or extension) to place on your site (globally). You will also need to place another code or pixel to "fire" on your confirmation page after an order takes place.
The above code integration allows affiliates to promote your store to their readers and for the network to track them through to the purchase so they can be paid a commission based on the sale.