How to track the different VA output nodes used in via a custom event in the conversational analytics dashboard
Your topic authors are probably curious which bot output nodes are used and interacted with the most. You can create your own custom event to track in the conversational analytics dashboard to visualize data such as this. This article shows how to create a custom event that measures which bot output nodes are used such as Text, Link, or Boolean.
- Navigate to Conversational Analytics > Event Configuration
- Click “New”.
- Enter in information as follows:
4. Click Submit.
5. Under Event Properties, click “New”, and enter in the following Value Script:
(function calculate(sourceGr) {
var payload = JSON.parse(sourceGr.payload);
var controlType = payload.uiType;
return controlType;
})(sourceGr);
6. Click “Submit”.
7. Run several topics with different output types to see the result.
https://www.servicenow.com/community/virtual-agent-nlu-articles/how-to-track-the-different-va-output-nodes-used-in-via-a-custom/ta-p/2305848