iOS 属性
インストール手順とこのプラグインのフルマークダウンガイドを含むセットアッププロンプトをコピーできます。
Apple AdServices
Apple AdServicesセクション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
ネイティブApple Attribution Lookupセクションプラグインは、codeのネイティブからAppleのAdServicesエンドポイントにトークンを送信することもできます。
const result = await InstallReferrer.getReferrer({ fetchAppleAttribution: true,});
console.log(result.appleAttribution);このモードを使用して、AppleのAttribution Payloadを受け取るアプリ自身がAttribution Payloadを受け取るようにします。 fetchAppleAttribution falseを設定してください。バックエンドまたはAttribution Providerがトークンを交換する場合。
返却されるフィールド
セクション「返却されるフィールド」| フィールド | 説明 |
|---|---|
platform | 常に ios. |
attributionToken | Apple AdServices Attribution Token。 |
appleAttribution | オプションのApple Attribution Payloadは fetchAppleAttribution trueの場合 |
要件
「要件」- iOS 14.3 以降で利用可能な Apple AdServices 属性トークンが利用できます。
- 属性ペイロードは、Apple Search Ads 属性のみをカバーし、アプリストアの任意のリファラURLではありません。
- App Tracking Transparency のプロンプトは、AdServices 属性トークンを要求するために必要ありません。
iOS 属性から続けてください。
「iOS 属性から続けてください」あなたが利用している場合 iOS 属性 iOS 属性と接続するには Capgoを使用して@capgo/capacitor-install-referrerをインストールします。 Using @capgo/capacitor-install-referrer Capgo プラグインディレクトリ Capgo プラグイン ディレクトリの製品ワークフローに Capacitor プラグインは Capgo によって Capacitor プラグインの実装詳細は Capacitor プラグインは Capgo によって プラグインの追加または更新 プラグインの追加または更新の実装詳細、 イオニック エンタープライズ プラグインの代替 __CAPGO_KEEP_0__ プラグイン ディレクトリの製品ワークフローに