The Basic Flow
- Visitor arrives via affiliate link → we store the ref code
- Customer goes to checkout → you pass the ref code in metadata
- Payment completes → webhook notifies us with the sale details
- We credit the affiliate automatically
Passing Metadata
Access the referral data via window.revshare_metadata and include it in your checkout.
For full code examples, see our Integration Guide.
