2021-01-04 18:02:13 +08:00

11 lines
324 B
TypeScript

declare class BAIDU {
siteId: string;
isDebug: boolean;
constructor(siteId?: string, isDebug?: boolean);
init(): void;
setAccount(): void;
trackPageview(pageUrl: string): void;
trackEvent(category: string, action: string, label: string, value: number): boolean;
}
export default BAIDU;