All Products
Search
Document Center

Mobile Platform as a Service:Android/iOS behavior tracking

Last Updated:Sep 07, 2023

This topic introduces the client-side and server-side log models for behavior tracking respectively.

Behavior tracking includes:

  • Active device/user tracking

  • Page automation tracking

  • Switch-to-background tracking

Note

If the description of a field is "-", it means the field is not used and you don't have to care it.

Client-side log model

Active device/user tracking

No.

Example

Field description

00

D-VM

The log header, which is fixed to D-VM.

01

2018-12-19 10:35:47.196

The client log time.

02

A11111111****_IOS-default

Format: App ID created in the backend_Platform type-workspaceId

03

1.0.1

The client version, namely, the App version.

04

2

The version of the log tracking SDK, which is fixed to 2.

05

41111111111****|81111111111****

In the format of IMSI|IMEI, only available in Android devices.

Note
  • In Android 10 and later versions, the system doesn't acquire IMSI and IMEI.

  • In Android 9 and earlier versions, IMSI and IMEI will be obtained on the premise that the system has been authorized with READ_PHONE_STATE permission and the user agrees to the privacy agreement.

  • In case of not acquiring IMSI and IMEI, the timestamp generated upon the first launch after installation is used instead.

06

d5557b75-ff80-4aab-86a6-9b1a522b****

Session ID

07

user****

The ID generated after a user gets registered with App, namely, the user ID.

08

event

Used to identify the behavior type, which is fixed to event.

09

-

-

10

first

Format: Upper-level page ID|Upper-level page location ID. If the current page is the home page, this field is "-" or "first”.

11

-

-

12

-

-

13

-

-

14

-

-

15

reportActive

Fixed to reportActive.

16

-

-

17

-

-

18

-

-

19

-

-

20

-

-

21

-

-

22

-

-

23

-

-

24

-

-

25

Wn1111111111111****

UTDID, namely, the device ID.

26

-

-

27

-

-

28

-

-

29

-

-

30

-

-

31

-

-

32

-

-

33

vivo Xplay3S

Device model.

34

4.4.2

OS version.

35

WIFI

Network type, such as Wi-Fi, 2G, 3G, or 4G.

36

-

-

37

alipay

Channel number.

38

en-US

Operating system language.

39

0

Version number of the hotpatch package.

40

4

Number of CPU cores.

41

2265

The maximum CPU frequency, unit: MHz.

42

2853

The memory size, unit: MB.

43

-

-

44

-

-

45

2560 × 1440

Screen resolution.

46

-

-

47

-

-

Page automation tracking

No.

Example

Field description

00

D-VM

The log header, which is fixed to D-VM.

01

2018-12-19 10:35:47.196

The client log time.

02

A111111****1_IOS-default

Format: App ID created in the backend_Platform type-workspaceId

03

V1.0.1

The client version, namely, the App version.

04

2

The version of the log tracking SDK, which is fixed to 2.

05

41111111111****|81111111111****

Format: IMSI|IMEI

06

d5557b75-ff80-4aab-86a6-9b1a522b****

Session ID

07

user****

The ID generated after a user gets registered with App, namely, the user ID.

08

auto_openPage

Used to identify the type of behavior, which is fixed to auto_openPage.

09

-

-

10

Referer_Page_ID|Referer_Page_Position

Format: Upper-level page ID|Upper-level page location ID. If the current page is the home page, this field is "-" or "first”.

11

-

-

12

-

-

13

-

-

14

-

-

15

Current_Page_ID

Current page ID.

16

-

-

17

-

-

18

-

-

19

-

-

20

-

-

21

-

-

22

-

-

23

-

-

24

9180

The time of staying on a page, unit: ms.

25

Wn11111111111111****

UTDID, namely, the device ID.

26

-

-

27

Current_Page_Position

Current page location ID.

28

-

-

29

-

-

30

-

-

31

-

-

32

-

-

33

vivo Xplay3S

Device model.

34

4.4.2

OS version.

35

WIFI

Network type, such as Wi-Fi, 2G, 3G, or 4G.

36

-

-

37

alipay

Channel number.

38

en-US

Operating system language.

39

0

Version number of the hotpatch package.

40

4

Number of CPU cores.

41

2265

