Add a referral page to Squarespace with a Code block and verify tracking end-to-end before inviting ambassadors.
Create a “Referrals” page and embed the iframe using a Code block (or Code Injection on a page section).
Iframe embed
<iframe src="https://referlabs.com.au/r/AMBCODE?embed=1" title="Referral reward" style="width:100%;min-height:720px;border:none;border-radius:24px;overflow:hidden;" ></iframe>
Replace AMBCODE with a real ambassador code to test.
Refer Labs attributes conversions when discount code redemptions are posted from your checkout/payment system.
Conversion endpoint (server/automation)
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": "squarespace" }
}Use /status for quick diagnostics.