Details
Description
When someone uses an affiliate link to place an order, that order should be recorded as a referral on behalf of the affiliate.
- When someone uses an affiliate link, we must set a cookie on the user's browser to reference that affiliate
- The referral link can be at /order/a/1234567/ where 1234567 is the affiliate ID
- This cookie will be referenced on client signup and order completions in order to process affiliate referrals
- When an order is completed, the total cost (minus tax) should be used as the basis to determine the commission amount, and a referral should be created in the system
Note: you cannot refer yourself for orders, so any cookie that would be created for visiting the affiliate URL on your own behalf should be ignored.
1. |
Order: Affiliate Cookie | Closed | Abdy Franco |
|
|||||||||
2. |
Order: Affiliate Referrals | Closed | Unassigned |
|
How do we determine whether someone is using the affiliate URL to order for themselves? I think the simple solution is that the affiliate ID will be ignored if the account is the same as the one that the affiliate ID belongs. However, if someone creates a new account using the affiliate ID then it would apply, even if it's from the same IP address.