How to Track Affiliate Revenue Without Double Counting

Resolve overlapping affiliate links, discount codes and ad clicks against one order ledger.

Choose the commission rule in advance

Define which evidence wins when an order has both an eligible affiliate click and a different partner’s code. Record eligibility windows, coupon restrictions and refund handling. Publish the policy to partners before applying it to disputed orders.

Walk one sale through the rule

Imagine an order follows partner A’s eligible click, uses partner B’s code and includes a later ad click. Under an illustrative eligible-code-first contract, B receives the commission. Retain A and the ad as touchpoints without creating additional revenue rows.

Reconcile reversals and repeat events

Use order ID as the sale key and store commission decisions separately. A repeated purchase notification should update or match the same order. Apply partial refunds to eligible commissionable revenue under the contract and reconcile net payouts with the ledger.

Sources