How affiliate sales are tracked without coupon codes
Each sale is credited server-side from a ?ref= Shopify cart note attribute, at full price, with a $0 customer discount and no code for the shopper to enter.
The short answer
Affiliate sales are tracked without coupon codes by reading a first-party signal inside your own Shopify store, not by asking the shopper to type anything. When someone clicks an athlete's tracking link and buys, a ?ref= value is written into your Shopify cart note attribute, and we match that order to the athlete on our server. The shopper sees no code and enters nothing. You keep full price on every credited sale, and the athlete is credited automatically.
This is how you track affiliate sales without coupon codes and keep your margin intact.
$0customer discount needed to credit a saleHow the ?ref= value credits a sale
The signal lives in your store and your order data, not in a code the shopper has to remember. Here is the exact path:
- Click. The shopper clicks an athlete's tracking link. Our injected script writes a
?ref=value into your Shopify cart note attribute. - Checkout. The shopper buys at full price. Shopify fires the
orders/createwebhook to Harmonia with that cart note attached. - Match. We read the
?ref=value from the order and match it to the athlete who drove the sale, all on our server. - Window check. If the purchase falls inside your attribution window, commission accrues to that athlete. If it falls outside, the sale counts as organic and costs nothing.
Because the match happens server-side, the customer never sees or enters anything. There is no discount code to give out, no field to fill in, and nothing to forget. For the install and the self-test that confirms the script is writing the cart attribute, see installing the Shopify app.
You pay only on a real attributed sale
You pay the commission you set, plus a 20% platform fee on top, billed to you, only when an athlete drives a real attributed sale. The fee is never deducted from the athlete. Nothing is charged on an organic sale or an unattributed one.
Why removing the code keeps your full margin
A coupon does two things to a premium brand, and both cost money:
- Every redemption discounts the order. A code only credits the sale by taking part of your price off it. The discount is the tracking method, so you pay it on every attributed sale.
- The code spreads where you never approved it. Codes get copied into forums and coupon aggregators. Once a code is on a deal site, anyone can skim the discount, and shoppers learn to abandon the cart and hunt for a code before buying. That erodes both your margin and the pricing your brand equity rests on.
First-party, server-side attribution credits the sale at full price instead:
- Full margin on every credited sale. The shopper pays your list price. No redemption discount comes off the order.
- No code to leak. A tracking link cannot be redeemed for a discount, so there is nothing for a coupon site to skim.
- No "wait for a code" behavior. Shoppers are not trained to delay the purchase, which protects full-price conversion.
- Clean brand presentation. Athletes share a link, not a coupon, so your products are never framed as a discount play.
One tracking link per program, not per product
The tracking link is per program, meaning one link per brand relationship, not one link per product. That single link carries the same ?ref= attribution to any product the shopper buys in your store, so an athlete does not manage a separate link for every SKU.
The same attribution travels through:
- A QR code that resolves to the tracking link.
- An anchor tag that points the link at a specific landing page or product.
- Any product the shopper ends up buying in your store within the attribution window.
In every case the ?ref= value is written to the cart note attribute the same way, and the match still happens on our server. For a brand, that means one link to share and one source of truth for credit. For an athlete, it means a tracking link they can drop anywhere their audience already is.
How this differs from legacy networks
Most legacy affiliate networks lean on two things the modern browser has weakened: a coupon code the shopper enters, and a third-party cookie that follows them around. Both put the tracking in the shopper's browser, where it can be blocked, expire, or be skipped. You can read the deeper contrast in first-party vs cookie tracking and the Shopify cart attribute method.
| Legacy affiliate networks | Harmonia | |
|---|---|---|
| What credits the sale | A coupon code or a third-party cookie | A first-party ?ref= cart note attribute |
| Where the match happens | In the shopper's browser | On our server, from your order data |
| Effect on your price | Each redemption discounts the order | Full price kept on every sale |
| Holds under Safari tracking protection and ad blockers | Often not | Yes |
| What the shopper does | Enters or remembers a code | Nothing |
Code-free is not fragile
A third-party cookie or a shopper-visible pixel can be blocked, capped, or wiped. The ?ref= value rides inside your order's cart note attribute and is matched on our server, so credit holds under Safari tracking protection, ad blockers, and a shopper who clicks on a phone and buys on a laptop, as long as the purchase falls inside the attribution window.
For the brand-portal version of this explanation, see attribution without discount codes.
FAQ
How are affiliate sales credited if there is no coupon code?
When a shopper clicks an athlete's tracking link, an injected script writes the ?ref= value into your Shopify cart note attribute. The order carries that value to checkout, and we match it to the athlete on our server using the orders/create webhook. The shopper enters nothing, so there is no code to give out, expire, or share.
Won't I lose sales without a discount to offer?
No. A coupon only credits a sale if the shopper remembers and types it, and every redemption discounts your product. Server-side attribution credits the sale automatically at full price, so you keep your margin and miss fewer sales. You pay the commission you set, plus a 20% platform fee on top, only on a real attributed sale.
Can affiliates leak my coupon to deal sites if I don't use codes?
There is no code to leak. Athletes share a per-program tracking link, not a coupon. A link cannot be redeemed for a discount on a deal site, so it cannot be skimmed by coupon aggregators or used to erode your price.
Does one tracked link cover every product I sell?
Yes. The tracking link is per program, meaning one link per brand relationship, not one per product. It carries the same ?ref= attribution to any product the shopper buys in your store within the attribution window, including through a QR code or an anchor tag to a specific page.
Is code-free tracking less accurate than coupon tracking?
It is more accurate. A coupon misses every shopper who forgets or never had the code. First-party, server-side attribution credits the sale from your own order data, so it holds under Safari tracking protection, ad blockers, and a shopper switching devices, where a third-party cookie would be lost.