Skip to content

iOS Attribution

GitHub

Appleは、Google Play Install Referrerに相当する一般的なApp Storeインストールリファラーを提供していません。iOSでは、このプラグインはApple AdServicesのAttributionを使用します。

デフォルトでは getReferrer() AdServicesのAttributionトークンを返します。これをバックエンドまたはモバイル測定パートナーに送信できます。

const result = await InstallReferrer.getReferrer();
console.log(result.attributionToken);

プラグインは、ネイティブcodeからAppleのAdServicesエンドポイントにトークンを送信することもできます。

const result = await InstallReferrer.getReferrer({
fetchAppleAttribution: true,
});
console.log(result.appleAttribution);

このモードを使用する場合は、App自体がAppleのAttributionペイロードを受信するようにします。 fetchAppleAttribution falseを保持してください。バックエンドまたはAttributionプロバイダーがトークンを交換するようにします。

FieldDescription
platformAlways ios.
attributionTokenApple AdServices 属性トークンです。
appleAttributionApple 属性ペイロードは、is true の場合に使用されます。 fetchAppleAttribution is true.
  • Apple Search Ads 属性と App Store の任意のリファラ URL をカバーする属性ペイロードです。
  • The attribution payload covers Apple Search Ads attribution, not arbitrary App Store referrer URLs.
  • No App Tracking Transparency のポップアップは、AdServices 属性トークンの要求のみで必要ありません。

iOS 属性から続けてください

iOS 属性から続けてください

Capgo を使用している場合 iOS 属性 iOS 属性とネイティブ プラグインの作業を計画する場合、Capacitor を接続してください。 @capgo/capacitor-install-referrer を使用してネイティブ機能を実装する @capgo/capacitor-install-referrer を使用してネイティブ機能を実装する Capgo プラグイン ディレクトリ Capgo プラグイン ディレクトリ Capacitor プラグイン (Capacitor によって)Capgo Capacitor プラグイン (Capacitor によって)Capgo プラグインの追加または更新 __CAPGO_KEEP_0__の実装詳細についてはプラグインの追加または更新を参照してください。 Ionic Enterprise プラグインの代替 __CAPGO_KEEP_0__の製品ワークフローについてはIonic Enterprise プラグインの代替を参照してください。