2025-01-18 21:57:27 +08:00
|
|
|
import { GA_EventName } from "../ga/type";
|
|
|
|
|
2024-12-27 14:14:38 +08:00
|
|
|
export enum DocumentEvent {
|
|
|
|
/**
|
|
|
|
* 从inject到content的事件
|
|
|
|
*/
|
|
|
|
Inject2Content = "inject2content",
|
|
|
|
/**
|
|
|
|
* 从content到inject的事件
|
|
|
|
*/
|
|
|
|
Content2Inject = "content2inject",
|
2025-01-12 17:57:02 +08:00
|
|
|
EngineVersion = "engineVersion",
|
2025-01-18 21:57:27 +08:00
|
|
|
GoogleAnalytics = "googleAnalytics",
|
2025-01-19 11:35:51 +08:00
|
|
|
LoadInjectCss = "load-inject-css",
|
2025-01-23 17:56:02 +08:00
|
|
|
GameInspectorBegan = "GameInspectorBegan",
|
|
|
|
GameInspectorEnd = "GameInspectorEnd",
|
2025-01-18 21:57:27 +08:00
|
|
|
}
|
|
|
|
export interface GoogleAnalyticsData {
|
|
|
|
event: GA_EventName;
|
|
|
|
params: string;
|
2024-12-27 14:23:27 +08:00
|
|
|
}
|