コンテンツにスキップ

iOS 属性

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プロバイダがトークンを交換する必要があります。

返却されるフィールド

フィールド
説明常に
platformApple 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 属性トークンの要求のみで必要ありません。