メニューに進む

iOS Attribution

GitHub

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

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

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);

このモードを使用して、AppleのAttribution Payloadを受信するアプリ自身が受け取るようにします。 fetchAppleAttribution バックエンドまたはAttributionプロバイダーがトークンを交換する場合には

返却されるフィールドのセクションフィールド
platform説明 ios.
attributionToken常に
appleAttributionApple AdServicesのAttributionトークン。 fetchAppleAttribution は真実です。
  • Apple AdServices 属性トークンは、iOS 14.3 以降で利用可能です。
  • 属性ペイロードは、Apple Search Ads 属性をカバーし、任意の App Store リファラ URL をカバーするものではありません。
  • App Tracking Transparency のプロンプトは、AdServices 属性トークンの要求のみで必要ありません。

Capacitor を使用している場合 iOS 属性 Capacitor を使用してネイティブ プラグインの作業を計画する場合、@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-install-referrer を接続してください。 Capacitor を使用してネイティブ プラグインの作業を計画する場合、capgo/capacitor-install-referrer を接続してください。 @capgo/capacitor-install-referrerのネイティブ機能を使用する Capgo プラグインディレクトリ Capgo プラグインの__CAPGO_KEEP_1__ Capacitor プラグインのCapgoの実装詳細 for the implementation detail in Capacitor Plugins by Capgo, プラグインの追加または更新の実装詳細、 Capacitor Enterprise プラグインの代替 Capacitor Enterprise プラグインの代替の製品ワークフロー ページを編集