$analytics
The $analytics
service allows you to collect dialog statistics.
caution
If you test your bot in the test widget, no data is recorded to analytics.
Methods
Method | What it does |
---|---|
joinExperiment | Makes the user join an experiment as part of A/B testing. |
setAutomationStatus | Records the dialog automation status. |
setComment | Records comments to the user’s phrase. |
setMessageLabel | Labels the message. |
setNps | Records the dialog score. |
setScenarioAction | Records dialog actions. |
setSessionData | Adds columns with arbitrary data in the session result report. |
setSessionLabel | Labels the dialog. |
setSessionResult | Records the dialog result. |
setSessionTopic | Records dialog topics. |
setTextCampaignResult | Records the text campaign result. |