メインコンテンツにジャンプ

@capgo/capacitor-install-referrer

Read Android Play install referrer data and iOS Apple AdServices attribution tokens from Capacitor.

@capgo/capacitor-install-referrer exposes install attribution signals through one Capacitor API.

Androidでは、Google Playインストールリファラーの詳細を読み取ります: raw referrer文字列、クリックタイムスタンプ、インストールタイムスタンプ、およびインスタントアプリフラグ。iOSでは、Apple AdServicesアトリビューション トークンを返します。また、Apple Search Adsアトリビューションデータを取得するためにAppleのAdServicesアトリビューションエンドポイントを呼び出すこともできます。

基本機能

Core Capabilities
  • getReferrer 現在のプラットフォームのネイティブインストール属性情報を返します。
  • GetReferrer Core Capabilitiesの非推奨互換性のためのアプリケーション cap-play-install-referrer.
  • getPluginVersion プラグイン実装バージョンマーカーを返します。
  • iOSのApple属性検索にリトライ機能を備えた遅延AdServicesレスポンスに対応します。

プラットフォームサポート

プラットフォーム
サポートAndroid
Google Play Install Referrer __CAPGO_KEEP_0__Google Play Install Referrer API
サポートApple AdServices 属性トークンとオプションの Apple 属性ペイロード
Webサポートされていないスタブ
メソッド説明
getReferrer(options?)Android または iOS に対してインストール属性の詳細を返します。
GetReferrer(options?)廃止された互換性のあるエイリアス getReferrer.
getPluginVersion()ネイティブ プラグインのバージョン マーカーを返します。

このリファレンスはsynced されています src/definitions.ts in capacitor-install-referrer.

__CAPGO_KEEP_0__を使用している場合 @capgo/capacitor-install-referrer __CAPGO_KEEP_0__を使用してストアの承認と配布を計画し、__CAPGO_KEEP_0__を接続する Using @capgo/capacitor-install-referrer Using @capgo/capacitor-install-referrer for the native capability in Using @capgo/capacitor-install-referrer @capgo/capacitor-in-app-review Capgoで使用する@capgo/capacitor-in-app-review Capgoで使用する@capgo/capacitor-in-app-reviewのネイティブ機能 Capgoの@capgo/capacitor-native-market Capgoの@capgo/capacitor-native-marketの実装詳細 Capgoで使用する@capgo/capacitor-native-market Capgoで使用する@capgo/capacitor-native-marketのネイティブ機能