How can I track and earn commission from direct brand website sales?

Hi there,

I am building a multi-vendor marketplace and will be taking commission from brands’ sales which are made direct through our site.

However, there will be instances where a customer will see a product on our marketplace and choose to go and shop directly on the brand’s website for a variety of reasons. I want to be able to capture any of these sales, so I have a 2-part question:

  1. Is there a way to put the brand’s website link on a product page, such that if a customer clicks on it and then makes a sale within the next 90 days, I can take a % commission on that sale?

  2. Is there a way to track the customer (via pixels or other?) such that if they visit our marketplace and view a product by a brand and then shop directly at that brand’s website within the next 90 days that I can take a % commission on that sale?

To clarify, these brands will all be other Shopify stores.

Many thanks for your support!

Exactly my question. Let’s see if somebody can help with this.