collect.d.ts
486 Bytes
export type EventType = 'clickEvent' | 'stayEvent' | 'viewEvent'
export interface CommonInfoDescriptor {
$screen_width: number
$screen_height: number
$ip: string
$province: string
$city: string
}
export interface DefaultInfoDescriptor {
$page_title: string
$page_url: string | undefined
$page_path: string | undefined
}
export interface DeviceInfoDescriptor {
$plateform: string
$appName: string
$userAgent: string
$appVersion: string
[prop: string]: string
}