App Store
StoreKit 2 appAccountToken
The appAccountToken is a UUID your app attaches to a StoreKit 2 purchase. It appears in the signed transaction and in App Store Server Notifications, letting your server tie a purchase to a known user or affiliate without fingerprinting.
Published · Last reviewed
Written by Attribloom Engineering · Reviewed by Attribloom Product · Last reviewed
When a user buys, your app sets a purchase option carrying a UUID you generated. Apple echoes that UUID back in the signed transaction and in every server notification about it.
Because the token is your own value, it is a deterministic, privacy-safe way to connect an affiliate's tracking link to the exact purchase it produced. There is no cross-app tracking and no device fingerprint involved.
Frequently asked
Where does the appAccountToken come from?
Your app generates a UUID and passes it as a StoreKit 2 purchase option. Apple returns it in the signed transaction and in App Store Server Notifications v2.
Is appAccountToken personally identifiable?
It is an opaque UUID you control. It is not tied to Apple ID and carries no personal data unless you choose to map it to a user in your own system.
Related
Learn more
App Store attribution
How to attribute App Store subscriptions to an affiliateApp Store attribution
Why iOS affiliate installs are invisible to web attribution toolsiOS program launch
How to start an affiliate program for an iOS appApp Store attribution
How to attribute App Store subscription renewals to an affiliateApp Store attribution
RevenueCat affiliate attribution for iOS subscriptions: a server-side patternApp Store attribution
Affiliate-aware paywalls on iOS: pass referral context without fingerprintingApp Store attribution
iOS affiliate tracking without an SDK: StoreKit 2, appAccountToken, and server notificationsApp Store attribution
SKAdNetwork vs affiliate attribution for iOS subscriptionsAttribution concepts
What is deferred deep linking? A plain-English guide for attribution