@aigens/aigens-sdk-facebook-analytics
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

@aigens/aigens-sdk-facebook-analytics

Aigens Order.Place Core Plugin

Install

npm install @aigens/aigens-sdk-facebook-analytics
npx cap sync

API

initSdk()

initSdk() => Promise<any>

Returns: Promise<any>


setAdvertiserTrackingEnabled(...)

setAdvertiserTrackingEnabled(options: { enabled: boolean; }) => Promise<any>
Param Type
options { enabled: boolean; }

Returns: Promise<any>


logEvent(...)

logEvent(options: { eventName: string; valueToSum?: number; params?: any; }) => Promise<string>
Param Type
options { eventName: string; valueToSum?: number; params?: any; }

Returns: Promise<string>


logPurchase(...)

logPurchase(options: { amount: number; currency: string; params: any; }) => Promise<string>
Param Type
options { amount: number; currency: string; params: any; }

Returns: Promise<string>


logAddPaymentInfo(...)

logAddPaymentInfo(options: { success: number; }) => Promise<string>
Param Type
options { success: number; }

Returns: Promise<string>


logAddToCart(...)

logAddToCart(options: { amount: number; currency: string; }) => Promise<string>
Param Type
options { amount: number; currency: string; }

Returns: Promise<string>


logCompleteRegistration(...)

logCompleteRegistration(options: { params?: any; }) => Promise<string>
Param Type
options { params?: any; }

Returns: Promise<string>


logInitiatedCheckout(...)

logInitiatedCheckout(options: { amount: number; params?: any; }) => Promise<string>
Param Type
options { amount: number; params?: any; }

Returns: Promise<string>


Readme

Keywords

Package Sidebar

Install

npm i @aigens/aigens-sdk-facebook-analytics

Weekly Downloads

37

Version

0.5.1

License

MIT

Unpacked Size

44 kB

Total Files

25

Last publish

Collaborators

  • aigens