Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Adattributionkit

ASecurity

Measure ad effectiveness with privacy-preserving attribution using AdAttributionKit. Use when registering ad impressions, handling attribution postbacks, updating conversion values, implementing re-engagement attribution, configuring publisher or advertiser apps, or replacing SKAdNetwork with AdAttributionKit for ad measurement.

3 stars
0 votes
0 copies
0 views
Added 9/28/2026
developmentswifttestinggitdocumentation

Works with

cli

Security Analysis

A100/100

Scanned 9/28/2026

Install to Claude Code

$npx -y skills add thiennc-tesoglobal/ios-skills --skill adattributionkit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adattributionkit?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Adattributionkit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thiennc-tesoglobal-adattributionkit/badge)](https://www.skillsdirectory.com/skills/thiennc-tesoglobal-adattributionkit)

More formats (shields.io, HTML) on the badges page.

Files
SKILL.md
---
name: adattributionkit
description: "Measure ad effectiveness with privacy-preserving attribution using AdAttributionKit. Use when registering ad impressions, handling attribution postbacks, updating conversion values, implementing re-engagement attribution, configuring publisher or advertiser apps, or replacing SKAdNetwork with AdAttributionKit for ad measurement."
---

# AdAttributionKit

Privacy-preserving ad attribution for iOS 17.4+. AdAttributionKit enables ad networks and advertisers to measure app installs and re-engagements across the App Store and alternative marketplaces without disclosing user-level identity.

Three distinct roles participate in attribution:
- **Ad Network**: Signs ad impressions with JWS and receives cryptographically validated postbacks.
- **Publisher App**: Hosts and renders ads using `UIEventAttributionView` or StoreKit overlays.
- **Advertised App**: Registers conversions, updates conversion values, and receives copy postbacks.

## Contents

- [Privacy Model & Attribution Arbitration](#privacy-model--attribution-arbitration)
- [Publisher App Configuration](#publisher-app-configuration)
- [Advertiser App Setup](#advertiser-app-setup)
- [Impressions & StoreKit Overlays](#impressions--storekit-overlays)
- [Conversion Values & Postbacks](#conversion-values--postbacks)
- [Common Mistakes](#common-mistakes)
- [Review Checklist](#review-checklist)
- [References](#references)

## Privacy Model & Attribution Arbitration

- **Crowd Anonymity Tiers (0-3)**: The system restricts postback granularity based on crowd volume. Low crowd tiers return coarse conversions and shorter source IDs; Tier 3 returns full 4-digit source IDs and fine values.
- **Delayed Postbacks**: Postbacks are queued and dispatched randomly (24-48h for the first conversion window; 24-144h for second/third windows).
- **Interoperability & Arbitration**: AdAttributionKit and SKAdNetwork impressions are evaluated together. Exactly one impression wins: click-through beats view-through; within the same interaction type, the most recent impression wins.

## Publisher App Configuration

Declare supported ad networks in `Info.plist` with lowercase identifiers:

```xml
<key>AdNetworkIdentifiers</key>
<array>
    <string>example123.adattributionkit</string>
    <string>partner456.skadnetwork</string>
</array>
```

For custom click-through ads, overlay a `UIEventAttributionView` directly above the tappable surface:

```swift
import UIKit

let attributionView = UIEventAttributionView()
attributionView.frame = adContainer.bounds
attributionView.isUserInteractionEnabled = true
adContainer.addSubview(attributionView)
```

## Advertiser App Setup

Opt in to receive copies of winning conversion and re-engagement postbacks at your HTTPS endpoint:

```xml
<key>AdAttributionKit</key>
<dict>
    <key>AttributionCopyEndpoint</key>
    <string>https://example.com</string>
    <key>OptInForReengagementPostbackCopies</key>
    <true/>
</dict>
```

The system sends postbacks to `https://example.com/.well-known/appattribution/report-attribution/`.

## Impressions & StoreKit Overlays

Register signed JWS impressions provided by the ad network:

```swift
import AdAttributionKit
import StoreKit

// Check device availability
guard AppImpression.isSupported else { return }

let impression = try await AppImpression(compactJWS: signedJWS)

// Option A: Custom view-through or click-through
try await impression.handleView()
try await impression.handleTap() // Must be called within 15 minutes of creation

// Option B: StoreKit overlay automatic tracking
let config = SKOverlay.AppConfiguration(appIdentifier: "123456789", position: .bottom)
config.appImpression = impression
```

## Conversion Values & Postbacks

Update conversion values on launch and key milestone completions:

```swift
// Initial window start
try await Postback.updateConversionValue(0, lockPostback: false)

// Milestone update with coarse tier and early lock
try await Postback.updateConversionValue(
    42,
    coarseConversionValue: .high,
    lockPostback: true // Finalizes window early to accelerate postback receipt
)
```

## Common Mistakes

- **Uppercase AdNetworkIdentifiers**: Ad network IDs in Info.plist must be strictly lowercase.
- **Missing UIEventAttributionView**: Custom click-through ads without an overlying `UIEventAttributionView` fail attribution registration.
- **Delayed initial conversion call**: Failing to call `Postback.updateConversionValue` on initial launch prevents the conversion window from starting.
- **Missing 15-minute click window**: `impression.handleTap()` must be invoked within 15 minutes of `AppImpression` initialization.
- **Treating eligibility and conversion windows as identical**: Attribution eligibility windows (interaction to install) are separate from postback conversion windows (install to measurement).

## Review Checklist

- [ ] All ad network identifiers in `Info.plist` are lowercase
- [ ] `UIEventAttributionView` covers the interactive ad area without touch interception
- [ ] `AttributionCopyEndpoint` configured with valid HTTPS and `.well-known` route
- [ ] Initial conversion value registered promptly on app first launch
- [ ] High-value actions lock postback early when subsequent conversions are not expected
- [ ] Cryptographic JWS signatures verified before counting conversions server-side

## References

- Postback verification, server handling, testing, and SKAdNetwork migration: [references/adattributionkit-patterns.md](references/adattributionkit-patterns.md)
- [Apple: AdAttributionKit](https://sosumi.ai/documentation/adattributionkit)
- [Apple: Presenting ads in your app](https://sosumi.ai/documentation/adattributionkit/presenting-ads-in-your-app)
- [Apple: Receiving ad attributions and postbacks](https://sosumi.ai/documentation/adattributionkit/receiving-ad-attributions-and-postbacks)
- [Apple: Verifying a postback](https://sosumi.ai/documentation/adattributionkit/verifying-a-postback)
- [Apple: SKAdNetwork interoperability](https://sosumi.ai/documentation/adattributionkit/adattributionkit-skadnetwork-interoperability)

Attribution

thiennc-tesoglobalthiennc-tesoglobal
View sourceMore from thiennc-tesoglobal →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284972 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

10311 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →