Map referral fields once, then every campaign uses a unique referral link per ambassador.
Import your ambassador CSV and create custom audience fields for referral tracking.
Recommended Audience fields
REFCODE, REFLINK, DISCOUNT
You can name fields anything; just keep a consistent mapping. The most important one is the referral link field.
Put the referral link field in your primary CTA button (URL). Refer Labs logs visits and ties conversions back to the ambassador.
Example merge tags (Mailchimp)
Hi *|FNAME|*, Share your link: *|REFLINK|* Button URL: *|REFLINK|*
Replace REFLINK with the merge tag for your chosen field if you named it differently.
If you redeem discount codes in a system that isn’t Shopify/Stripe, post the conversion to Refer Labs from your server/automation tool.
Webhook format
POST https://referlabs.com.au/api/discount-codes/redeem
Headers:
Content-Type: application/json
x-pepf-discount-secret: <YOUR_SECRET>
Body:
{
"discountCode": "CODE_FROM_ORDER",
"orderReference": "ORDER-12345",
"amount": "199.00",
"metadata": { "platform": "mailchimp" }
}Get the secret from Refer Labs Dashboard → Program Settings. Keep it private.
Use the Status page to verify integrations + configuration.