# jovo-analytics-dashbot

> > To view this page on the Jovo website, visit https://v3.jovo.tech/marketplace/jovo-analytics-dashbot

Latest version **3.6.2** (published 2022-07-28) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install jovo-analytics-dashbot
pnpm add jovo-analytics-dashbot
yarn add jovo-analytics-dashbot
bun add jovo-analytics-dashbot
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.6.2 |
| Published | 2022-07-28 |
| First published | 2018-12-01 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 52.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | jovotech |
| Maintainers | jovotech |

## Links

- npm: https://www.npmjs.com/package/jovo-analytics-dashbot
- npm.io page: https://npm.io/package/jovo-analytics-dashbot

## Dependencies (5)

- [dashbot](https://npm.io/package/dashbot.md) ^11.2.3
- [jovo-core](https://npm.io/package/jovo-core.md) ^3.6.1
- [lodash.get](https://npm.io/package/lodash.get.md) ^4.4.2
- [lodash.set](https://npm.io/package/lodash.set.md) ^4.3.2
- [lodash.merge](https://npm.io/package/lodash.merge.md) ^4.6.2

## Recent versions

- 3.6.2 (latest) — 2022-07-28
- 2.0.2 (beta) — 2018-12-20
- 2.0.1-alpha.13 (alpha) — 2018-12-10
- 3.6.1 — 2022-02-17
- 3.6.0 — 2021-11-18
- 3.5.3 — 2021-05-10
- 3.5.2 — 2021-03-26
- 3.5.1 — 2021-02-22
- 3.5.0 — 2021-02-22
- 3.4.1 — 2021-02-09
- 3.4.0 — 2021-02-04
- 3.3.1 — 2021-01-27
- 3.3.0 — 2020-12-03
- 3.2.5 — 2020-11-25
- 3.2.4 — 2020-11-25
- … 91 more at https://npm.io/package/jovo-analytics-dashbot/versions

## README

# Dashbot Analytics Integration

> To view this page on the Jovo website, visit https://v3.jovo.tech/marketplace/jovo-analytics-dashbot

Learn how to use Dashbot Analytics for your Alexa Skills and Google Actions built with Jovo.

* [About Dashbot](#about-dashbot)
* [Installation](#installation)
   * [Create a Dashbot Bot](#create-a-dashbot-bot)
   * [Enable Dashbot in Jovo](#enable-dashbot-in-jovo)


## About Dashbot

![Dashbot Website](./img/dashbot-home.jpg)

[Dashbot](https://www.dashbot.io/) 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](https://www.dashbot.io/voice) offering enables voice app developers to compare usage across Alexa Skills and Google Actions and see interaction flows and live transcripts.

## Installation

To use Dashbot Analytics for your voice app, you need to complete the following steps:

1. Create a Dashbot Bot
2. Enable Dashbot Analytics in your Jovo voice app
3. Download the dashbot npm package
4. Test your app

### Create a Dashbot Bot

1. Create a Dashbot account or log in at https://www.dashbot.io.

2. Click "Add a Bot" in the Admin panel:

![Dashbot Add a Bot](./img/dashbot-add-bot.jpg)
![Dashbot Add a Bot Step 2](./img/dashbot-add-bot2.jpg)

3. 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):

![Dashbot Select Platform](./img/dashbot-select-platform.jpg)

4. Copy API Key

![Dashbot Copy API Key](./img/dashbot-api-key.jpg)

### Enable Dashbot in Jovo

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:

```sh
$ npm install --save jovo-analytics-dashbot
```

Enable the plugin like this:

```javascript
// @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:

```javascript
// @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 Dashbot

Test your voice app, after a bit your session should appear in the Report section (data is updated hourly):

![Dashbot Test](./img/dashbot-test.jpg)

---
_Source: https://npm.io/package/jovo-analytics-dashbot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
