Great question — answering as the UphillTech team:
First of all you should register your website with Amazon Affiliate program then you will code to place on your websites. This will enable to amazon to find out that how many visitors are coming through your websites and who purchase products or anything. It will enable you to get commission for each purchasing refer by your website. Complete details is here:http://www.tictacdo.com/pages/template-display.jsp?id=ActivityTemplate15gt4p6cdmr
Full answer by user537626: https://stackoverflow.stackexchange.com/a/4407376 (CC BY-SA 4.0).
Need it done for your business? UphillTech.