---
title: SKStoreProductParameterAffiliateToken
framework: storekit
role: symbol
role_heading: Global Variable
path: storekit/skstoreproductparameteraffiliatetoken
---

# SKStoreProductParameterAffiliateToken

The key representing the affiliate identifier you wish to use for any purchase made through the view controller.

## Declaration

```swift
let SKStoreProductParameterAffiliateToken: String
```

## Discussion

Discussion The value for this key is an instance of NSString. You receive an affiliate identifier when you sign up for the Affiliate Program. The affiliate associated with this view controller is paid a commission for any items purchased using the controller. Learn more about the Affiliate Program at https://apple.com/itunes/affiliates.

## See Also

### Affiliate and Analytics Keys

- [SKStoreProductParameterProductIdentifier](storekit/skstoreproductparameterproductidentifier.md)
- [SKStoreProductParameterAdvertisingPartnerToken](storekit/skstoreproductparameteradvertisingpartnertoken.md)
- [SKStoreProductParameterCampaignToken](storekit/skstoreproductparametercampaigntoken.md)
- [SKStoreProductParameterProviderToken](storekit/skstoreproductparameterprovidertoken.md)
- [SKStoreProductParameterCustomProductPageIdentifier](storekit/skstoreproductparametercustomproductpageidentifier.md)
