voxa-dashbot
v2.1.0
Published
Integrate Dashbot analytics into your Alexa apps using the voxa framework
Downloads
37
Readme
Voxa Dashbot for Alexa Skills and Google Actions
A Dashbot plugin for building Alexa Skills and Google Actions with voxa
Installation
Just install from npm
npm install --save voxa-dashbot
Usage
const { VoxaApp } = require("voxa");
const voxaDashbot = require("voxa-dashbot").register;
const voxaApp = new VoxaApp(voxaOptions);
const dashbotConfig = {
alexa: "<dashbot api_key>", // to track Alexa requests
botframework: "<dashbot api_key>", // to track botframework requests
debug: true, // to print dashbot package logs
dialogflow: "<dashbot api_key>", // to track dialogflow requests
ignoreUsers: [], // a list of users to ignore, it can also be a regex
printErrors: true, // used by dashbot package to print any errors
redact: true, // removes personally identifiable information using redact-pii
timeout: 5000, // timeouts dashbot requests after given milliseconds
suppressSending: false // A flag to supress sending hits.
};
voxaDashbot(voxaApp, dashbotConfig);