Quick question about Shopify Collabs calculating commission

Hi all,

I was just wondering if the commission paid out to influencers are based on the order value before or after their affiliate discount.

For example, an influencer with this tier: 10% off for customers, 10% commission.

For an order of $100, will the influencer get $10 commission (before discount), or $9 (after discount)?

Thanks