The maximum CPU frequency, unit: MHz.

42

2853

The memory size, unit: MB.

43

-

-

44

-

-

45

2560 × 1440

Screen resolution

46

-

-

47

-

-

Switch-to-background tracking

No.

Example

Field description

00

D-VM

The log header, which is fixed to D-VM.

01

2018-12-19 10:35:47.196

The client log time.

02

A11111111****_IOS-default

Format: App ID created in the backend_Platform type-workspaceId

03

1.0.1

The client version, namely, the App version.

04

2

The version of the log tracking SDK, which is fixed to 2.

05

41111111111****|81111111111****

Format: IMSI|IMEI.

06

d5557b75-ff80-4aab-86a6-9b1a522b****

Session ID.

07

user****

The ID generated after a user gets registered with App, namely, the user ID.

08

auto_event

Used to identify the behavior type, which is fixed to auto_event.

09

-

-

10

first

Format: Upper-level page ID|Upper-level page location ID. If the current page is the home page, this field is "-" or "first”.

11

-

-

12

-

-

13

-

-

14

-

-

15

-

-

16

-

-

17

-

-

18

-

-

19

-

-

20

-

-

21

leavehint

Fixed to leavehint

22

uid=1****^pid=1****^stayTime=266083

Format: key = value ^ key = value…

stayTime indicates the time of staying on a page, in ms.

23

-

-

24

-

-

25

Wn1111111111****1111QxL

UTDID, namely, the device ID.

26

-

-

27

-

-

28

-

-

29

-

-

30

-

-

31

-

-

32

-

-

33

vivo Xplay3S

Device model.

34

4.4.2

OS version.

35

WIFI

Network type, such as Wi-Fi, 2G, 3G, or 4G.

36

-

-

37

alipay

Channel number.

38

en-US

Operating system language.

39

0

Version number of the hotpatch package.

40

4

Number of CPU cores.

41

2265

The maximum CPU frequency, unit: MHz.

42

2853

The memory size, unit: MB.

43

-

-

44

-

-

45

2560 × 1440

Screen resolution.

46

-

-

47

-

-

Server-side log model

Active device/user tracking

No.

Example

Field description

01

2018-12-19 10:35:47.996

The server log time.

02

ip=182.11.xx.xx^country=China^province=Beijing^city=Beijing^district=Chaoyang District

Includes server request IP address, country, province, and city.

03

2018-12-19 10:35:47.196

The client log time.

04

A11111111****_IOS-default

Format: App ID created in the backend_Platform type-workspaceId.

05

1.0.1

The client version, namely, the App version.

06

2

The version of the log tracking SDK, which is fixed to 2.

07

41111111111****|81111111111****

In the format of IMSI|IMEI, only available in Android devices.

Note
  • In Android 10 and later versions, the system doesn't acquire IMSI and IMEI.

  • In Android 9 and earlier versions, IMSI and IMEI will be obtained on the premise that the system has been authorized with READ_PHONE_STATE permission and the user agrees to the privacy agreement.

  • In case of not acquiring IMSI and IMEI, the timestamp generated upon the first launch after installation is used instead.

08

d5557b75-ff80-4aab-86a6-9b1a522b****

Session ID.

09

user****

The ID generated after a user gets registered with App, namely, the user ID.

10

event

Used to identify the behavior type, which is fixed to event.

11

-

-

12

first

Format: Upper-level page ID|Upper-level page location ID. If the current page is the home page, this field is "-" or "first”.

13

-

-

14

-

-

15

-

-

16

-

-

17

reportActive

Fixed to reportActive.

18

-

-

19

-

-

20

-

-

21

-

-

22

-

-

23

-

-

24

-

-

25

-

-

26

-

-

27

Wn11111111111****

UTDID, namely, the device ID.

28

-

-

29

-

-

30

-

-

31

-

-

32

-

-

33

-

-

34

-

-

35

vivo Xplay3S

Device model.

36

4.4.2

OS version.

37

WIFI

Network type, such as Wi-Fi, 2G, 3G, or 4G.

38

-

-

39

alipay

Channel number.

40

en-US

Operating system language.

41

0

Version number of the hotpatch package.

42

4

Number of CPU cores.

43

2265

The maximum CPU frequency, unit: MHz.

