The Initial session width of the display/viewport divided by pixel density.
Supported frameworks | Android, iOS, Experience Analytics UI Capture |
Path | <global>.<session>.<message>.clientState.width |
Description | Initial session width of the display/viewport divided by pixel density |
Value | Integer |
Limitations | None |
Dependencies | Used by Replay |
Example
This example shows the Client Environment message for UIC:
clientEnvironment" : {
"webEnvironment" : {
"libVersion" : "5.0.0.XXXX",
"page" : "http://uictest.com/frames/",
"referrer" : "http://uictest.com/",
"screen" : {
"devicePixelRatio" : 1,
"deviceWidth" : 1920,
"deviceHeight" : 1080,
"deviceToolbarHeight" : 34,
"width" : 942,
"height" : 955,
"orientation" : 0,
"orientationMode" : "PORTRAIT"
}
}
}
This example shows the Client Environment message for Android and iOS:
"clientEnvironment": {
"orientation": 90,
"height": 720,
"osVersion": "4.2.2",
"pixelDensity": 2,
"width": 1196,
"deviceHeight": 360,
"osType": "Android" or "iOS"
"deviceWidth": 598
}