Harmonia
← Brand help center

Attribution without discount codes

First-party, server-side attribution credits each sale from a ?ref= cart note attribute, matched on our server. There is no discount code, so the shopper pays full price.

How attribution works without a code

A sale is credited from a first-party signal inside your own store, not from a code the shopper enters. When someone clicks an athlete's tracking link and buys, the order is matched to that athlete on our server. There is no discount code for the customer to enter and nothing for them 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/create webhook to Harmonia with that cart note attached.
  • Match. We match the order to the click on our server, then credit the athlete who drove it.
  • Window check. If the purchase falls inside your attribution window, commission accrues. If not, the sale counts as organic and costs nothing.

Because the match happens server-side, the shopper never sees or enters anything. This is first-party attribution: the signal lives in your store and your order data, not in the shopper's browser. See installing the Shopify app for the install and self-test.

$0customer discount needed to credit a sale

Why this protects premium-brand margin and equity

Discount-code programs train shoppers to wait for a code before buying. Every credited sale gives away part of your price, and the code spreads to deal sites you never approved. For a premium brand, that erodes both margin and the pricing your equity rests on.

First-party attribution credits the sale at full price:

  • Full margin on every credited sale. The shopper pays your list price. No redemption discount comes off the order.
  • No code leakage. There is no code to copy into a forum or a coupon aggregator, so your pricing stays where you set it.
  • No "wait for a code" behavior. Shoppers do not learn to abandon the cart and hunt for a discount, which protects full-price conversion.
  • Clean brand presentation. Athletes share a tracking link, not a coupon, so your products are never framed as a discount play.

The cost is on a real sale only

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, and nothing is charged on an organic sale or an unattributed one.

Survives ITP, ad blockers, and browser-switching

Code-free does not mean fragile. The reason this holds up is where the signal lives. A third-party cookie or a shopper-visible pixel can be blocked, expired, or wiped. The ?ref= value rides inside your order's cart note attribute and is matched on our server, so it is not exposed to the things that break browser-side tracking.

Shopper situationCode + cookie trackingHarmonia first-party attribution
Safari ITP / tracking protection onCookie may be capped or cleared, credit lostCredit holds; match is server-side from the cart note attribute
Ad blocker installedThird-party pixel can be blockedNo shopper-side pixel to block
Clicks on phone, buys on laptopCookie does not follow across devicesCredit holds within the attribution window
Shopper forgets the codeSale is uncreditedNo code to forget; sale is credited automatically

One athlete per sale

A sale credits a single athlete: the last attributed click inside the attribution window. Credit is never split, and the window is separate from the refund window.

How this differs from legacy networks

Most legacy affiliate networks were built on two things that the modern browser has weakened: a discount 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.

Legacy affiliate networksHarmonia
What credits the saleA discount code or a third-party cookieA first-party ?ref= cart note attribute
Where the match happensIn the shopper's browserOn our server, from your order data
Effect on your priceEach redemption discounts the orderFull price kept on every sale
Holds under ITP / ad blockersOften notYes
What the shopper doesEnters or remembers a codeNothing

The result is fewer missed sales and full margin on the ones you do credit, without asking shoppers to enter anything.

FAQ

How can you track without a 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 attribute 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.

What if cookies are blocked?

Attribution still works. We do not depend on a third-party cookie or a pixel the shopper sees. The ?ref= value travels inside the order's cart note attribute and is matched on our server, so it survives Safari tracking protection, ad blockers, and a shopper switching browsers or devices.

Do I lose sales vs coupon tracking?

No. A discount code only credits a sale if the shopper remembers and enters it, and every redemption discounts your product. First-party attribution credits the sale automatically at full price, so you keep your margin and miss fewer sales. You pay the commission plus the 20% platform fee only on a real attributed sale.