mirror of
https://github.com/analyticsjs/vue-baidu-analytics.git
synced 2025-04-05 07:52:44 +08:00
11 lines
324 B
TypeScript
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;
|