0% transaction fees
Webhook based
From $19.99/mo

Affiliate Tracking for Lemon Squeezy

Run an affiliate program on top of your Lemon Squeezy store. One webhook and one script, then every order and renewal an affiliate brings is recorded, its commission calculated, and your affiliates paid.

THE SHORT ANSWER

Does Lemon Squeezy have an affiliate program feature?

Lemon Squeezy handles your checkout, subscriptions and merchant-of-record obligations, and it fires a webhook for every order. What it does not include is the affiliate layer: partner accounts, tracking links, commission rules, fraud checks and payouts. That is what LinkJolt adds on top, using Lemon Squeezy's order and subscription webhooks as the source of truth.

Most affiliate platforms only track Stripe and Paddle, which is why Lemon Squeezy sellers struggle to find one. See how the options compare in our tracking software comparison.

What you get

Webhook tracking

Add one webhook URL in Lemon Squeezy and each affiliate order is recorded on our servers, so a buyer who closes the tab after paying is still credited.

Recurring commissions

Each subscription renewal pays the original affiliate your recurring rate, with a cap by month or payment count if you want one (Professional plan and above).

Coupon codes, with an API key

Save a Lemon Squeezy API key and an affiliate's discount code credits them too, so podcast and video audiences who never click still count.

Checkout links enhanced automatically

Our tracking script spots Lemon Squeezy checkout links on your page and attaches the affiliate attribution to them. You do not edit your buy buttons.

Refunds reverse the commission

Refunding an order or a renewal reverses its commission: all of it for a full refund, the refunded share for a partial one.

Test orders kept apart

Orders placed while your store is in Lemon Squeezy test mode are recorded as test sales: listed apart in Commissions, never counted as revenue and never paid.

Rule-based fraud checks

Every order is checked for a buyer whose email matches the affiliate's, and an order Lemon Squeezy sends twice is recorded once.

A portal for your affiliates

Partners get their own branded dashboard with their links, live earnings and payout setup, included on every plan.

Setup

Four steps, about ten minutes

1
Create your LinkJolt campaign

Sign up, create a campaign with your commission terms, and open the Integration Hub to find your webhook URL.

2
Add the tracking script

Paste one script tag into your site. It captures affiliate clicks and enhances any Lemon Squeezy checkout links it finds.

3
Add the webhook in Lemon Squeezy

Settings, then Webhooks, then the + button. Paste the callback URL, enter a long random signing secret, and enable order_created, order_refunded, subscription_created, subscription_updated, subscription_payment_success and subscription_payment_refunded.

4
Save the same secret in LinkJolt

Settings, then Payment Providers. Without the matching secret every event is rejected and no sales are recorded, so do not skip this step.

The tracking script

<script src="https://www.linkjolt.io/api/tracking.js?id=YOUR_MERCHANT_ID"></script>

Your webhook URL

https://www.linkjolt.io/api/webhooks/lemonsqueezy?merchant=YOUR_MERCHANT_ID

Your real merchant ID is shown in the Integration Hub once you sign up.

FAQ

Lemon Squeezy affiliate tracking FAQs

What sellers ask before setting a program up

Does Lemon Squeezy have a built-in affiliate program?

Lemon Squeezy handles checkout, subscriptions and merchant-of-record duties, and fires a webhook for every order, but it does not include an affiliate layer: no partner accounts, tracking links, commission rules or payouts. LinkJolt adds those on top, using Lemon Squeezy's webhook to record each sale and renewal and to reverse commissions on refunds.

How does LinkJolt track Lemon Squeezy sales?

Through Lemon Squeezy's webhook. The tracking script adds the affiliate to your Lemon Squeezy checkout links, and Lemon Squeezy hands that back with the order, so the sale is recorded on our servers even if the buyer closes the tab after paying. You add one webhook URL in Lemon Squeezy under Settings and Webhooks, tick order_created, order_refunded, subscription_created, subscription_updated, subscription_payment_success and subscription_payment_refunded, and save the same signing secret in LinkJolt.

Do I have to change my checkout links?

No. The LinkJolt tracking script detects Lemon Squeezy checkout links on your pages and attaches the affiliate attribution automatically, so your existing buy buttons keep working as they are.

What happens if I skip the signing secret?

Nothing is recorded. LinkJolt verifies every incoming Lemon Squeezy webhook against the secret you saved, and rejects events that do not match. If your sales are not appearing, a missing or mismatched secret is the first thing to check in Settings and Payment Providers.

Can affiliates earn on subscription renewals?

Yes. A subscription's first payment arrives as an order and pays your campaign's rate; each renewal Lemon Squeezy charges then pays the original affiliate your recurring commission, with a cap by number of months or number of payments if you set one. Recurring commissions are on the Professional plan and above, and need the subscription events ticked on your webhook.

Can affiliates use coupon codes on Lemon Squeezy?

Yes, once you save a Lemon Squeezy API key in LinkJolt. Lemon Squeezy's orders do not name the discount code, so LinkJolt reads it through Lemon Squeezy's API: save the key in the Integration Hub, create the code in Lemon Squeezy and register it for the affiliate in LinkJolt. When an order carries a tracking link as well, the link wins.

What happens when I refund a Lemon Squeezy payment?

The commission on that payment is reversed: order_refunded covers an order, subscription_payment_refunded a renewal. A full refund reverses all of it and a partial refund reduces it by the share you refunded.

How do I pay affiliates for Lemon Squeezy sales?

Two ways. Automated payouts run through Stripe Connect: your saved card funds the payout and Stripe transfers each affiliate their share, reaching the US, UK, EEA, Canada and Switzerland. For affiliates elsewhere, export a mass-payout CSV for PayPal or Wise.

What does it cost?

Plans start at $19.99 a month with 0% transaction fees on affiliate revenue, and there is a 7-day free trial. Lemon Squeezy tracking is included on every plan rather than gated to a higher tier.

Works with Lemon Squeezy

Launch your Lemon Squeezy affiliate program

From $19.99 a month with 0% transaction fees on every plan.

7-Day Free Trial

0% Platform Fees

Cancel Anytime

LIVE

🇺🇸

4

🇬🇧

2

🇩🇪

2

10+

SaaS companies joined this week