Verify Tracking
Use this checklist before launch.
1. Validate Referral Capture
- Open your site with
?via=TEST_TOKEN - Confirm a call to
/api/tracksucceeds - Confirm
window.AffiliateBase.referralis populated
2. Validate Checkout Attribution
Start a Stripe checkout and confirm client_reference_id is set from the referral value.
- Payment Link: inspect the link after a referred visit and confirm
client_reference_idwas appended. - Buy Button or Pricing Table: confirm the Stripe element receives the referral value from
data-affiliatebase. - Backend-created Checkout Session: confirm your server receives
referral_idand setsclient_reference_id.
3. Validate Conversion Creation
Complete a test purchase and verify data appears in merchant dashboards:
- Referrals
- Sales
- Commissions
4. Validate Affiliate Visibility
Log in as an affiliate (or impersonate) and confirm referral/commission visibility in the affiliate portal.
Troubleshooting
Use: