collect.d.ts 498 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 ReportInfoDescriptor {
  properties: any
  eventName: EventType
  anonymous_id: string
  report_time: string
  user_login_id?: string | number
}