UNPKG

camon-tmanager

Version:

<h1 style="text-align: center;">Camon Tag Manager</h1>

33 lines (29 loc) 868 B
declare const customEvent: (label: string) => void; declare const getUserId: (debug?: boolean, createIfNull?: boolean, sources?: string[], popFromQP?: boolean) => any; type ExperienceProps = { experienceId: number; campaignId: number; companyId: number; customerId: number; }; type GetUserIdConf = { sources?: Array<string>; createIfNull?: boolean; popFromQP?: boolean; }; interface ConfigProps { alias: string; endpoint: string; enabled?: boolean; enableTrackView?: boolean; enableTrackSiteStarting?: boolean; enableTrackTime?: boolean; experience: ExperienceProps; userId?: string; viewId?: string; debug?: boolean; getUserIdConf?: GetUserIdConf; } declare const init: (props: ConfigProps) => void; declare const userId: () => string | null; export { customEvent, getUserId, init, userId };