Track Affiliate Referrals for Stripe Checkout
Stripe Checkout provides a conversion-optimized payment experience, but it can break traditional affiliate tracking by redirecting to Stripe-hosted pages. Trackli maintains attribution through the entire Checkout flow using client_reference_id and metadata, so no referral is ever lost.
How to Set Up Stripe Checkout Affiliate Tracking
Get up and running in minutes with these simple steps.
Pass Referral Data to Checkout
Add Trackli's client_reference_id to your Stripe Checkout Session creation. This embeds the affiliate identifier directly in the Checkout flow.
Configure Checkout Webhook Events
Set up webhooks for checkout.session.completed events. Trackli reads the client_reference_id and metadata to attribute the payment to the correct affiliate.
Handle Payment Links Attribution
For Stripe Payment Links, Trackli uses URL parameters combined with server-side matching to maintain attribution through the hosted payment experience.
Set Post-Checkout Commission Rules
Define commission rules for one-time payments, subscription starts, and setup fees processed through Stripe Checkout.
Test the Full Checkout Flow
Use Stripe's test mode to verify attribution works end-to-end. Trackli provides a test affiliate link you can use to simulate the complete referral-to-checkout journey.
How It Works
From referral link to commission approval — fully automated with Stripe Checkout. You pay your affiliates however you already do.
Frequently Asked Questions
How does Trackli maintain attribution through Stripe Checkout?
Does this work with Stripe Payment Links?
What about multi-product Checkout sessions?
Can I track abandoned Checkout sessions?
Do I need to modify my Stripe Checkout code?
Related Use Cases
Explore more ways to use Trackli for affiliate tracking.
Affiliate Tracking for Stripe
Connect Trackli to your Stripe account and start tracking affiliate-driven revenue in minutes. Automatically attribute payments to the right affiliates using webhooks, and handle recurring commissions without lifting a finger.
Learn moreAffiliate Tracking for Stripe Subscriptions
Stripe Subscriptions power millions of recurring billing relationships. Trackli hooks into Stripe's subscription lifecycle events — creation, renewal, upgrade, downgrade, and cancellation — to maintain perfect attribution and calculate recurring commissions automatically.
Learn moreAffiliate Tracking for SaaS Using Stripe and Webhooks
Webhooks are the backbone of reliable Stripe integrations. Trackli processes Stripe webhook events in real time to track referrals, calculate commissions, and handle the full subscription lifecycle — giving you the most accurate affiliate attribution possible for your SaaS product.
Learn moreReady to launch your affiliate program?
Start tracking affiliate referrals in minutes. No complex setup, no enterprise pricing.