iOS attribution
iOS has no install referrer, so Attriv matches installs with three signals. Two are deterministic mechanisms you opt into — App Clips and pasteboard — and one is a probabilistic fingerprint fallback that always runs. They act at different points in the funnel and are switched on independently, so there is no single "iOS mode": a setup is just a choice for each signal.
| Signal | Tier | Configured by | Turn it off by |
|---|---|---|---|
| App Clip | matchType: "appclip" — deterministic, at click time | Dashboard → app settings → App Clip bundle id, plus appClipAppGroup in init | Leaving both unset (the default) |
| Pasteboard | matchType: "pasteboard" — deterministic, at install time | The pasteboard option in init | pasteboard: "off" |
| Fingerprint | matchType: "fingerprint" — probabilistic | Nothing — always on, not configurable | Not possible |
If no signal matches, the install is organic.
The three signals
App Clip — opt-in, click time
The click id rides the App Clip's invocation URL through the App Store boundary, so the full app's first launch attributes deterministically with no clipboard and no prompt. The Smart App Banner opens your clip before the install even starts.
Enabling it takes both halves: the App Clip bundle id in the dashboard (which turns on the banner, the appclips AASA entry, and the /c/ click-path redirect) and the appClipAppGroup in init (which lets the SDK read the click id the clip left behind). Skip both and nothing App Clip-related is served or read.
Full walkthrough: App Clips guide.
Pasteboard — four modes, install time
The landing page's Get the app CTA writes https://<your-link-domain>/c/<clickId> to the clipboard. How the app reads it back is controlled by pasteboard:
| Mode | What happens at first launch |
|---|---|
"control" (default) | No automatic read and no system prompt, ever. Your app calls showPasteControl() to offer a system paste button; the tap is the consent. Degrades to "read" on iOS < 16 |
"read" | Automatic read — one iOS "Allow pasting?" prompt, only when the clipboard holds an Attriv payload |
"both" | "read" at install, plus the paste control for users who denied the prompt |
"off" | Nothing is read and no control is offered — showPasteControl() returns shown: false, reason: "disabled" |
Booleans are accepted for compatibility: true → "read", false → "off".
Details, copy guidance, and the control's overlay model: Pasteboard guide.
Fingerprint — always on, probabilistic
Every install and open report carries a device fingerprint (model, OS version, locale, timezone, screen size) and the client IP. When no deterministic signal matched, the server looks for a click inside the app's attribution window (dashboard app settings, default 24 h) from the same network (its /24 or /64), scored against that fingerprint.
There is no option to disable fingerprinting, on either the SDK or the app settings. It only ever runs as the last resort before organic, so leaving the deterministic signals off does not turn it off — it just makes it the main path.
The funnel order
The signals don't compete — each launch tries them in a fixed, server-side order, and the first match wins:
appclip → deeplink → referrer (Android) → pasteboard → fingerprint → organic
There is nothing to order in configuration. App Clip claims outrank pasteboard claims because they carry different payloads — only the CTA writes the clipboard — so the two deterministic paths never collide.
In practice: users who tap the Smart App Banner attribute through the clip. Everyone else — users who tapped the CTA, users in in-app webviews (WhatsApp, Instagram, …) where banners don't render, users who ignored the banner — falls through to your pasteboard mode, then to fingerprinting.
Recipes
Each recipe lists the SDK configuration plus anything else the setup needs. Pick the one that matches what your app should do on iOS.
Recommended — App Clip + paste control
Banner-tappers attribute prompt-free through the clip; everyone else gets the consent-first paste button.
await Attriv.init({
appKey: "ak_your_app_key",
apiUrl: "https://api.getattriv.com",
appClipAppGroup: "group.com.acme.app",
});
Plus the App Clip bundle id in dashboard app settings, the clip target in Xcode, and a showPasteControl() call on your first screen while attribution is organic. pasteboard is left at its "control" default.
Paste control only — zero prompts, no App Clip target
The standard setup for apps that don't want to ship an App Clip.
await Attriv.init({
appKey: "ak_your_app_key",
apiUrl: "https://api.getattriv.com",
pasteboard: "control",
});
Leave the App Clip bundle id empty. Call showPasteControl() on your first screen while getAttribution() reports organic — see the Pasteboard guide.
Automatic read — one prompt at install, no UI work
await Attriv.init({
appKey: "ak_your_app_key",
apiUrl: "https://api.getattriv.com",
pasteboard: "read",
});
Nothing else to build. Use "both" instead if you want to add the paste control as a second chance for users who deny the prompt.
App Clip only — strict "no clipboard ever"
await Attriv.init({
appKey: "ak_your_app_key",
apiUrl: "https://api.getattriv.com",
pasteboard: "off",
appClipAppGroup: "group.com.acme.app",
});
Probabilistic only — no clipboard, no App Clip
The install is matched purely by fingerprint, or comes back organic.
await Attriv.init({
appKey: "ak_your_app_key",
apiUrl: "https://api.getattriv.com",
pasteboard: "off",
});
- Set
pasteboard: "off"— the SDK never reads the clipboard andshowPasteControl()is disabled. - Leave App Clip bundle id empty in dashboard app settings and don't pass
appClipAppGroup— no Smart App Banner, noappclipsAASA entry, no clip container read. - Don't call
showPasteControl().
Two things this does not change:
- Fingerprinting still runs. There is no way to disable it, so this recipe means "fingerprint is the only iOS install path", not "no matching".
- Deep links still attribute. If an already-installed app opens from a universal link, that open resolves as
deeplink— a deterministic, desirable match, not a probabilistic guess. Installs that arrive with no deep link are the ones that fall tofingerprintororganic.
What to do
- App Clip — set App Clip bundle id in dashboard app settings, pass
appClipAppGrouptoinit, and build the clip target. Full walkthrough: App Clips guide. - Pasteboard — pick a
pasteboardmode ininit; in"control"or"both"mode, render the button withAttriv.showPasteControl()while attribution is organic. Details: the Pasteboard guide, SDK installation, and API reference. - Fingerprint — nothing to configure; it runs automatically as the last resort.