44

2853

The memory size, unit: MB.

45

-

-

46

-

-

47

2560 × 1440

Screen resolution.

48

-

-

49

-

-

Page automation tracking

No.

Example

Field description

01

2018-12-19 10:35:47.996

The server log time.

02

ip=182.11.xx.xx^country=China^province=Beijing^city=Beijing^district=Chaoyang District

Includes server request IP address, country, province, and city.

03

2018-12-19 10:35:47.196

The client log time.

04

A11111111****_IOS-default

Format: App ID created in the backend_Platform type-workspaceId.

05

V1.0.1

The client version, namely, the App version.

06

2

The version of the log tracking SDK, which is fixed to 2.

07

41111111111****|81111111111****

Format: IMSI|IMEI.

08

d5557b75-ff80-4aab-86a6-9b1a522bbb****

Session ID.

09

user11

The ID generated after a user gets registered with App, namely, the user ID.

10

auto_openPage

Used to identify the type of behavior, which is fixed to auto_openPage.

11

-

-

12

Referer_Page_ID|Referer_Page_Position

Format: Upper-level page ID|Upper-level page location ID. If the current page is the home page, this field is "-" or "first”.

13

-

-

14

-

-

15

-

-

16

-

-

17

Current_Page_ID

Current page ID.

18

-

-

19

-

-

20

-

-

21

-

-

22

-

-

23

-

-

24

-

-

25

-

-

26

9180

The time of staying on a page, unit: ms.

27

Wn111111111111****

UTDID, namely, the device ID.

28

-

-

29

Current_Page_Position

Current page location ID.

30

-

-

31

-

-

32

-

-

33

-

-

34

-

-

35

vivo Xplay3S

Device model.

36

4.4.2

OS version.

37

WIFI

Network type, such as Wi-Fi, 2G, 3G, or 4G.

38

-

-

39

alipay

Channel number.

40

en-US

Operating system language.

41

0

Version number of the hotpatch package.

42

4

Number of CPU cores.

43

2265

The maximum CPU frequency, unit: MHz.

44

2853

The memory size, unit: MB.

45

-

-

46

-

-

47

2560 × 1440

Screen resolution.

48

-

-

49

-

-

Switch-to-background tracking

No.

Example

Field description

01

2018-12-19 10:35:47.996

The server log time.

02

ip=182.11.xx.xx^country=China^province=Beijing^city=Beijing^district=Chaoyang District

Includes server request IP address, country, province, and city.

03

2018-12-19 10:35:47.196

The client log time.

04

A11111111****_IOS-default

Format: App ID created in the backend_Platform type-workspaceId

05

1.0.1

The client version, namely, the App version.

06

2

The version of the log tracking SDK, which is fixed to 2.

07

41111111111****1|81111111111****

Format: IMSI|IMEI.

08

d5557b75-ff80-4aab-86a6-9b1a522b****

Session ID.

09

user****

The ID generated after a user gets registered with App, namely, the user ID.

10

auto_event

Used to identify the behavior type, which is fixed to auto_event.

11

-

-

12

first

Format: Upper-level page ID|Upper-level page location ID. If the current page is the home page, this field is "-" or "first”.

13

-

-

14

-

-

15

-

-

16

-

-

17

-

-

18

-

-

19

-

-

20

-

-

21

-

-

22

-

-

23

leavehint

Fixed to leavehint.

24

uid=10206^pid=16992^stayTime=266083

Format: key = value ^ key = value…

stayTime indicates the time of staying on a page, in ms.

25

-

-

26

-

-

27

Wn1111111111****

UTDID, namely, the device ID.

28

-

-

29

-

-

30

-

-

31

-

-

32

-

-

33

-

-

34

-

-

35

vivo Xplay3S

Device model.

36

4.4.2

OS version.

37

WIFI

Network type, such as Wi-Fi, 2G, 3G, or 4G.

38

-

-

39

alipay

Channel number.

40

en-US

Operating system language.

41

0

Version number of the hotpatch package.

42

4

Number of CPU cores.

43

2265

The maximum CPU frequency, unit: MHz.

44

2853

The memory size, unit: MB.

45

-

-

46

-

-

47

2560 × 1440

Screen resolution.

48

-

-

49

-

-