Dear, for our customer’s woocommerce shops:
1. We need to put in place affiliation system open only to some selected partners. So if new visitors use a specific link to visit the shop, and then pay an order (immediatly or by cookie if he comes back later), then it would reward our partner who provided the link. The reward information would be automaticlaly be sent by email and would be a % of the sale that we would manually give to him.
We will also need to add a landing page to explain our affiliation program. This page will need to be hidden and only accessible via direct link to some users.
2. We would also add a sponsorship program open to anyone: from their Account page ( /my-account/ ), they would have an email field + button to “Invite a friend and get rewards”.
The idea is that the system tracks for real conversions from the emails, and when email is having a real sale, then coupon-code or store credits or whatever is the best is added to the original customer.
To save time, maybe it would be best if you find and setup an existing plugin instead of coding a new solution? But it is up to you.
Info, if it can help: our shops uses woocommerce 3.4.4 and plugins “Booster Plus for WooCommerce” (to generate multicurrency but also offers many others options) and also “MonsterInsights Pro” to tracks visits and their conversions, and also “WooCommerce Order Status & Actions Manager” where we set custom order validated status called “Payment Validated’.