Both methods are valid to get credit for your referrals. If both are used at the same time, the coupon will be prioritized.
What happens if a coupon and a link is used at the same time?
If a coupon and a referral link are both used, the coupon takes priority; if the coupon belongs to an affiliate, the link is ignored.
