An object that contains information about the HTML element that is the target of a user action.
Supported frameworks | Android, iOS, Experience Analytics UI Capture |
Path | <global>.<session>.<message>.target |
Description | Object that contains information about the HTML element that is the target of a user action. Refer to individual property descriptions for details. |
Value | Object |
Limitations | Target object is present only in control message types
(<global>.<session>.<message>.type = 4 ) |
Dependencies | Replay, cxOverstat, and step-based eventing use various members of the target object. |
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": {...}
}
]
}