Affiliate attribution tracking is the process of recording which affiliate sent a visitor, then connecting that visit to the sale, lead or signup that followed, so the right partner is paid the right amount. Getting it right takes three things: a reliable way to capture the referral, a clear rule for who gets credit, and revenue data that shows whether the sales were worth paying for. We built Cromojo around that last part: revenue attribution by keyword, page and channel, connected to Stripe and Shopify, so affiliate numbers can be checked against money that actually arrived.

What affiliate attribution tracking actually does
Two jobs are often blurred together. Tracking records an event: a visitor arrived through an affiliate's link, used an affiliate's coupon code, or later bought. Attribution is the decision that follows: given everything that happened before the purchase, which affiliate (or other channel) earns the commission?
For a store with one affiliate and one visit, the two are the same thing. The difficulty starts when a shopper reads a review on one partner's site, clicks a coupon site a week later, then returns through a branded search and buys. Three touchpoints, one order, one commission. Your attribution rule settles who gets it.
This matters to everyone in the reader group we write for:
- Small business owners want to know whether paying commissions is profitable.
- Marketing teams need to show return on investment across channels, not just inside an affiliate network's dashboard.
- Ecommerce agencies have to explain to each client why one partner is paid and another is not.
- Digital marketers need to see which affiliates bring buyers and which only bring traffic.
The main ways affiliate sales are tracked
Most programs use one or more of these methods to capture the referral.
The common thread: whatever captures the referral has to survive until the order is placed, and it has to be checked against the order itself. A referral that is recorded but never matched to a real payment is only a click.
How attribution models split credit
The attribution model is the rule for dividing credit when several touchpoints precede a sale. The Performance Marketing Association (PMA), an industry body for performance marketing, describes the standard options in its 2018 paper on attribution models:
- Last-click gives 100% of the value to the last publisher the shopper clicked.
- First-click gives 100% to the first click, within a lookback window that the paper describes as running from 1 to 90 days.
- Linear splits credit equally across all touchpoints.
- Time-decay gives more weight to touchpoints closer to the conversion.
The same paper reports that between 9% and 25% of affiliate sales involve more than one publisher. That is a meaningful share of orders where your choice of model changes who gets paid. It also describes program structures built around the problem: soft-click, exclusive coupon, in-cart, preferred-publisher and shared-commission arrangements.
A worked example
A shopper buys a $200 order. Before buying, they touched three affiliates:
- A review blogger (first click, nine days before the order)
- A newsletter partner (four days before)
- A coupon site (the same day)
Say your commission rate is 10%, so $20 is at stake.
Under last-click, the partner who opened the door earns nothing, and the coupon site collects for a sale it may only have closed. Under first-click, the reverse happens. Time-decay would land somewhere between, with the coupon site and newsletter earning most and the blogger a smaller share (the exact split depends on the decay rate you choose).
Choosing a model for your store
There is no universally right model. A practical way to decide:
- Short buying cycles and low-priced items: last-click is simple and easy to explain to affiliates.
- Considered purchases with content-driven discovery: linear or time-decay credits the partners who build awareness.
- Heavy coupon-site leakage: consider an exclusive-coupon or in-cart structure, two of the arrangements the PMA paper describes.
Whichever you choose, put it in writing in your affiliate terms, including the lookback window. Disputes over commissions nearly always come from an unstated rule, not a bad one.

