1. Home
  2. /
  3. Features
  4. /
  5. Affiliate tracking

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.

Start freeSee pricing
  • 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.

Rewards

128129130131
Last 30 daysCreate Payout
CustomerSourceAffiliateRevenueStatus
Priya Nairp.nair@northwind.coLinkEmma$120.00Accepted
Devon Reyesdevon@haldencoffee.comCouponEmma$89.00Accepted
Sam Whitfieldsam.w@otto-sons.comAPIEmma$349.00Accepted
Jonas Bergjonas@berg.studioStripeEmma$49.00Accepted
Emma Larsen4 rewards from 4 sources$607.00tracked revenue
  • 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.

How coupon tracking works

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.

How fraud prevention uses this
  • 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
What is last-click attribution?
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

lost

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.

The API and webhook reference

Server-to-server postbacks

Business and up

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

Rewards

All statuses
ELSale · Otto & Sons annual3 Feb 2026 · Emma Larsen$349.00ACCEPTEDREFUNDED
%Commission · 20% of saleEmma Larsen · Creator 20 plan$69.80−$69.80ACCEPTEDREVERSED
Emma's pending balance$412.60$342.80

charge.refunded

Stripe refunded $349.00 to the customer

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.

How recurring commissions work

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.
Compare all plans

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

Start for freeBook a demo

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.

  • Yes. That is what it is for. When a code tied to an affiliate is redeemed at checkout, Referly creates the referral and the sale together from your platform's webhook. Nobody has to click a link, which is why podcasts, video and offline all work.

  • Not if you turn on cross-domain tracking, which is available from the Business plan. Add the domains you own to the allow list and the referral is handed between them on a parameter. Without it, a click on your marketing site and a sale on your checkout domain are two unrelated events.

  • The last one clicked before the purchase, inside the attribution window. Referly is last-click. If you run sub-affiliate commissions, the partner who recruited that affiliate earns a second, smaller commission on the same sale, two levels deep.

  • For Shopify, no. The app installs it. For Stripe, no, if you connect the integration and let the webhook report sales. You need one script tag on your site to capture the click itself, and the setup wizard gives you the exact snippet for 22 platforms.

  • A refund reverses the commission automatically and the affiliate's pending balance drops by the same amount. Churn simply stops future recurring commissions; it does not claw back the ones already earned. Set a holding period to your refund window so reversals land before payouts.

  • Yes, at any time, and it takes effect for clicks recorded after the change. Referrals already attributed keep the window they were created under, so shortening it does not retroactively strip credit from partners who earned it.

  • Referly uses first-party tracking that survives ad blockers and cross-subdomain journeys, which removes the common failure mode of third-party pixels. No browser-based tracker is immune to everything, which is why coupon codes and server-to-server posting exist alongside it.

Read next

  • IntegrationsTracking Stripe subscriptions and renewals
  • IntegrationsTracking a Shopify store
  • GlossaryWhat is a cookie window?

Tracking for your business

  • SaaS and AI
  • Ecommerce
  • Shopify stores

Explore

The rest of the platform

Tracking and attribution

  • Coupon trackingCapture the sales that never touch a link.
  • Fraud preventionHold the sales your partners did not really bring.

Commissions and rewards

  • Commission plansPercentage or flat, one-off or every renewal, per partner or per product.

Payouts, tax and invoicing

  • PayoutsPay through PayPal, Wise, bank, credit or coupon.
  • Tax forms and invoicingCollect W-9s and W-8s, and issue the EU invoice for them.

Your branded affiliate portal

  • Branded partner portalYour brand, your domain, fifteen languages.
  • White labelRun the portal, or the whole dashboard, as your own.
  • Marketing assetsGive partners the creative you want used.

Recruiting and growth

  • Affiliate recruitmentFive channels that bring you your first hundred partners.
  • Influencer DiscoveryPartners with receipts, not followers.
  • Marketplace listingPut your program where affiliates already browse.

Engage add-on

  • Messaging and announcementsTalk to your partners inside the portal they already use.

