Aigens Order.Place Core Plugin
npm install @aigens/aigens-sdk-facebook-analytics
npx cap sync
initSdk()
setAdvertiserTrackingEnabled(...)
logEvent(...)
logPurchase(...)
logAddPaymentInfo(...)
logAddToCart(...)
logCompleteRegistration(...)
logInitiatedCheckout(...)
initSdk() => Promise<any>
Returns: Promise<any>
setAdvertiserTrackingEnabled(options: { enabled: boolean; }) => Promise<any>
Param | Type |
---|---|
options |
{ enabled: boolean; } |
Returns: Promise<any>
logEvent(options: { eventName: string; valueToSum?: number; params?: any; }) => Promise<string>
Param | Type |
---|---|
options |
{ eventName: string; valueToSum?: number; params?: any; } |
Returns: Promise<string>
logPurchase(options: { amount: number; currency: string; params: any; }) => Promise<string>
Param | Type |
---|---|
options |
{ amount: number; currency: string; params: any; } |
Returns: Promise<string>
logAddPaymentInfo(options: { success: number; }) => Promise<string>
Param | Type |
---|---|
options |
{ success: number; } |
Returns: Promise<string>
logAddToCart(options: { amount: number; currency: string; }) => Promise<string>
Param | Type |
---|---|
options |
{ amount: number; currency: string; } |
Returns: Promise<string>
logCompleteRegistration(options: { params?: any; }) => Promise<string>
Param | Type |
---|---|
options |
{ params?: any; } |
Returns: Promise<string>
logInitiatedCheckout(options: { amount: number; params?: any; }) => Promise<string>
Param | Type |
---|---|
options |
{ amount: number; params?: any; } |
Returns: Promise<string>