Use GTM to standardize analytics across client sites, then verify referral links and conversions are reflected in the dashboard.
Add your GTM container to the website you’re integrating. This doesn’t replace Refer Labs tracking; it helps you standardize client-side analytics.
GTM snippet (example)
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXXX');</script>
<!-- End Google Tag Manager -->Replace GTM-XXXXXXX with the client’s container id. Use GTM Preview mode to validate.
Use a real ambassador referral link and verify the end-to-end journey: click → referral page → signup → conversion.
/r/AMBCODE).If you need to push conversions from non-native systems, use Zapier / Make or Custom API.
If you want standardized reporting in GA4/Ads across client sites, track these via GTM. Keep this separate from Refer Labs’ server-side conversion capture.
/r/ link)For conversion attribution inside Refer Labs, your checkout system must post discount redemptions to /api/discount-codes/redeem.
Use /status for live integration checks.