fbq
Version:
Facebook pixel
8 lines (7 loc) • 618 B
TypeScript
export declare const init: (pixelId: string, advancedMatching?: {}, options?: {
autoConfig: boolean;
}) => boolean;
declare type TrackType = 'AddPaymentInfo' | 'AddToCart' | 'AddToWishlist' | 'CompleteRegistration' | 'Contact' | 'CustomizeProduct' | 'Donate' | 'FindLocation' | 'InitiateCheckout' | 'Lead' | 'Purchase' | 'Schedule' | 'Search' | 'StartTrial' | 'SubmitApplication' | 'Subscribe' | 'ViewContent' | 'PageView';
export declare const track: (trackType: TrackType, options?: any) => boolean;
export declare const trackCustom: <T extends string>(trackType: T, options?: any) => boolean;
export {};