Trackli
Use Case|Stripe Subscriptions

Affiliate 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.

How to Set Up Stripe Subscriptions Affiliate Tracking

Get up and running in minutes with these simple steps.

1

Connect Stripe Subscriptions

Link your Stripe account and select which subscription products should be tracked for affiliate commissions.

2

Configure Subscription Webhooks

Trackli registers for customer.subscription.created, invoice.paid, customer.subscription.updated, and customer.subscription.deleted events.

3

Set Recurring Commission Parameters

Define the commission percentage, duration (months or lifetime), and whether to include prorated amounts from mid-cycle changes.

4

Handle Trials and Setup Fees

Configure how trial periods and setup fees affect commissions. Choose whether affiliates earn on setup fees separately from recurring charges.

5

Test with Stripe Test Mode

Use Stripe's test mode to simulate the complete subscription lifecycle. Verify that commissions are calculated correctly for creates, renewals, and cancellations.

How It Works

From referral link to commission payout — fully automated with Stripe Subscriptions.

Affiliate tracking flow diagram for Stripe Subscriptions

Trackli vs Traditional Affiliate Tracking

See how Trackli compares to manual or legacy affiliate solutions.

FeatureTrackliTraditional
Subscription Event CoverageTracks create, renew, upgrade, downgrade, cancel, and pauseCreation event only, misses lifecycle changes
Proration HandlingCorrectly handles prorated charges from mid-cycle changesIgnores prorations, causing commission mismatches
Trial Period ManagementConfigurable trial handling with commission hold periodsNo trial awareness, commissions paid at signup
Metered Billing SupportTracks metered/usage-based Stripe subscription billingFixed-price subscription tracking only
Multi-Plan TrackingDifferent commission rates per Stripe subscription planSingle commission rate across all plans
Coupon IntegrationCommissions on post-coupon amount from Stripe discountsCommissions on pre-coupon full price

Frequently Asked Questions

How does Trackli track Stripe subscription renewals?
Trackli listens for invoice.paid webhook events from Stripe. Each time a subscription renews and the invoice is paid, Trackli automatically calculates the affiliate commission based on the actual amount charged.
What happens with prorated charges from plan changes?
When a customer upgrades or downgrades mid-billing-cycle, Stripe generates prorated invoices. Trackli processes these correctly, calculating the affiliate commission on the actual prorated amount rather than the full plan price.
Can I exclude trial periods from commission calculations?
Yes. You can configure Trackli to hold commission attribution until a trial converts to a paid subscription. This ensures you're not generating commission obligations for trials that never convert.
Does Trackli work with Stripe metered billing?
Yes. For metered/usage-based Stripe subscriptions, Trackli calculates commissions based on the actual invoiced usage amount each billing cycle rather than a fixed plan price.
How do I test affiliate tracking with Stripe subscriptions?
Use Stripe's test mode to create test subscriptions through affiliate links. Trackli processes test mode webhooks the same way as live ones, so you can verify the complete flow without real charges.

Ready to launch your affiliate program?

Start tracking affiliate referrals in minutes. No complex setup, no enterprise pricing.