Analytics Node
This document will help you to understand how to use the Analytics Node in the Experience Designer
Instructions
The Analytics Node could be found in the below path
Navigate to your Project > Develop > Experience Designer
In the Experience Designer left pane, “Analytic” node could be found under the “Voice“ section.
By default, the details of all the requests & responses of the skill will be captured in the object msg.analytics
Example:
msg.analytics.timeStampStart
will give the time stamp for every request and the response of the skill (voice skill or Chatbot)
In the
dateModified
variable, we can get the time stamp value for every request & response.
Analytics Node:
If we need a flow to be triggered for every request & response, the Analytics Node can be used.
It would be useful when we would like to capture request & response data to build a custom dashboard.
When the Analytics Node is used in the canvas, the node will be triggered for all the requests & responses immediately after the execution of the actual flow logic.
Example:
The Analytics Node used here will be triggered for every request & response and this flow will be executed.
This is a separate execution after the actual logic execution designed for the particular request & response.
The data in msg.analytics
can be captured for every request & response and it can be stored, used in various ways to build custom dashboards.
Data can also be sent to third-party analytics providers through this node. Example: Dashbot