Skip to main content

Overview

Attribution tells you how users discovered your app. SpendOwl fetches attribution data from Apple Search Ads and enriches it with campaign, ad group, and keyword details.

Automatic Attribution

Attribution is automatically fetched when you call configure(). For most apps, you don’t need to do anything else—the data flows to your dashboard automatically.

Manual Attribution Access

Use the attribution() method to access attribution data in your app:

Attribution Result

The AttributionResult struct contains all available attribution data:

Attribution Status

Use Cases

Display Campaign Info

Show users which campaign brought them:

Analytics Integration

Send attribution to your analytics platform:

A/B Testing by Source

Customize experience based on acquisition source:

Caching

Attribution data is fetched once and cached:
  • First call fetches from Apple and SpendOwl servers
  • Subsequent calls return the cached result
  • Cache persists across app launches
Attribution doesn’t change after install, so caching is safe.

Error Handling

Handle attribution errors gracefully:

Next Steps

User Identity

Link attribution to user accounts

AttributionResult Reference

See all attribution fields