Learn how to use Dashbot Analytics for your Alexa Skills and Google Actions built with Jovo.
Dashbot is an analytics tool for both text-based bots (Facebook Messenger, Slack, Kik, Twitter) and voice apps (Amazon Alexa, Google Assistant).
The Dashbot Voice Analytics offering enables voice app developers to compare usage across Alexa Skills and Google Actions and see interaction flows and live transcripts.
To use Dashbot Analytics for your voice app, you need to complete the following steps:
- Create a Dashbot Bot
- Enable Dashbot Analytics in your Jovo voice app
- Download the dashbot npm package
- Test your app
-
Create a Dashbot account or log in at https://www.dashbot.io.
-
Click "Add a Bot" in the Admin panel:
- Select the right Platform: Alexa for Alexa Skills, or Google for Google Actions (if you are developing for both Amazon Alexa and Google Assistant, please create 2 distinct Dashbot Bots):
- Copy API Key
To add Dashbot Analytics to your voice app, do the following:
- Download the npm package
- Enable the plugin in
app.js
- Add configurations in
config.js
First, download the npm package:
$ npm install --save jovo-analytics-dashbot
Enable the plugin like this:
// @language=javascript
// src/app.js
const { DashbotAlexa, DashbotGoogleAssistant } = require('jovo-analytics-dashbot');
app.use(
new DashbotAlexa(),
new DashbotGoogleAssistant()
);
// @language=typescript
// src/app.ts
import { DashbotAlexa, DashbotGoogleAssistant } from 'jovo-analytics-dashbot';
app.use(
new DashbotAlexa(),
new DashbotGoogleAssistant()
);
Add configurations like this:
// @language=javascript
// src/config.js
module.exports = {
analytics: {
DashbotAlexa: {
key: '<key>',
},
DashbotGoogleAssistant: {
key: '<key>',
},
},
// ...
};
// @language=typescript
// src/config.ts
const config = {
analytics: {
DashbotAlexa: {
key: '<key>',
},
DashbotGoogleAssistant: {
key: '<key>',
},
},
// ...
};
Test your voice app, after a bit your session should appear in the Report section (data is updated hourly):