The relative X and Y co-ordinate of the pointing device within the target object that is calculated as a fraction of the width and height of the target. The fractional value is rounded off to a single decimal. This property is generated only if a click event is recorded.
Supported frameworks | Experience Analytics UI Capture |
Path | <global>.<session>.<message>.target.position.relXY |
Description | The relative X and Y co-ordinate of the pointing device within the target object that is calculated as a fraction of the width and height of the target. The fractional value is rounded off to a single decimal. |
Value | String in the format "X,Y" where X = 0.0 - 1.0 and Y = 0.0 - 1.0. Default value is
0.5,0.5 . |
Limitations | None |
Dependencies | cxOverstat uses this information for producing heat maps. This property is generated only if a click event is recorded. |
Example
This example shows a Type 4 Control message:
{
"messageVersion": "1.1.0.0",
"serialNumber": 2,
"sessions": [
{
"id": "ID13H56M10S772R0.955239302458247",
"startTime": 1343076970772,
"timezoneOffset": 420,
"messages": [
{
"type": 4,
"offset": 17329,
"screenviewOffset": 17327,
"count": 8,
"fromWeb": true,
"target": {
"id": "bi",
"idType": -1,
"name": "buttonInput",
"type": "INPUT",
"subType": "button",
"position": {
"width": 67,
"height": 22,
"relXY": "0.5,0.3"
},
"prevState": {...},
"currState": {...},
"isParentLink": false
},
"event": {
"type": "click"
}
}],
"clientEnvironment": {...}
}
]
}