how can I see what the referred client purchased and using what link?

Hi there,
Is there any options so we can track the incoming sells as an affiliate?
I mean, how can I see what the referred client purchased and from what what link it was referred, like from a listed youtube preview, or vimeo, or directly form my own website, etc…?
And also can we see as an affiliate what product did the referred client purchased?

Regards,
David