iOS 属性
このプラグインのインストール手順とマークダウンガイドを含むセットアップのコピー用のテキストをコピーします。
Apple AdServices
「Apple AdServices」セクションAppleは、Google Play Install Referrerに相当する一般的なApp Storeのインストールリファラーを提供していません。iOSでは、このプラグインはApple AdServicesのAttributionを使用します。
基本的には getReferrer() AppleのAttributionトークンを取得し、バックエンドまたはモバイル測定パートナーに送信できます。
const result = await InstallReferrer.getReferrer();console.log(result.attributionToken);ネイティブAppleAttributionLookup
「ネイティブAppleAttributionLookup」のセクションプラグインはネイティブのcodeからAppleのAdServicesエンドポイントにトークンを送信することもできます。
const result = await InstallReferrer.getReferrer({ fetchAppleAttribution: true,});
console.log(result.appleAttribution);このモードを使用して、AppleのAttributionペイロードを受信するアプリ自身が受け取るようにします。バックエンドまたはAttributionプロバイダーがトークンを交換する場合、falseを設定します。 fetchAppleAttribution 返却されたフィールド
セクション「返却されたフィールド」
フィールド| 説明 | AppleのAttributionペイロードを受信するアプリ自身が受け取るようにします。 |
|---|---|
platform | 常に ios. |
attributionToken | Apple AdServices 属性トークン。 |
appleAttribution | オプションの Apple 属性ペイロードは fetchAppleAttribution true の場合。 |
- Apple AdServices 属性トークンは iOS 14.3 以降で利用可能です。
- 属性ペイロードは Apple Search Ads 属性のみをカバーし、アプリストアの任意のリファラURLではありません。
- App Tracking Transparency のプロンプトは、AdServices 属性トークンを要求するだけでなく必要ではありません。
iOS 属性の続き
「iOS 属性の続き」セクションCapacitor を使用している場合 iOSAttribution nativeプラグインの作業を計画するには、 Using @capgo/capacitor-install-referrer Using @capgo/capacitor-install-referrerのnative機能 Capgo プラグインディレクトリ Capgo プラグインディレクトリの製品フロー Capacitor Plugins by Capgo Capacitor プラグインのCapgo プラグインの追加または更新 プラグインの追加または更新の実装詳細 Ionic Enterprise プラグインの代替 Ionic Enterprise プラグインの代替の製品フロー