I want to link my website to another website. How do i know if a product is sold from the other website?

Basically i want to run an affiliate program on a friend's website. As i want to pay him a commission for each sale generated from his website how do i identify those sales?
1 answer 1