개요
개요 섹션@capgo/capacitor-facebook-analytics iOS 및 Android에서 Capacitor 앱을 위한 Meta 앱 이벤트를.wrap합니다.
표준 페이스북 이벤트, 커스텀 이벤트, 구매, 및 화폐 메타데이터를 포함하는 가치 이벤트를 로깅하는 데 사용할 수 있습니다. 또한 Android 및 iOS의 전통적인 버전에서 광고주 추적 제어를 노출하고 iOS 17 이상에서 앱 추적 투명성 인증을 보고합니다.
기본 기능
Core CapabilitiesinitAppEvents- 자동 Facebook 앱 이벤트 활성화logEvent- 표준 또는 사용자 정의 앱 이벤트 로깅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 | 지원됨 |
| 안드로이드 | 지원됨 |
| 웹 | 지원되지 않음 |
공개 API
API| 방법 | 설명 |
|---|---|
initAppEvents | 페이스북 앱 이벤트 활성화. |
logEvent | 페이스북 앱 이벤트 로그. |
logPurchase | 페이스북 구매 이벤트 로그. |
enableAdvertiserTracking | 광고주 추적 활성화 |
disableAdvertiserTracking | 광고주 추적 비활성화 |
getAdvertiserTrackingStatus | 현재 광고주 추적 상태 확인 |
getPluginVersion | 원본 플러그인 버전 마커 반환 |
진실의 근원
‘진실의 근원’ 섹션이 참조는 __CAPGO_KEEP_0__-facebook-analytics에서 동기화됩니다. src/definitions.ts in capacitor-facebook-analytics.
Capgo에서 계속 진행하기 @capgo/capacitor-facebook-analytics
‘Capgo에서 계속 진행하기 @capgo/capacitor-facebook-analytics’ 섹션Capgo를 사용 중이라면 @capgo/capacitor-facebook-analytics 자연 플러그인 작업을 계획하기 위해, Using @capgo/capacitor-facebook-analytics for the native capability in Using @capgo/capacitor-facebook-analytics, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, 플러그인을 추가하거나 업데이트 플러그인을 추가하거나 업데이트하는 구현 세부 정보, Capacitor Enterprise 플러그인 대체 Capacitor Enterprise 플러그인 대체의 제품 워크플로우를 위해