概要
概要セクション@capgo/capacitor-install-referrer Capacitor API によりインストールAttribution信号を公開します。
Androidでは、Google Play Install Referrerの詳細を読み取ります:raw referrer文字列、クリックタイムスタンプ、インストールタイムスタンプ、およびインスタントアプリフラグ。iOSでは、Apple AdServices Attributionトークンを返し、オプションでAppleのAdServices Attributionエンドポイントを呼び出すApple Search Ads Attributionデータを取得します。
Core Capabilities
Core CapabilitiesセクションgetReferrer- 現在のプラットフォームのネイティブインストールAttribution詳細を返します。GetReferrer- 旧バージョンからアップグレード中のアプリ向けの互換性のあるエイリアスです。cap-play-install-referrer.getPluginVersion- ネイティブプラグイン実装バージョンマーカーを返します。- - iOS向けのオプションのApple Attribution検索機能と遅延AdServicesレスポンスに対するリトライ機能をサポートします。
Platform Support
Platform Supportセクション| プラットフォーム | サポート |
|---|---|
| Android | Google Play インストール リファラー API |
| iOS | Apple AdServices 属性トークンと任意の Apple 属性ペイロード |
| Web | 非サポートのスタブ |
パブリック API
「パブリック API」というタイトルのセクション| メソッド | 説明 |
|---|---|
getReferrer(options?) | AndroidまたはiOSのインストールの帰属情報を返します。 |
GetReferrer(options?) | 非推奨の互換性のエイリアス getReferrer. |
getPluginVersion() | ネイティブプラグインのバージョンマーカーを返します。 |
真実の源
「真実の源」というセクション__CAPGO_KEEP_0__-install-referrerがsyncedされているこの参照 src/definitions.ts で capacitor-install-referrer.