From affiliate clicks to affiliate revenue
Attribution tells you who gets credit. Revenue attribution tells you whether the credit was deserved and profitable. For an ecommerce business, the useful chain looks like this:
- Capture the affiliate source on the first visit.
- Carry it through browsing, cart and checkout.
- Match it to the paid order in your payment system.
- Net out refunds and cancellations before paying commission.
- Compare revenue and commission cost per affiliate to see return on investment.
The formula for step 5 is simple: affiliate revenue minus commissions (and any fees), divided by commissions. If an affiliate drove $4,000 in net sales and you paid $400, the ratio of net revenue to commission is 10 to 1. What matters is that the $4,000 comes from payments that cleared, not from the affiliate platform's own count.
Why leads and clicks are not enough
An academic research paper on controlling and evaluating affiliates argues that clicks and leads alone can mislead. Merchants who pay per lead need to check whether those leads turn into sales, not just count how many arrive. The same logic applies to anyone paying per click or per signup. A deeper look at whether leads become customers, such as this guide to lead nurturing and conversion strategies, shows why volume on its own tells you little about value.
The metrics worth putting next to each affiliate:
- Net revenue after refunds
- Conversion rate from affiliate visit to paid order
- Average order value
- Commission as a percentage of revenue
- Share of orders where that affiliate was not the only touchpoint
Setting up tracking that holds up
A setup that works on day one can quietly degrade. Build it with these steps.
1. Standardize your referral parameters
Use one naming scheme for every affiliate link: one parameter for the affiliate ID, consistent capitalization, no spaces. Inconsistent naming splits one affiliate's traffic into several lines in your reports.
2. Store the referral with the order
The most dependable approach is to save the affiliate source when the visitor first lands and attach it to the order at checkout. That way the sale record itself says where it came from, which makes later audits straightforward.
3. Define the lookback window and the model
Decide how many days a referral stays valid and which model applies, then publish both to affiliates.
4. Set up goals and events for what you pay on
If you pay on purchases, track purchases. If you also pay on signups or trial starts, track those as separate events so each can be reviewed on its own.
5. Reconcile every month
Compare the affiliate platform's reported conversions with your orders. Differences are normal at the margins and worth investigating when they grow.
Troubleshooting missing, duplicated and inflated conversions
Missing conversions. Check whether the referral parameter survives redirects and whether the visitor changed devices or browsers between click and purchase. Orders completed through a payment redirect are a common place for the source to be lost, so confirm it is carried into the order.
Duplicate conversions. A confirmation page that fires its tracking twice (on reload, or from both a pixel and a server call) creates two conversions for one order. Match on order ID and count each order once.
Inflated conversions. Coupon leakage and self-referral (an affiliate buying through their own link) inflate payouts. Review top affiliates' order patterns and refund rates, and hold commission until the refund period ends.
Mismatched totals. If the affiliate dashboard shows more revenue than your payment records, trust the payment records and work backward to find the gap: refunds, test orders, currency conversion or timing differences.

Privacy, consent and data retention
Affiliate tracking depends on identifying a visitor across pages, which is where privacy rules apply. Requirements differ by country and by state, and they change, so treat any rule here as something to confirm for each market you sell into. In practice, a few habits keep you on safe ground everywhere:
- Collect only what you need to credit and pay an affiliate.
- Keep referral data for no longer than your lookback window and refund period require.
- Disclose tracking in your privacy policy.
- Where your visitors' location requires consent for cookies, honor it.
Cookieless, first-party tracking reduces the dependence on third-party cookies that browsers increasingly restrict. Cromojo's tracking is cookieless and privacy-first, designed to require minimal setup across any tech stack, so the analytics you use to judge affiliates do not depend on the same fragile mechanism the affiliate links do.
Where Cromojo fits
Affiliate platforms report what they saw. Your store reports what was paid. The gap between them is where money leaks, and closing it is the job of revenue analytics.
Cromojo is a revenue and web analytics platform for ecommerce sites and agencies. It attributes revenue by keyword, page and channel in real time, connects to Stripe and Shopify, and offers goals, conversion funnels, visitor journey analysis and custom events. For affiliate programs, that means you can follow visitors from landing to payment and set the traffic that arrives through partners against revenue recorded by your payment system, rather than judging partners by clicks.
Several features map directly to the steps above:
- Revenue Analytics ties sales to their source.
- Goals and Custom Events track the actions you pay on.
- Funnels show where visitors from a given source drop off.
- User Journeys show the path visitors took before they bought.
- First-party Tracking keeps measurement on your own domain.
Our perspective
Most affiliate disputes we hear about are not really about commissions. They are about two systems that disagree: the affiliate dashboard says one number, the bank says another. Nobody can settle a disagreement like that by arguing about attribution models.
Our view is that revenue should be the referee. When every visit, goal and sale is tied back to the page, keyword and channel that produced it, and when the payment records from Stripe or Shopify are part of the picture, a partner conversation becomes a conversation about facts. You can reward the affiliates who bring buyers, and you can have an honest discussion with the ones who bring only traffic.
We also think this should not require a data analyst. That is why Cromojo uses agents that continuously monitor performance and point to specific issues and opportunities, so a founder or an agency account manager can act on them without wading through reports.
Start with the numbers you can trust
If you run an ecommerce store or manage several, the quickest way to test your affiliate numbers is to see them next to your revenue. Cromojo plans start at $19 per month for Starter, then $49 per month for Pro, $129 per month for Business and $299 per month for Agency, with a Free Plan also available. Pricing scales with pageviews and the number of tracked sites, and you can compare the tiers on the pricing page.

Agencies running several client stores can see how the Agency plan fits on the same page, or visit cromojo.com to see the platform.
Do I need cookies for affiliate attribution?
Cookies are one common method, but not the only one. Coupon codes, URL parameters stored with the order and server-side matching can work too. Cookieless, first-party analytics lets you measure outcomes without relying only on browser cookies.
Sources
- Performance Marketing Association: Attribution Models (2018)
- Research Paper No. 8: Controlling and Evaluating Affiliates





