Community-maintained Agent Skills for complete Swift and Apple-platform app delivery.
72
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Medium
Suggest reviewing before use
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:
UIEventAttributionView or StoreKit overlays.Declare supported ad networks in Info.plist with lowercase identifiers:
<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:
import UIKit
let attributionView = UIEventAttributionView()
attributionView.frame = adContainer.bounds
attributionView.isUserInteractionEnabled = true
adContainer.addSubview(attributionView)Opt in to receive copies of winning conversion and re-engagement postbacks at your HTTPS endpoint:
<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/.
Register signed JWS impressions provided by the ad network:
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 = impressionUpdate conversion values on launch and key milestone completions:
// 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
)UIEventAttributionView fail attribution registration.Postback.updateConversionValue on initial launch prevents the conversion window from starting.impression.handleTap() must be invoked within 15 minutes of AppImpression initialization.Info.plist are lowercaseUIEventAttributionView covers the interactive ad area without touch interceptionAttributionCopyEndpoint configured with valid HTTPS and .well-known route.tessl-plugin
skills
accessorysetupkit
references
activitykit
adattributionkit
references
alarmkit
references
app-clips
app-intents
app-store-optimization
app-store-review
apple-on-device-ai
appmigrationkit
audioaccessorykit
references
authentication
references
avfoundation-audio
references
avkit
background-processing
references
browserenginekit
callkit
references
carplay
cloudkit
contacts-framework
references
core-bluetooth
references
core-data
core-haptics
references
core-motion
references
core-nfc
references
coreml
references
cryptokit
cryptotokenkit
debugging-instruments
device-integrity
references
energykit
references
eventkit
family-controls
references
financekit
focus-engine
gamekit
git-branching-workflow
references
healthkit
references
homekit
references
ios-accessibility
ios-app-workflow
references
ios-ettrace-performance
ios-localization
ios-memgraph-analysis
ios-networking
ios-simulator
references
metrickit
references
musickit
references
natural-language
paperkit
references
passkit
references
pdfkit
pencilkit
references
permissionkit
references
photokit
push-notifications
quicklook
references
realitykit
references
relevancekit
references
scenekit
sensorkit
shazamkit
references
speech-recognition
references
spritekit
storekit
swift-api-design-guidelines
swift-architecture
references
swift-charts
swift-codable
references
swift-code-review
swift-concurrency
swift-formatstyle
references
swift-language
swift-security
references
swift-testing
swiftdata
swiftlint
swiftui-animation
swiftui-gestures
references
swiftui-layout-components
swiftui-liquid-glass
references
swiftui-patterns
swiftui-performance
swiftui-responsive-layout
swiftui-uikit-interop
swiftui-webkit
tabletopkit
tipkit
vision-framework
weatherkit
references