<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKStoreProductParameterCampaignToken",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:@SKStoreProductParameterCampaignToken"
  },
  "title" : "SKStoreProductParameterCampaignToken"
}
-->

# SKStoreProductParameterCampaignToken

The key representing an App Analytics campaign.

```
let SKStoreProductParameterCampaignToken: String
```

## Discussion

The value for this key is an instance of <doc://com.apple.documentation/documentation/Foundation/NSString>, containing any 40-byte string.

This token allows you to track the effectiveness of your Affiliate Program link and your App Analytics campaign.

For more information about the Affiliate Program, see the Affiliate Program at <https://apple.com/itunes/affiliates>. For more information about App Store Connect Analytics, see [App Store Connect Developer Guide](https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/About.html#//apple_ref/doc/uid/TP40011225).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)