Tracking Method on Website

Main Methods:

Auto tracking DomElement:

autoTrackDom(cssSelector: string): void

Tracking screen view:

Hit screen:

enterScreenStart(screenid: int,name: string): Promise<any>
Parameters
Description
Type
Required
Default value

name

Screen name

string

true

Screen detailed:

enterScreen(screenid: int,name: string, properties: Properties): Promise<any>
Parameters
Description
Type
Required
Default value

screenId

Screen id

int

true

name

Screen name

string

Optional

properties

Custom param

Object

Optional

{}

Exit screen:

exitScreen(screenid: int,name: string, properties: Properties): Promise<any>
Parameters
Description
Type
Required
Default value

screenId

Screen id

int

true

name

Screen name

string

Optional

properties

Custom param

Object

Optional

{}

Tracking account register:

register(userid: int, userName: string, email: email, mobile: phone, properties: Properties): void
Parameters
Description
Type
Required
Default value

userId

int

true

userName

string

true

email

string

true/ Optional

mobile

string

true/ Optional

properties

Custom param

Object

Optional

{}

Last updated