Skip to content

iOSAttribution

GitHub

Apple AdServices

Apple AdServices

iOSでは、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);

このプラグインは、ネイティブ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を設定してください。
platformAlways ios.
attributionTokenApple 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 プラグインの代替の製品ワークフロー