# Attribution

> How users and revenue are attributed to the right campaigns in WinWinKit.

Attribution is the process of associating a user — and the revenue they generate — with the right affiliate campaign, referral program, or promo code.

WinWinKit takes a **deterministic, intent-driven** approach to attribution: a user is attributed to a campaign only when they explicitly claim a code. There is no fingerprinting, IP matching, or other probabilistic signal involved.

Read more in our blog post: [How WinWinKit solves mobile attribution](/blog/how-winwinkit-solves-mobile-attribution/).

## User Attribution

A user becomes attributed to a campaign at the moment they claim a code in your app:

- The user enters or receives a short code (an [affiliate](/docs/affiliates/introduction/) code, [referral](/docs/referrals/introduction/) code, or [promo](/docs/promos/introduction/) code).
- The app passes that code to WinWinKit via the SDK.
- WinWinKit validates the code, links the user to the corresponding campaign, and grants any user-side rewards configured on it.

This is a clear, observable action — you always know exactly which campaign brought a user in, and the user is in control of their own attribution.

<Tip>
  Because attribution is driven by the code claim, the user experience around
  claiming a code matters. See the [User Experience for Claiming
  Code](/docs/guides/user-experience-for-claiming-code/) guide to learn more.
</Tip>

## Revenue Attribution

Once a user is attributed to a campaign, every tracked transaction from that user is attributed to the same campaign.

This is what powers:

- **Affiliate earnings** — The revenue percentage configured on the affiliate campaign is applied to each tracked transaction from attributed users.
- **Referral rewards** — A referrer can be rewarded based on the referee's purchases, conversions, or first transaction.
- **Promo code analytics** — Revenue from users who claimed a promo code is rolled up into the promo code's analytics.

See [Revenue Tracking](/docs/introduction/revenue-tracking/introduction/) for how transactions reach WinWinKit in the first place.

## Why Deterministic Attribution

Most mobile attribution platforms rely on probabilistic matching — IP addresses, device fingerprints, or install referrers — which is increasingly unreliable on iOS and Android, and inherently fuzzy.

WinWinKit's intent-driven approach trades the broadest possible reach for accuracy and privacy:

- **Accurate** — A user is either attributed or not. There is no guesswork.
- **Privacy-friendly** — No fingerprinting, no cross-app tracking.
- **Durable** — Works the same on iOS, Android, and the web, regardless of platform privacy changes.

The trade-off is that attribution requires an explicit user action — claiming a code. The rest of the WinWinKit product is designed around making that action seamless.
