Track ads performance while Refer Labs remains the source of truth for referral attribution and payouts.
Install the pixel through GTM to standardize across websites and reduce implementation drift.
GTM guide: /gtm
Pixels can be blocked; Refer Labs conversion capture should remain server-side so attribution is consistent.
Authoritative conversion capture
POST https://referlabs.com.au/api/discount-codes/redeem
Headers:
Content-Type: application/json
x-pepf-discount-secret: <YOUR_SECRET>
Body:
{
"discountCode": "CODE_USED_AT_CHECKOUT",
"orderReference": "ORDER-12345",
"amount": "199.00",
"metadata": { "platform": "tiktok_ads" }
}Run /status for live checks.