# adattributionkit

Guides Apple mobile developers through privacy-focused ad attribution in iOS 17.4+. Use it to register impressions, handle postbacks, and update conversion values.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 3100 installs · ★ 1237
- Author: dpearson2699
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dpearson2699/swift-ios-skills/tree/HEAD/skills/adattributionkit/SKILL.md
- Updated: 2026-07-31
- HTML: https://affpapa.org/en/nevibecode/skills/adattributionkit

## What it does

The skill guides Swift developers through implementing Apple's privacy-centric advertising framework on iOS 17.4 and newer releases. It covers setup for publishers showing banners as well as advertised targets tracking installs or re-engagements across the App Store and third-party marketplaces.

Inside, you find configuration patterns for `Info.plist`, including network identifiers and postback endpoints. It details building signed impressions with `AppImpression` and overlaying custom banner areas with `UIEventAttributionView`. You also get code to update initial postback values right after launch.

Tap events must invoke `handleTap()` within 15 minutes after impression creation. Otherwise, the system discards the payload. This strict deadline means you should audit event dispatch timing before rolling out ad views.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill adattributionkit -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/adattributionkit/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/adattributionkit/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill adattributionkit -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/adattributionkit/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill adattributionkit -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/adattributionkit/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dpearson2699/swift-ios-skills adattributionkit
```

2. **Manually: put the files in place**
- File: `.github/skills/adattributionkit/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill adattributionkit -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dpearson2699/swift-ios-skills --path skills/adattributionkit
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/adattributionkit/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill adattributionkit -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dpearson2699/swift-ios-skills/tree/HEAD/skills/adattributionkit/SKILL.md

## When to use it
- configure `Info.plist` with ad network keys and copy endpoints
- log view-through and click-through impressions using `AppImpression`
- initialize conversion values via `Postback.updateConversionValue`
- transition iOS attribution logic from `SKAdNetwork` to `AdAttributionKit`

## Example prompts
- Configure my Info.plist to send winning postback copies to our reporting endpoint with AdAttributionKit.
- Show me how to overlay UIEventAttributionView on a custom banner and handle taps via AppImpression.
- How do I trigger the initial conversion value update in applicationDidFinishLaunching with AdAttributionKit?

## Similar
- [attribution-setup](https://affpapa.org/en/nevibecode/skills/attribution-setup.md) — skill · 1800 installs
- [conversion-signal-qa](https://affpapa.org/en/nevibecode/skills/conversion-signal-qa.md) — skill · 1000 installs
- [app-ads](https://affpapa.org/en/nevibecode/skills/app-ads.md) — skill · 1100 installs
- [xcode-project-setup](https://affpapa.org/en/nevibecode/skills/xcode-project-setup.md) — skill · 130700 installs
- [expo-migrate-module](https://affpapa.org/en/nevibecode/skills/expo-migrate-module.md) — skill · 19400 installs
- [clerk-swift](https://affpapa.org/en/nevibecode/skills/clerk-swift.md) — skill · 14500 installs

From the same set: [dpearson2699/swift-ios-skills](https://affpapa.org/en/nevibecode/by/dpearson2699/swift-ios-skills.md) — 86 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
