Skip to main content

Verify Tracking

Validate referral capture and conversion attribution before launch

Table of Contents

Verify Tracking

Use this checklist before launch.

1. Validate Referral Capture

  1. Open your site with ?via=TEST_TOKEN
  2. Confirm a call to /api/track succeeds
  3. Confirm window.AffiliateBase.referral is 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_id was 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_id and sets client_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:

Next steps