Skip to main content


The $analytics service allows you to collect dialog statistics.

If you test your bot in the test widget, no data is recorded to analytics.


MethodWhat it does
joinExperimentMakes the user join an experiment as part of A/B testing.
setAutomationStatusRecords the dialog automation status.
setCommentRecords comments to the user’s phrase.
setMessageLabelLabels the message.
setNpsRecords the dialog score.
setScenarioActionRecords dialog actions.
setSessionDataAdds columns with arbitrary data in the session result report.
setSessionLabelLabels the dialog.
setSessionResultRecords the dialog result.
setSessionTopicRecords dialog topics.
setTextCampaignResultRecords the text campaign result.