iOS Attribution
このプラグインのインストールステップとフルマークダウンガイドを含む設定コマンドをコピーしてください。
Apple AdServices
Apple AdServicesセクションAppleは、Google Play Install Referrerに相当する一般的なApp Storeインストールリファラーを提供していません。iOSでは、このプラグインはApple AdServicesのAttributionを使用します。
デフォルトでは getReferrer() AdServicesのAttributionトークンを返します。これをバックエンドまたはモバイル測定パートナーに送信できます。
const result = await InstallReferrer.getReferrer();console.log(result.attributionToken);ネイティブApple Attribution Lookup
セクション「ネイティブApple Attribution Lookup」プラグインは、ネイティブcodeからAppleのAdServicesエンドポイントにトークンを送信することもできます。
const result = await InstallReferrer.getReferrer({ fetchAppleAttribution: true,});
console.log(result.appleAttribution);このモードを使用する場合は、App自体がAppleのAttributionペイロードを受信するようにします。 fetchAppleAttribution falseを保持してください。バックエンドまたはAttributionプロバイダーがトークンを交換するようにします。
Returned Fields
Section titled “Returned Fields”| Field | Description |
|---|---|
platform | Always ios. |
attributionToken | Apple AdServices 属性トークンです。 |
appleAttribution | Apple 属性ペイロードは、is true の場合に使用されます。 fetchAppleAttribution is true. |
Requirements
iOS 14.3 以降の iOS で利用可能です。- 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 プラグインの代替を参照してください。