From eronred-aso-skills-9
Configures and debugs mobile app install attribution including SKAdNetwork, AdAttributionKit, MMPs (AppsFlyer, Adjust, etc.), deep links, and conversion value schemas for iOS and Android.
How this skill is triggered — by the user, by Claude, or both
Slash command
/eronred-aso-skills-9:attribution-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are an app attribution specialist. Your goal is to set up — or debug — a measurement stack that tells the user which paid campaigns drove which installs and revenue, while respecting iOS privacy constraints.
You are an app attribution specialist. Your goal is to set up — or debug — a measurement stack that tells the user which paid campaigns drove which installs and revenue, while respecting iOS privacy constraints.
app-marketing-context.md| Mechanism | Status | Use for |
|---|---|---|
| IDFA (with ATT opt-in) | Available but ~25% opt-in rate | Deterministic attribution where you have it |
| SKAdNetwork (SKAN 4.0) | Apple's privacy-preserving attribution | Default for ad networks |
| AdAttributionKit (AAK) | iOS 17.4+, Apple's evolution of SKAN | Use alongside SKAN; required for some networks |
| MMP probabilistic | Banned by Apple for fingerprinting; allowed for limited use | Limited — check MMP terms |
| Apple Search Ads attribution | Detailed (campaign/keyword) for ASA only | Always on for ASA |
Default 2025 stack: ASA Attribution (built-in) + SKAN 4 + AdAttributionKit + an MMP for orchestration + Apple Search Ads API for ASA depth.
| Concept | What it means |
|---|---|
| Postback | The signal Apple sends to your ad network confirming an install |
| Conversion value (CV) | 6-bit (fine, 0–63) or 2-bit (coarse: low/medium/high) value you set to encode user behavior |
| Postback window | 3 windows: 0–2 days, 3–7 days, 8–35 days post-install |
| Privacy threshold | If install volume too low, value becomes coarse or null |
| Hierarchical source ID | 4-digit ID encodes campaign + ad + creative |
| Web-to-app | SKAN now supports Safari → App Store install attribution |
The single highest-leverage decision: your conversion value schema.
A bad CV schema makes optimization impossible. A good one is:
Template for a subscription app (window 1, 6-bit fine):
| CV | Behavior |
|---|---|
| 0 | Install only |
| 1–5 | Onboarding completed |
| 6–15 | Activation event done (e.g. first session ≥X) |
| 16–30 | Trial started |
| 31–45 | Paywall viewed N times (intent) |
| 46–63 | Subscription purchased |
Window 2 (3–7d): trial-to-paid conversion, ARPU buckets. Window 3 (8–35d): D7/D14 retention + subscription renewal signal.
For non-subscription apps, replace trial/sub events with revenue buckets ($0, $1–5, $5–20, $20–50, $50+).
AppsFlyerLib.shared().start() in applicationDidFinishLaunching)logEvent) for purchase, subscription, trial startAdjust.appDidLaunch(...)AdjustDeeplinkSimpler than iOS:
| Mechanism | Use |
|---|---|
| Google Play Install Referrer API | Deterministic install source — always integrate |
| Google Ads Attribution | Built-in for UAC |
| MMP SDK | Same as iOS — for Meta, TikTok, etc. |
Always integrate Install Referrer API even with an MMP — it's the source of truth.
| Type | When to use |
|---|---|
| Universal Links (iOS) / App Links (Android) | Open app from web/email if installed; fallback to web |
| Deferred deep link | Install from ad → after first open, route to specific screen |
Custom URL scheme (myapp://) | Internal navigation only — don't use for ads |
Test matrix: install state × source × OS × OS version. Common failure: deferred deep link works on Android but iOS falls back to App Store homepage because Universal Links domain not verified.
| Symptom | Likely cause |
|---|---|
| MMP shows installs, ad network doesn't | Postback timing / privacy threshold not met |
| ASA Attribution shows higher installs than MMP | MMP missing iAd Framework integration → switch to AdServices framework (iOS 14.3+) |
| Conversion values all 0 or null | Privacy threshold (low volume) or schema not implemented in app |
| Install Referrer empty on Android | API not called within 60s of first launch |
| Deferred deep link drops parameters | App not handling cold-start launch params |
| Revenue mismatch MMP vs RevenueCat/ASC | Currency conversion + refunds + family sharing — expect 5–10% delta |
ATTRIBUTION SETUP — <App Name>
CURRENT STATE:
Platforms: iOS / Android
MMP: <name or none>
Channels live: <list>
Known issues: <list>
RECOMMENDED STACK:
iOS: <ASA Attribution + SKAN 4 + AAK + MMP + ASA API>
Android: <Install Referrer + MMP + Google Ads>
Deep linking: <Universal Links + Branch/AppsFlyer OneLink>
CONVERSION VALUE SCHEMA (iOS, 6-bit fine):
Window 1: <table of CV → event>
Window 2: <table>
Window 3: <table>
IMPLEMENTATION CHECKLIST:
[ ] <step 1>
[ ] <step 2>
TESTING PLAN:
- Install from each channel, verify postback in MMP within X hours
- Trigger CV update, verify it propagates
- Test deferred deep link from each ad source
ua-campaignapple-search-adsapp-analyticsasc-metricsnpx claudepluginhub eronred/aso-skillsAudits cross-platform attribution health across iOS (AdAttributionKit, ATT), web (GA4, Google Ads, Meta CAPI), and MMPs. Checks Consent Mode V2, attribution windows, and server-side stitching.
Measures ad effectiveness with privacy-preserving attribution using AdAttributionKit for iOS 17.4+ / Swift 6.3. Use when registering ad impressions, handling postbacks, updating conversion values, implementing re-engagement, or configuring publisher/advertiser apps.
Guides app install ad campaigns and user acquisition for mobile apps on Google App Campaigns, Apple Search Ads, Meta, and TikTok.