Showing

How do I track affiliate sales without adding code to my checkout?

Use coupon code attribution on Stripe, Paddle, Polar or Apple. Create a discount code in your payment processor, register it in LinkJolt against an affiliate, and LinkJolt matches the discount when an order uses it. No checkout code changes needed.

3 min read
Updated Sep 14, 2026

Coupon code attribution lets you track affiliate sales with zero checkout changes. It covers Stripe coupons, Paddle and Polar discounts, and Apple offer codes. On Lemon Squeezy, Gumroad, GoPay or WooCommerce, LinkJolt does not read discount codes from the payment webhook, so use tracking links there instead.

How it works

  1. Create a discount or promotion code in your payment processor, exactly as you normally would.
  2. In LinkJolt, go to Campaigns, open the Coupons tab and choose Create coupon. Pick the provider, enter the same code, and choose the affiliate it belongs to.
  3. When a customer checks out with the code, LinkJolt reads the discount from the payment webhook and attributes the sale.
Affiliate coupon
SARAH20
20% off, tracked to Sarah
Created in your processor, registered in LinkJolt

Give LinkJolt the id your processor sends

Some processors send an id rather than the code itself, so the code alone is not always enough to match a sale.

  • Paddle sends only the discount id, so the Paddle Discount ID field is required when you register a Paddle discount. It starts with dsc_ and you will find it on the discount in your Paddle dashboard.
  • Stripe sends the promotion code id when a customer types a promotion code at checkout. Paste that id into the optional Stripe Promotion Code ID field. It starts with promo_. Leave it blank if customers do not type the code and the coupon is applied directly.
  • Polar sends the code itself with the sale, so the code alone is enough and the Polar Discount ID field is optional.
  • Apple offer codes match on the offer identifier you set when you created the batch in App Store Connect, so enter that identifier exactly.

If LinkJolt creates the code for you

On Stripe and Polar you can also let LinkJolt create codes in your own account. If you have set that up on the Coupons tab, the coupon form defaults to creating the code for you, so switch it to "I already created it in Stripe" (or "in Polar") to follow the steps above. A campaign can also give every approved affiliate their own code automatically, created in your Stripe or Polar. Paddle and Apple codes are always added by hand.

Either way, LinkJolt never edits or deletes a code that already existed in your account. Deleting a coupon in LinkJolt stops the tracking, and the code stays live in your processor until you remove it there.

Register the code in LinkJolt before the affiliate starts sharing it. Orders placed before the code is registered cannot be matched retroactively without a manual backfill.

This is the simplest path for merchants who do not want to touch their checkout, and it pairs well with tracking links for full coverage.

Start your affiliate program

Launch in minutes with 0% platform fees. 7-day free trial, cancel anytime.