Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This document will help you to understand how to use the Analytics Node in the Experience Designer

\uD83D\uDCD8 Instructions

The Analytics Node could be found in the below path

  1. Navigate to your Project > Develop > Experience Designer

  2. In the Experience Designer left pane, “Analytic” could be found under the “Voice“ section.

By default, the details of all 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. We can use the object msg.analytics in any place in the environment to extract the data during the flow execution.

Analytics Node:

Though msg.analytics can be used in any place, we can get the data only when that line of code executes.

But there could be a situation where we need the data for every request & response. An example of such a situation would be to capture the data to build a custom dashboard.

So if in case we need a flow to be triggered for every request & response, the Analytics Node can be used.

When the Analytics Node is used in the canvas, the node will be triggered for all the requests and 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 be sent to Third-party analytics providers through this node.

Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu.

  • No labels