SendEventAgentLoggedOut
CustomData | Json | |
Source | String | Can be used to identify the method in the code used to send this message from for debugging code purposes |
Minimal
Code
CyaraLiveVq.SendEventAgentLoggedOut();
Payload
{ "type": "cyara-agent-event", "what": "loggedout", "details": {}, "publickey": "942cce9d-63a9-4908-aae5-ce617b1ea785", "by": "api", "source": "custom" }
Custom
Code
CyaraLiveVq.SendEventAgentLoggedOut({ CustomData: { Reason: 'Closed the browser' }, Source: 'beforeunload' });
Payload
{ "type": "cyara-agent-event", "what": "loggedout", "details": { "customdata": { "Reason": "Closed the browser" } }, "publickey": "942cce9d-63a9-4908-aae5-ce617b1ea785", "by": "api", "source": "custom-beforeunload" }
BlackBox
Payload
{ "type": "cyara-agent-event", "what": "agent-loggedout", "by": "hey-cyara", "source": "api", "publickey": "942cce9d-63a9-4908-aae5-ce617b1ea785" }
Comments
0 comments
Please sign in to leave a comment.