Learn how to use Botanalytics for your Alexa Skills and Google Actions built with Jovo.
Botanalytics is a conversational analytics platform that supports a variety of channels, like Facebook Messenger, Slack, Kik, Twitter, Telegram, and more.
Botanalytics Voice Analytics offering allows you to see live transcopts, track performance across channels, and do intent analysis for your voice apps on Amazon Alexa and Google Assistant.
To use Botanalytics for your voice app, you need to complete the following steps:
- Add a New Bot
- Enable Bot in Your Voice App
- Download the 'botanalytics' npm Package
- Check Your App
-
Create a Botanalytics account or log in at https://www.botanalytics.co.
-
Click "Add a New Bot" and fill in the information:
- Scroll down and copy the API Key
To add Botanalytics 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-botanalytics
Enable the plugin like this:
// @language=javascript
// src/app.js
const { BotanalyticsAlexa, BotanalyticsAssistant } = require('jovo-analytics-botanalytics');
app.use(
new BotanalyticsAlexa(),
new BotanalyticsGoogleAssistant()
);
// @language=typescript
// src/app.ts
import { BotanalyticsAlexa, BotanalyticsAssistant } from 'jovo-analytics-botanalytics';
app.use(
new BotanalyticsAlexa(),
new BotanalyticsGoogleAssistant()
);
Add configurations like this:
// @language=javascript
// src/config.js
module.exports = {
analytics: {
BotanalyticsAlexa: {
key: '<key>',
},
BotanalyticsGoogleAssistant: {
key: '<key>',
},
},
// ...
};
// @language=typescript
// src/config.ts
const config = {
analytics: {
BotanalyticsAlexa: {
key: '<key>',
},
BotanalyticsGoogleAssistant: {
key: '<key>',
},
},
// ...
};
Test your voice app, after sending couple of messages, click the 'Check connection' button