Skip to main content

1. Install the SDK

Add SpendOwl to your project using Swift Package Manager:
1

Open Your Project

In Xcode, go to File → Add Package Dependencies…
2

Enter the URL

Paste https://github.com/spendowl/spendowl-ios
3

Add to Target

Select your app target and click Add Package

2. Configure on App Launch

Get your API key from the SpendOwl Dashboard.

3. That’s It!

SpendOwl now:
  • Fetches attribution data from Apple Search Ads
  • Tracks StoreKit 2 purchases automatically
  • Sends data to your dashboard for ROAS calculation

Optional: Get Attribution Data

Access attribution data to display campaign info or for analytics:
Associate attribution and purchases with your user accounts:

Next Steps

Configuration

Customize timeouts, retries, and more

Attribution

Learn about attribution data

SwiftUI Example

See a complete SwiftUI app

Troubleshooting

Common issues and solutions