This document explains how to gather analytic events generated in Ada's backend. Subsequent logging of events (to any specific analytics aggregator) are not covered in this document and are the responsibility of client.
Gathering Events
To gather analytic event data, clients must pass an Analytics callback function to Chaperone
when instantiating their bot.
const AcmeBot = AdaBot('Acme' {
analyticsCallback: function(event) {
// Here is where you can forward this event to Adobe (or elsewhere)
console.log(event);
}
});
Event Data
The event object that gets passed to the analyticsCallback
function has the following format:
{
chatter_id: String,
session_id: String,
answer_name: String,
event_name: String,
authenticated: Boolean
}
For any additional questions, message your ACX Consultant, Account Manager, or email us at: help@ada.support
Comments
0 comments