iOSAttribution
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
Apple AdServices
Apple AdServicesiOSでは、Google Play Install Referrerに相当する一般的なApp Storeのインストールリファラーレイアウトは提供されていません。iOSでは、このプラグインはApple AdServicesのAttributionを使用します。
デフォルト getReferrer() __CAPGO_KEEP_0__のAppleのAttribution Payloadをアプリ内で受信する場合に使用してください。
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プロバイダーがトークンを交換する場合にはfalseを設定してください。 fetchAppleAttribution 返却されるフィールド
セクション「返却されるフィールド」
フィールド| 説明 | __CAPGO_KEEP_0__のAppleのAttribution Payloadをアプリ内で受信する場合に使用してください。バックエンドまたはAttributionプロバイダーがトークンを交換する場合にはfalseを設定してください。 |
|---|---|
platform | Always ios. |
attributionToken | Apple AdServices 属性トークンです。 |
appleAttribution | オプションの Apple 属性ペイロードは「true」である場合にのみ使用してください。 fetchAppleAttribution 要件 |
- Apple Search Ads 属性と App Store の任意のリファラ URL をカバーする属性ペイロードが含まれます。
- App Tracking Transparency のプロンプトは、AdServices 属性トークンを要求するためにのみ必要です。
- iOS 属性から続けてください
iOS 属性から続けてください
iOS 属性から続けてくださいiOS 属性から続けてください iOS Attribution nativeプラグインの作業を計画するには、を接続する @capgo/capacitor-install-referrerを使用する @capgo/capacitor-install-referrerのnative機能のために Capgo プラグインディレクトリ Capgo プラグインディレクトリの製品ワークフロー Capacitor プラグインをCapgoで Capacitor プラグインをCapgoで実装する詳細 プラグインの追加または更新 プラグインの追加または更新の実装詳細 Ionic Enterprise プラグインの代替 Ionic Enterprise プラグインの代替の製品ワークフロー