概要
概要@capgo/capacitor-install-referrer Capacitorは、インストールのAttribution信号を1つのCapacitor APIで提供します。
Androidでは、Google Playのインストールリファラーの詳細を読み取ります: raw referrer string、click timestamp、install timestamp、およびinstant app flag。iOSでは、Apple AdServicesのAttributionトークンを返します。また、Apple Search AdsのAttributionデータを取得するために、AppleのAdServicesのAttributionエンドポイントを呼び出すこともできます。
Core Capabilities
Core CapabilitiesgetReferrer- {targetPlatform}のネイティブインストールのAttribution情報を取得します。GetReferrer- {platform}から移行中のアプリ向けに非推奨の互換性のためのエイリアスです。cap-play-install-referrer.getPluginVersion- {platform}のネイティブプラグイン実装のバージョンマークを取得します。- iOS向けのオプションのApple Attributionの検索機能、遅延したAdServicesのレスポンスに対応してリトライをサポートします。
Platform Support
Platform Support| Platform | Support |
|---|---|
| Android | Google Play Install ReferrerのAPI |
| iOS | Apple AdServices 属性トークンとオプションの Apple 属性ペイロード |
| Web | 非サポートのスタブ |
パブリック API
API のセクション "パブリック API"| メソッド | 説明 |
|---|---|
getReferrer(options?) | Android または iOS のインストール属性を返します。 |
GetReferrer(options?) | 非推奨の互換性のためのエイリアス getReferrer. |
getPluginVersion() | native プラグインのバージョン マーカーを返します。 |
このリファレンスはsynced されています src/definitions.ts in capacitor-install-referrerをインストール.
Keep going from @capgo/capacitor-install-referrer
Section titled “Keep going from @capgo/capacitor-install-referrer”Capgoを使用している場合 capgo/capacitor-install-referrer Capgoを使用して、ストアの承認と配布を計画する場合、__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-install-referrerを接続してください Capgoのcapgo/capacitor-install-referrerを使用して Capgoのcapgo/capacitor-install-referrerのネイティブ機能を使用して Capgoのcapgo/capacitor-in-app-reviewを使用して Capgoのcapgo/capacitor-in-app-reviewの実装詳細を参照してください @capgo/capacitor-アプリ内レビュー @capgo/capacitor-アプリ内レビューのネイティブ機能のために @capgo/capacitor-ネイティブマーケット @capgo/capacitor-ネイティブマーケットの実装詳細のために、 @capgo/capacitor-ネイティブマーケット @capgo/capacitor-ネイティブマーケットのネイティブ機能のために