Affiliate tracking

Stop losing sales your affiliates actually made

Link trackers only catch people who click. Referly also catches coupon codes, cross-domain checkouts and Stripe renewals, and lands them all on one affiliate record.

  • Live in minutes on Stripe or Shopify
  • 0% of your sales, every plan
  • 60-day window, yours to change

Comparing tools instead? Start with the category page.

RewardsLast 30 days
CustomerSourceRewardStatus
Marco Devlinmarco@northwind.io
Stripe$84.20Accepted
Priya Nairpriya@haldencoffee.com
Coupon$41.00Accepted
Devon Reyesdevon@mercato.co
API$126.50Accepted
Ana Ruizana@northwind.io
Shopify$63.75Accepted
4 routes, 1 record
Refunds reverse themselves

The leak

Three ways a sale goes uncredited

Every one of them ends the same way: an affiliate emails you asking where their commission went, and you have nothing to check.

  • Nobody clicked a link

    Podcast and video audiences type a code at checkout. A link-only tracker never sees them.

  • Checkout is a different domain

    The click belongs to your marketing site, the sale belongs to your checkout. Two unrelated events.

  • The money arrives months later

    A subscription renews in March on a January referral. Most trackers stopped watching in January.

The short answer

Referly tracks affiliate sales four ways: tracked links, coupon codes, server-to-server events, and your payment platform's own webhooks. Each click is stored with the device, IP, landing URL, UTMs and ad click IDs. The referral stays credited for 60 days by default, and refunds reverse the commission automatically.

Four routes

Four ways in. One affiliate record.

Turn on the ones your partners actually use. They all write to the same place.

  • Tracked links

    A unique link per affiliate. Point it anywhere on your site and rename the ref parameter.

  • Coupon codes

    A code at checkout credits the partner. No click required, so podcasts and video convert.

  • Server-to-server

    Post the sale from your own backend, or fire a postback with click-id and payout macros.

    Business and up
  • Your payment platform

    Stripe, Shopify, WooCommerce, Chargebee, Paddle, Polar and Zylvie report sales and renewals.

Not every integration does both halves. Ecwid records the referral at checkout, with the sale, so there is no pre-purchase step. Klaviyo, MailerLite, Brevo and Mailchimp record referrals only, never sales.

The receipt

Answer the dispute from the record

Thirty-odd fields land with every click, so “why wasn't this mine?” has an answer you can open.

  • Identity

    Device id, IP, unique-click flag

  • Destination

    Landing URL, path, query string

  • Campaign

    utm_source, medium, campaign, term, content

  • Ad click IDs

    gclid, gbraid, wbraid, fbclid, msclkid, ttclid, twclid, li_fat_id

  • Source

    Referrer, domain, classification

  • Environment

    Browser, OS, device, screen, language

  • Location

    Country, region, city, ISP, proxy and VPN flags

  • Cart

    Add-to-cart product, variant, quantity, price

Proxy and VPN flags are evidence, not a rule. Referly holds a commission when an affiliate's own email or IP matches the buyer's. Everything else here is for you to judge.

Click #91,204

3 Feb 2026, 14:22 UTC · Emma Larsen

Converted → referral #4821

Destination

Landing page
/pricing?ref=emma&utm_source=youtube
Pathname
/pricing
Query string
ref=emma&utm_source=youtube

Campaign

utm_source
youtube
utm_medium
video
utm_campaign
feb-review
gclid
Cj0KCQiA…

Source

Referrer
youtube.com/watch
Referrer domain
youtube.com
Classification
social

Environment

Browser
Chrome 132
OS
macOS
Device
Desktop
Viewport
1512 × 982

Location

City
Lisbon, Portugal
ISP
Vodafone PT
Proxy
No
VPN
No

Also stored on every click: device id, IP address, the unique-click flag, utm_term, utm_content, the remaining ad click IDs (gbraid, wbraid, fbclid, msclkid, ttclid, twclid, li_fat_id), an external network click id, colour depth, pixel ratio and language.

The window

Sixty days by default. Yours to change.

Drag the window. Watch which sale keeps its commission.

Referly credits the last affiliate a buyer clicked before they paid, for as long as your window lasts. Shorten it to a day, or stretch it to a year.

Default
60 days
Minimum
1 day
Maximum
1 year
Model
Last click
60 days
Day 0Click
Day 41Credited
Day 74Missed
Purchase on day 41 · $349.00
Credited to Emma
Purchase on day 74 · $349.00
Not credited

The default is 60 days. Anything from a single day to a full year is a field on your program, and changing it applies to clicks recorded after the change.

Cross-domain

Three domains, one referral

Buyers land on your site, sign up in your app and pay on a checkout domain. The referral rides along instead of dying at the first hop.

Business and up
ref=emmarides across all three

acme.com

Clicks the link

Marketing site

app.acme.com

Signs up

App

checkout.acme.com

Pays

Checkout

Sale $349.00 → Emma Larsen

Without cross-domain tracking

acme.com

Clicks the link

Marketing site

app.acme.com

Signs up

App

checkout.acme.com

Pays

Checkout

Sale $349.00 → unattributed

Add the domains you own to the allow list. The referral is handed between them on a parameter, so one buyer stays one buyer.

Server-to-server postbacks

Business and up

Fire conversion postbacks to your affiliates' tracking platforms and networks, with click id and payout macros.

Refunds

Never pay out on money you gave back

A refund reverses the matching commission on its own. The affiliate's pending balance drops by the same amount.

Refunded sales are detected automatically and the matching commission is reversed, so you never pay out on refunded revenue.

Set a holding period to match your refund window and the reversal always lands before the payout does.

Availability

Tracking by plan

Links and coupons are on every plan, Startup included. Four of these are not.

FeatureStartupBusinessEnterprise
Link tracking
Coupon code tracking
Custom attribution window
Automatic refund detection
Fraud protection
Automatic coupon generation
Cross-domain tracking
Server-to-server postbacks
Branded short links
  • Cross-domain tracking, postbacks, automatic coupon generation and branded short links are off on Startup. Every mention of them on this page carries a badge.
  • Referly charges 0% of your sales on every plan. Volume is bounded by the plan's monthly affiliate-revenue ceiling, never by a cut of it.

Super simple to use, and includes everything that an affiliate program needs to end up a success.

Hammaad SiddeeqeeHammaad SiddeeqeeFounder
Founder

This platform is quite simple and easy to use, and you can start attracting people to your affiliate program very quickly. A big plus is that the founder, Ayo, is super responsive.

Ilfat KhayrullinIlfat KhayrullinFounder
Letterly

FAQ

Before you connect anything

The questions founders ask in the first ten minutes.

14-day free trial · No credit card required · Cancel anytime

  • The referral is lost, the same as in any browser-based tracker. Referly stores the reference in a cookie and in localStorage, so clearing one but not the other still resolves, and a coupon code survives both. For journeys you cannot afford to lose, post the sale server-to-server instead.