Learn how to use Bespoken Analytics for your Alexa Skills and Google Actions built with Jovo.
Bespoken offers monitoring and testing tools for voice apps, including a command line interface, logging, and unit testing.
With the Bespoken Analytics integration for Jovo, you can get access to logging and monitoring features for your Alexa Skills and Google Actions.
To use Bespoken Analytics for your voice app, you need to complete the following steps:
- Create a Bespoken Dashboard account
- Enable Bespoken Analytics in your Jovo voice app
- Test your app
-
Create a Bespoken account or log in at https://apps.bespoken.io/dashboard/.
-
Click the plus sign on the Home page:
To add Bespoken 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-bespoken
Enable the plugin like this:
// @language=javascript
// src/app.js
const { BespokenAlexa, BespokenGoogleAssistant } = require('jovo-analytics-bespoken');
app.use(
new BespokenAlexa(),
new BespokenGoogleAssistant()
);
// @language=typescript
// src/app.ts
import { BespokenAlexa, BespokenGoogleAssistant } from 'jovo-analytics-bespoken';
app.use(
new BespokenAlexa(),
new BespokenGoogleAssistant()
);
Add configurations like this:
// @language=javascript
// src/config.js
module.exports = {
analytics: {
BespokenAlexa: {
key: '<key>',
},
BespokenGoogleAssistant: {
key: '<key>',
},
},
// ...
};
// @language=typescript
// src/config.ts
const config = {
analytics: {
BespokenAlexa: {
key: '<key>',
},
BespokenGoogleAssistant: {
key: '<key>',
},
},
// ...
};
Test your voice app, after a bit your session should appear in the created skill.