Trackli
Use Case|Lemon Squeezy Billing

Affiliate Tracking with Lemon Squeezy Billing

Lemon Squeezy handles billing, taxes, and compliance so you can focus on building. Trackli adds affiliate tracking that's equally hands-off — automatically calculating commissions on your net revenue while Lemon Squeezy manages the billing complexity in the background.

How to Set Up Lemon Squeezy Billing Affiliate Tracking

Get up and running in minutes with these simple steps.

1

API Connection Setup

Link Trackli to your Lemon Squeezy store using the API key. We pull your store configuration, products, and pricing for commission mapping.

2

Subscribe to Billing Events

Configure webhook subscriptions for order_created, subscription_payment_success, subscription_updated, and refund events.

3

Calculate Net Revenue Commissions

Lemon Squeezy deducts fees and taxes before paying you. Trackli uses your net earnings for commission calculations to keep payouts accurate.

4

Support Multiple Product Types

Configure commission rules for SaaS subscriptions, one-time software purchases, and digital product sales all within the same Lemon Squeezy store.

5

Automate End-to-End

Set up automatic commission calculation and payout scheduling. Lemon Squeezy handles billing, Trackli handles commissions — you focus on product.

How It Works

From referral link to commission payout — fully automated with Lemon Squeezy Billing.

Affiliate tracking flow diagram for Lemon Squeezy Billing

Trackli vs Traditional Affiliate Tracking

See how Trackli compares to manual or legacy affiliate solutions.

FeatureTrackliTraditional
Tax-Adjusted CommissionsCommissions on post-tax, post-fee net revenueCommissions on pre-tax gross amounts
Mixed Product SupportSaaS, one-time, and digital products in one programSeparate programs needed per product type
Automatic Tax ComplianceLeverages Lemon Squeezy's tax handling for commission accuracyTax implications ignored in commission calculations
Store-Level AnalyticsAffiliate performance across your entire Lemon Squeezy storeProduct-by-product tracking only
Discount Code IntegrationAffiliate-specific discount codes synced with Lemon SqueezyManual discount code management outside billing
Refund SynchronizationAutomatic commission reversal on Lemon Squeezy refundsManual commission adjustment after refunds

Frequently Asked Questions

How does Lemon Squeezy's tax handling affect commissions?
Lemon Squeezy collects and remits taxes on your behalf as your Merchant of Record. Trackli calculates commissions on your net revenue after taxes and Lemon Squeezy fees, so you never pay commissions on tax revenue.
Can I track SaaS and one-time products in the same program?
Yes. Trackli handles mixed product types within a single Lemon Squeezy store. SaaS subscriptions can have recurring commissions while one-time digital products have flat commissions, all managed in one affiliate program.
How are refunds handled in commission calculations?
When Lemon Squeezy processes a refund, Trackli receives the webhook event and automatically reverses or adjusts the associated commission. If the commission was already paid out, it's deducted from the affiliate's future earnings.
Can I create affiliate-specific discount codes in Lemon Squeezy?
Yes. Trackli can sync discount codes with Lemon Squeezy so each affiliate has their own code. When a customer uses an affiliate's code at checkout, the sale is automatically attributed to that affiliate.
Is Lemon Squeezy a good choice for SaaS with affiliate programs?
Lemon Squeezy is excellent for SaaS products that want simple billing with tax compliance built in. Paired with Trackli for affiliate tracking, you get a complete, low-maintenance system for growing through partner referrals.

Ready to launch your affiliate program?

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