Promo-code attribution explained
Reviewed by the usecode.sh team on
Attribution answers one question: when this sale happened, who gets credit? Click-based attribution credits the last tracked click inside a time window. Code-based attribution credits whoever owns the code entered at checkout, whenever that happens. Codes are the more durable signal for creators, and the trade is leakage: anyone who obtains your code can trigger your attribution, for better and worse.
The two models side by side
Credit trigger
- Click-based
- Tracked click, then purchase inside the window
- Code-based
- Code entered at checkout
Typical window
- Click-based
- Hours to 30 days depending on program; TikTok Shop attribution runs on last-click with short windows
- Code-based
- As long as the code is active
Device switching
- Click-based
- Usually breaks credit
- Code-based
- Survives it
Competing creators
- Click-based
- Last click wins
- Code-based
- Whoever's code is used wins
Failure mode
- Click-based
- Expired window, blocked cookies, lost parameters
- Code-based
- Coupon-site leakage, shared codes, typos
Leakage, the honest downside of codes
A code is credit anyone can spend. When an aggregator site republishes it, redemptions arrive that your content never caused, and programs handle this differently: some pay you anyway, some strip aggregator-path redemptions, some kill the code. Ask the rule before it matters. Affiliate networks issue unique per-partner codes precisely so the right partner gets credit; uniqueness is also your protection.
What this means for reading your own numbers
- Your copy counts approximate intended redemptions from your audience; the brand's redemption count includes leakage. A widening gap between the two is your early leak detector.
- Under last-click link attribution, your best content can lose credit to a coupon browser extension firing at checkout; commissionable codes are immune to that particular theft.
- Never present either model's numbers as the other: clicks are not codes, copies are not sales, and your brand reports should keep the columns separate.
Related guides
- Why promo-code copies do not show up as link clicksBuyers who use your promo code often never click your link, so click analytics record nothing. What the copy path looks like and how to measure it.
- Do creators earn commission when someone uses the code without clicking?It depends entirely on how the deal attributes: commissionable codes pay on redemption with no click; link-only deals pay nothing for typed codes. How to tell which you have.
- Promo code vs affiliate link: how each one pays youCodes and links attribute differently, pay differently, and fail differently. What creators should know before leaning on either one.
- Promo-code tracking for creators: what you can and cannot knowWhat a creator can actually measure about their promo codes without the brand's sales data: views, taps, copies, and what each one means.
- How to report promo-code engagement to brandsA reporting format that makes brands trust your numbers: views, taps, and copies clearly labeled as engagement, lined up against their redemptions.
Watch the gap between your copies and their redemptions
Copies counted per card per day, which is the half of the picture you own.
Claim your handleSources
- Impact: unique promo codes ensure the right partner gets credit (verified 2026-08-13)
- Shopify Help: Collabs attribution (verified 2026-08-13)
- TikTok Seller University: affiliate links (last-click) (verified 2026-08-13)