How we match partner with an order?
From highest to lowest priority:
1. Customer tag - every order from a tagged customer will be connected to a partner who was matched with that tag. To learn more about tagging customers, visit this page.
2. Lifetime referral - you can enable it in the program settings. Here you can see how to do it.
3. Discount code - to generate discount codes for your partners, enable it in your program settings.
4. Referral link
5. Order note attributes - you can add an attribute called "gh_partner_id" with a partner id as the value.
A customer opens a referral link from one partner, but types in a discount code that belongs to a different partner. The order will display as referred by a partner whose code was used.