@wecre8websites/sendinblue-tracker
Version:
SendInBlue REST Event API
14 lines (13 loc) • 505 B
TypeScript
interface Properties {
[key: string]: string;
}
export declare class sibTracker {
apiKey: string;
constructor(apiKey: string);
private post;
identify(email: string, properties?: Properties): Promise<boolean>;
trackEvent(email: string, event: string, properties?: Properties): Promise<boolean>;
trackLink(email: string, link: string, properties?: Properties): Promise<boolean>;
trackPage(email: string, page: string, properties?: Properties): Promise<boolean>;
}
export {};