Two affiliate links before one purchase. How do you verify commission attribution in Magento 2?

2 min read

Two silver tracks with plum and mint markers converge on a single metal piece.

A shopper opens affiliate A's link, then affiliate B's link, and places one order. Record the click sequence and check which affiliate the module attached to that order.

Check the attribution window and cart coupon

In Kowal Affiliate 1.1.22, a tracked click creates an attribution record with an expiry. Check Tracking Cookie Lifetime for the store view under test. Without an active affiliate coupon, the module selects the newest record in the account or session context and then checks its expiry. A coupon recognised as an active affiliate's code takes precedence. Kowal Affiliate documentation

Replay two clicks in the same session

In a test shop, open link A at 09:00, link B at 09:10, and place the order at 09:20, before the attribution expires. Use two active affiliates and a separate buyer account or guest. Start each subsequent test in a fresh guest session or with a separate test account.

Expected affiliate recorded on the order
Click sequence and couponAttribution
A → BB, with no affiliate coupon.
B → AA, with no affiliate coupon.
A → B, accepted coupon from affiliate A in the cartA, based on the coupon.
A → B, purchase after the latest attribution expires, no couponNo active attribution.

Compare the order and commission records

Open the order in Admin and compare the affiliate and order number with the commission record. If the affiliate matches and the commission is missing, check whether commissions are enabled in that store. If a record exists, use its status to distinguish pending from rejected. If attribution differs, start with the session context, expiry of the latest record, and any code still in the cart.

Kowal Affiliate for Magento 2 · From referral to commission settlement

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)