SDK Implementation Guide
Step 1: Create an API Key
- Navigate to Settings > Attribution
- Click New API Key
- Name the key and associate it with the correct Organization and App
- Copy the generated API Key
Step 2: Add the Swift Package
- In Xcode, navigate to File > Add Packages...
- In the search bar, paste the package URL:
https://github.com/Nixes-io/adcider-attribution
- Add the package to your project
Step 3: Initialize the SDK
Import and initialize the framework in your AppDelegate or App init:
import AdCiderAttribution
AdCiderAttribution.initialize(apiKey: "your-api-key-from-adcider")
The SDK will now automatically collect Apple Ads attribution tokens and monitor StoreKit transactions.