Gamify add-on

  • GamificationLeaderboards, contests and bonuses for the quiet ninety percent.

Program essentials

  • Analytics and reportingSee which partners actually sell, by fourteen dimensions.

Integrations and developers

  • API and webhooksA real REST API, and fifteen webhook events.

Your next growth channel

Launch your affiliate program in 10 minutes.

Connect Stripe, Shopify and 25 other tools. Your partners sell, you pay only when a sale lands.

Start for freeBook a demo

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

  • Stripe App Marketplace
  • Shopify App Store
  • 0% transaction fee
ReferlyReferly

Turn your customers, creators and partners into a sales channel. Every click, coupon and sale tracked, and every partner paid, from one place.

Follow along

  • X
  • LinkedIn
  • YouTube
  • Instagram
  • Facebook
  • Discord

Product

  • Features
  • Affiliate tracking
  • Commissions & rewards
  • Payouts, tax & invoices
  • Branded partner portal
  • Analytics & reporting
  • Fraud prevention
  • API & webhooks
  • Pricing

Solutions

  • SaaS & AI
  • Ecommerce & Shopify
  • Shopify stores
  • Agencies
  • Creators & influencers
  • Courses & communities
  • Affiliate tracking software
  • Referral program software
  • Affiliate management software
  • Best affiliate software

Integrations

  • Stripe
  • Shopify
  • WooCommerce
  • WordPress
  • Paddle
  • Chargebee
  • Polar
  • Zapier
  • Make
  • All integrations

Resources

  • Blog
  • Guides
  • Glossary
  • Customer stories
  • Benchmarks
  • Changelog
  • Roadmap
  • Feature requests
  • Bug reports
  • Help center
  • API docs

Free tools

  • Influencer search
  • Commission calculator
  • Affiliate ROI calculator
  • True-cost comparison
  • Link shortener
  • Competitor affiliate research
  • Affiliate agreement generator
  • Templates
  • Affiliate agreement template
  • Recruitment email template
  • Commission structure templates
  • Program terms template
  • Onboarding sequence template

For affiliates

  • Find affiliate programs
  • Browse by category
  • Content-reward programs
  • For affiliates
  • Affiliate login

Company

  • About
  • Contact
  • Security
  • Careers
  • Migrate to Referly
  • Our affiliate program
  • Book a demo
Compare Referly

Hubs

  • All comparisons
  • All alternatives
  • Compare pricing
  • Migrate to Referly
  • All roundups

Roundups

  • Shopify affiliate apps
  • Affiliate software for SaaS
  • Free affiliate software
  • Affiliate software for ecommerce
  • Referral software
  • Influencer marketing platforms

Head-to-head

  • Referly vs Rewardful
  • Referly vs FirstPromoter
  • Referly vs Tolt
  • Referly vs UpPromote
  • Referly vs Tapfiliate
  • Referly vs Partnero
  • Referly vs Trackdesk
  • Referly vs Dub
  • Referly vs PartnerStack

Neutral comparisons

  • Rewardful vs FirstPromoter
  • Rewardful vs Tolt
  • Rewardful vs Tapfiliate
  • PartnerStack vs impact.com

Alternatives

  • Rewardful alternative
  • FirstPromoter alternative
  • Tolt alternative
  • Tapfiliate alternative
  • PartnerStack alternative
  • UpPromote alternative
  • Trackdesk alternative
  • Refersion alternative
  • Everflow alternative
  • LeadDyno alternative
  • Post Affiliate Pro alternative
  • Affonso alternative

Pricing teardowns

  • PartnerStack pricing
  • impact.com pricing
  • Rewardful pricing
  • Everflow pricing
  • FirstPromoter pricing
  • UpPromote pricing
  • Tapfiliate pricing
  • Refersion pricing
  • Tolt pricing
  • Trackdesk pricing
  • Dub pricing

Migration guides

  • Migrate from Rewardful
  • Migrate from FirstPromoter
  • Migrate from Tolt
  • Migrate from Tapfiliate
  • Migrate from Refersion
  • Migrate from Dub
  • Migrate from Partnero
  • Migrate from Trackdesk
  • Migrate from PartnerStack

