Affiliate tracking setup

Looking for the best way to implement an affiliate tracking setup with webflow

I have an ecommerce site
Going to need a lot of affiliate codes that can be tracked for monthly givebacks.

For instance when someone sees a video and the speakers says use code Joe10 to receive 10% off, I need that amount of spend tracked, and then Ill be able to give Joe his earned 10% of the sale.

What app will do that the best, and is easy to setup?