@capgo/capacitor-facebook-analytics iOSとAndroid用のCapacitorアプリにMetaアプリイベントをラップします。
標準のFacebookイベント、カスタムイベント、購入、値を含むイベントのログを使用して、またAndroidとiOSのレガシーアイオーエスでは、広告主のトラッキング制御を公開し、iOS 17以上ではAppトラッキング透明性の承認を報告します。
initAppEvents- Facebook App Eventsを手動で有効化するlogEvent- 標準またはカスタムのApp Eventsをオプションのパラメータ、値、通貨とともに記録するlogPurchase- 購入イベントを記録する(金額、通貨、オプションのパラメータ)enableAdvertiserTracking- Enable advertiser ID collection where the native SDK still supports explicit toggling.disableAdvertiserTracking- Disable advertiser ID collection where the native SDK still supports explicit toggling.getAdvertiserTrackingStatus- 現在のアドバタイザー追跡状態を読み取る
Platform Support
Section titled “Platform Support”| Platform | サポート |
|---|---|
| iOS | サポートされている |
| Android | サポートされている |
| Web | 非サポートのスタブ |
公開 API
セクション「公開 API」| メソッド | 説明 |
|---|---|
initAppEvents | Facebook App イベントを有効にします。 |
logEvent | Facebook App イベントをログします。 |
logPurchase | Facebook 購入イベントをログします。 |
enableAdvertiserTracking | 広告主のトラッキングを有効にします。 |
disableAdvertiserTracking | 広告主のトラッキングを無効にします。 |
getAdvertiserTrackingStatus | 現在の広告主のトラッキングの状態を取得します。 |
getPluginVersion | ネイティブ プラグインのバージョン マーカーを返します。 |
真実の源
「真実の源」というセクションこの参照は、@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-facebook-analyticsからsyncされています。 src/definitions.ts __CAPGO_KEEP_0__-facebook-analytics Capgoから@capacitor/__CAPGO_KEEP_1__-facebook-analyticsに進みましょう。.
「Capgoから@capgo/capacitor-facebook-analyticsに進みましょう」というセクション
Section titled “Keep going from @capgo/capacitor-facebook-analytics”__CAPGO_KEEP_0__-facebook-analytics @capgo/capacitor-facebook-analytics native プラグインの作業を計画するには、Facebook Analyticsを接続します。 Capacitor を使用して @capgo/capacitor-facebook-analytics for the native capability in Using @capgo/capacitor-facebook-analytics, Capgo プラグイン ディレクトリ Capgo プラグイン ディレクトリの製品ワークフロー Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, プラグインの追加または更新 プラグインの追加または更新の実装詳細 Capacitor による Ionic Enterprise プラグインの代替 Capacitor による Ionic Enterprise プラグインの代替の製品ワークフロー