Choose how to track affiliate sales with Stripe.
Choose Your Method
No-code sites, Webflow, Framer
Custom backends with Checkout
Any setup, no code needed
Not sure? Start with Coupon Codes — works everywhere with zero code.
How Tracking Works
Click — Visitor clicks affiliate link (yoursite.com?ref=CODE)
Cookie — Referral is stored in a cookie (30 days default)
Purchase — Visitor buys via Stripe
Webhook — Stripe sends payment event to PromoteBoost
Attribution — Sale is matched to the affiliate
Commission — Amount is calculated and recorded
Attribution Priority
When multiple affiliates could get credit, this order decides:
promoteboost_referral in Checkout
Last click from ?ref=john
Coupon codes always win — even if the customer clicked a different affiliate's link.
Install the Tracking Script
For most methods, add this to all pages:
What it does:
Captures ?ref=CODE from the URL
Stores referral in a first-party cookie
Makes window.promoteboost_referral available to your code
Find your Org ID: Settings → Integration
Testing Your Integration
1. Create a Test Affiliate
Go to Affiliates → Create and add a test affiliate with code test123.
2. Click the Referral Link
Visit your site with the referral parameter:
3. Check the Cookie
Open browser DevTools → Console:
4. Make a Test Purchase
Use Stripe test mode with card 4242 4242 4242 4242.
5. Verify in Dashboard
Go to Conversions — you should see a new pending conversion attributed to your test affiliate.
Troubleshooting
promoteboost_referral is undefined
Check if tracker.js is loaded (Network tab)
Make sure you're on HTTPS
Check Stripe webhook logs
Check attribution priority above
→ See FAQ for more help.