© 2026 Referly. All rights reserved. Referly Technologies, LLC, 1207 Delaware Ave #3648, Wilmington, DE 19806

  • Terms of Use
  • Privacy Policy
  • Refund Policy
  • DPA
ReferlyReferly
  • Platform

    Affiliate trackingEvery click, coupon and sale, attributedCommissions & rewardsRecurring, tiered, per-product, or cash-freePayouts, tax & invoicesPayPal, Wise, or let Referly pay them for youBranded partner portalYour brand, your domain, 15 languagesRecruiting & discoveryA marketplace and an influencer network built inAnalytics & reportingWhere revenue actually comes fromAutomation, API & webhooksREST API, webhooks, Zapier and Make
    See all features

    Program types

    Affiliate programsPartners promote, you pay per saleReferral programsTurn customers into a growth channelManaging a programApprove, group, rate, message and pay partnersInfluencer programsGive every creator a link and a coupon codeInfluencer platformsPay to post, or pay per sale: seven compared

    Built for

    SaaS & AICommissions that follow the subscriptionEcommerce & ShopifyCoupon codes tracked as first-classAgenciesWhite-label programs for your clientsCreatorsPrograms built around coupon codes

    Customer stories

    What real programs earn with Referly

    Learn more
    RewardfulFirstPromoterTolt
    Referly

    Switching?

    Move your affiliates and their codes, without losing your history.

    Learn more
  • By business

    SaaS & AIRecurring commissions, trials, upgrades and churnEcommerce & ShopifyOrders, coupons, refunds and store creditShopify storesInstall the app, no theme edits

     

    AgenciesYour brand, your domain, your pricesCreators & influencersCoupon-code programs at any scaleCourses & communitiesMemberstack, Cal.com, Calendly and more

    By platform

    StripeOne-click connect, subscriptions includedShopifyOfficial app, auto-apply discountsWooCommerceWordPress plugin, no code

     

    PaddleOverlay and inline checkoutChargebeeDrop-in script or API checkoutPolarPayment links and embedded checkout
    All integrations
  • Featured customer stories

    Moov$6.9M generated in affiliate revenue with 1,155 affiliatesLetterly691 creators driving 24,458 clicks and 656 salesOptimizePress7 figures generated in affiliate revenue with 4,554 affiliates
    All case studies

     

    ClickGUARD$67.7K in revenue and $14K MRR from affiliates in 5 monthsJobsoid765 sales generated by a 1,024-strong affiliate networkAudible Genius2x revenue growth with a roster of 100 creator affiliates

     

    FundYourFX723 referrals driven by 1,121 affiliates and influencersZeroChats$25,089 paid out automatically to 20 affiliatesMailin$67.9K in revenue generated from affiliates and creators

    Customer story

    How Moov generated $6.9M in sales from creators

    See how this eCom store manages 1,000+ creators using Referly.

    Learn more
  • Pricing
  • Learn

    BlogGuides and teardowns for program ownersGuidesHow to start, recruit, price and payBest affiliate softwareFive tools compared, each with its limitation statedGlossaryEPC, cookie windows, net terms, explainedCustomer storiesWhat programs actually earnBenchmarksReal commission rates by industry

    Tools

    Influencer searchFind creators already promoting in your nicheCommission calculatorModel what a program costs youAffiliate ROI calculatorWhat the channel is worthTrue-cost comparisonWhat you'd actually pay on each platformLink shortenerFree, with your own domainTemplatesAgreements, outreach emails, terms
    All free tools

    Product

    Help centerSetup and troubleshootingAPI docsREST API and webhooksChangelogWhat shipped, whenRoadmapWhat's nextFeature requestsAsk for somethingStatusUptime

    Compare Referly

    Side-by-side with Rewardful, FirstPromoter, Tolt, Tapfiliate and eight more.

    Plus what each one actually costs, and how to move.

    Learn more

Log in as a

BrandRun your affiliate programInfluencerYour links, stats and payouts
Book a demoStart free trial
Start free trial