logo

NJP

How to track the different VA output nodes used in via a custom event in the conversational analytics dashboard

Import · Mar 30, 2022 · article

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.

image

  1. Navigate to Conversational Analytics > Event Configuration
  2. Click “New”.
  3. Enter in information as follows:

image

4. Click Submit.

5. Under Event Properties, click “New”, and enter in the following Value Script:

image

(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.

image

View original source

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