Hi, Trying to add a referral system on the site. It needs to be put on the success page.
Do I put the code below on the checkout success page or the cart_readonly.php page? I see that the read only cart is called in and has the WA store cart values. Do I use them?
<img src="http://myclient.zferral.com/e/1?rev=$rev&customerId=$customerId&uniqueId=$uniqueId&coupon=$coupon" style="border: none; display: none" alt=""/>
These are the values.
$rev (required) – Total value of the transaction
$customerId (required) – ID of customer who completed the event
$uniqueId (optional) – A unique ID (i.e. order id, payment id or something similar). HIGHLY Recommended for security
$info (optional) – Additional information about the order (it is only visible in your dashboard, near the recorded commissions)
$coupon (optional) – Affiliate coupon