iOS 属性
このプラグインのインストール手順と全マークダウンガイドを含むセットアッププロンプトをコピーします。
Apple AdServices
Apple AdServicesセクションAppleは、Google Play Install Referrerに相当する一般的なApp Storeインストールリファラータイプを提供していません。iOSでは、このプラグインはApple AdServicesのAttributionを使用します。
デフォルトでは getReferrer() __CAPGO_KEEP_0__
const result = await InstallReferrer.getReferrer();console.log(result.attributionToken);ネイティブApple Attribution Lookup
Native Apple Attribution Lookupプラグインは、ネイティブ code からAppleのAdServicesエンドポイントにトークンを送信することもできます。
const result = await InstallReferrer.getReferrer({ fetchAppleAttribution: true,});
console.log(result.appleAttribution);このモードを使用する場合は、App自体がAppleのAttribution Payloadを受信する必要があります。 fetchAppleAttribution falseを設定する場合は、バックエンドまたはAttributionプロバイダがトークンを交換する必要があります。
返却されるフィールド
フィールド| 説明 | 常に |
|---|---|
platform | Apple AdServices Attributionトークン。 ios. |
attributionToken | オプションのApple Attribution Payload。 |
appleAttribution | ネイティブ fetchAppleAttribution __CAPGO_KEEP_0__ |
- iOS 14.3 以降では、Apple AdServices 属性トークンが利用可能です。
- 属性ペイロードは、Apple Search Ads 属性のみをカバーし、アプリストアの任意のリファラURLではありません。
- App Tracking Transparency のプロンプトは、AdServices 属性トークンの要求のみで必要ありません。