# Ad attribution

> Ad attribution is an open-source agent skill for marketing and seo. Guides an iOS developer through AdAttributionKit ad measurement and postback testing. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/rshankras/claude-code-apple-skills/tree/main/skills/app-store/ad-attribution
- **Repository:** https://github.com/rshankras/claude-code-apple-skills
- **GitHub stars:** 924
- **License:** MIT
- **Skill name:** ad-attribution
- **Collection:** https://github.com/rshankras/claude-code-apple-skills
- **Categories:** [marketing and SEO](https://ai-powered.com/categories/marketing-and-seo)
- **Listing updated:** 2026-12-02

## About

This skill covers the advertised-app side of Apple's AdAttributionKit, the privacy-preserving attribution framework that succeeds SKAdNetwork. It walks the agent through designing conversion values that survive crowd-anonymity thresholds, including a fine 0 to 63 scale with a coarse fallback, and through separating install and re-engagement postbacks, including conversion tags for overlapping campaigns.

The skill also covers publisher-side mechanics for apps that show ads, such as click-through and view-through impression handling, attribution windows and cooldowns set in Info.plist, and the rules that differ for Apple Ads, which uses AdServices instead. It stresses rehearsing the full postback pipeline in Developer Mode against a separate development endpoint before any paid spend.

The skill is a set of instructions with no bundled scripts. It expects a Swift or Apple-platform app and works with the file tools the agent already has for reading and editing project code.

## When your agent uses it

> Privacy-preserving ad measurement with AdAttributionKit (SKAdNetwork's successor) — install and re-engagement attribution, conversion-value strategy under crowd anonymity, and end-to-end postback testing. Use when running paid acquisition beyond Apple Ads, measuring re-engagement campaigns, designing conversion values, or migrating from SKAdNetwork.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/rshankras/claude-code-apple-skills/tree/HEAD/skills/app-store/ad-attribution)
- [Asks for: Read, Write, Edit, Glob, Grep](https://github.com/rshankras/claude-code-apple-skills/blob/HEAD/skills/app-store/ad-attribution/SKILL.md)
- [License: MIT](https://github.com/rshankras/claude-code-apple-skills/tree/HEAD/skills/app-store/ad-attribution)

## Features

- **Conversion value design:** Maps early user behavior to fine and coarse conversion values under privacy thresholds.
- **Re-engagement postbacks:** Covers separate re-engagement update timing and conversion tags for parallel campaigns.
- **Attribution windows and cooldowns:** Explains how to tune click and view windows and cooldowns per ad network.
- **Publisher impression handling:** Describes click and view-through tracking for apps that display third-party ads.
- **Postback testing workflow:** Rehearses end-to-end postbacks in Developer Mode before running live campaigns.
- **SKAdNetwork migration:** Notes that registered SKAdNetwork networks carry over to AdAttributionKit.

## Good for

- Design a conversion value map for an iOS app's paid install campaigns
- Set up re-engagement attribution for a retargeting campaign
- Migrate an app's SKAdNetwork implementation to AdAttributionKit
- Configure attribution windows and cooldowns in Info.plist
- Test postback delivery end to end before launching ads

## Install

### Claude Code

This skill ships in the `apple-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add rshankras/claude-code-apple-skills
/plugin install apple-skills@indie-apple-stack
```

Or copy only this skill to `~/.claude/skills/ad-attribution`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ad-attribution &&
cp -R "$tmp/skills/app-store/ad-attribution" ~/.claude/skills/ad-attribution &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ad-attribution` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ad-attribution` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ad-attribution &&
cp -R "$tmp/skills/app-store/ad-attribution" ~/.agents/skills/ad-attribution &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ad-attribution` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ad-attribution` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ad-attribution &&
cp -R "$tmp/skills/app-store/ad-attribution" ~/.cursor/skills/ad-attribution &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ad-attribution` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/rshankras/claude-code-apple-skills.git --path skills/app-store/ad-attribution
```

Or copy the folder to `~/.gemini/skills/ad-attribution` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ad-attribution`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ad-attribution &&
cp -R "$tmp/skills/app-store/ad-attribution" ~/.copilot/skills/ad-attribution &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ad-attribution` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git
```

Then copy `claude-code-apple-skills/skills/app-store/ad-attribution` into your agent's skills folder as `ad-attribution`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Ad attribution apply to Apple Ads campaigns?

No. The skill notes that Apple Ads attribution uses the AdServices framework and points to a separate Apple Search Ads skill for those campaigns. This skill targets other paid channels such as ad networks, social and publishers.

### Can I test attribution without waiting days for postbacks?

Yes. Developer Mode's Ad Attribution Testing option removes time randomization, shortens conversion windows and sends postbacks on demand, while development postbacks should go to a separate dev endpoint.

### What is the first re-engagement update deadline?

The first re-engagement postback update must land within 48 hours, according to the skill.

### Is the skill tied to a specific AI client?

The skill's frontmatter lists it under the Claude Code plugin marketplace, and its allowed tools are Read, Write, Edit, Glob and Grep.

### How do I install Ad attribution in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ad-attribution to use it in all your projects, or to .claude/skills/ad-attribution in one project. Or install the apple-skills plugin, which includes it: /plugin marketplace add rshankras/claude-code-apple-skills, then /plugin install apple-skills@indie-apple-stack.

### Does Ad attribution run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ad attribution?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Ad attribution?

The closest alternatives to Ad attribution are Attribution setup, Server side conversion tracking, Apple search ads, Conversion tracking and Paid ads.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Attribution setup](https://ai-powered.com/skills/attribution-setup): Attribution setup is an open-source agent skill for marketing and seo.
- [Server side conversion tracking](https://ai-powered.com/skills/server-side-conversion-tracking): Server side conversion tracking is an open-source agent skill for marketing and seo.
- [Apple search ads](https://ai-powered.com/skills/apple-search-ads-rshankras): Apple search ads is an open-source agent skill for marketing and seo.
- [Conversion tracking](https://ai-powered.com/skills/conversion-tracking): Conversion tracking is an open-source agent skill for analytics and data.
- [Paid ads](https://ai-powered.com/skills/paid-ads-seite-sh): Paid ads is an open-source agent skill for marketing and seo.
- [Ab test store listing](https://ai-powered.com/skills/ab-test-store-listing): Ab test store listing is an open-source agent skill for e-commerce.
- [Apple search ads](https://ai-powered.com/skills/apple-search-ads-appeeky): Apple search ads is an open-source agent skill for marketing and seo.
- [Attribution](https://ai-powered.com/skills/attribution): Attribution is an open-source agent skill for marketing and seo.

---
Source: https://ai-powered.com/skills/ad-attribution
