Botframework-sdk: Bot Analytics Platforms

Created on 11 Jan 2017  Â·  17Comments  Â·  Source: microsoft/botframework-sdk

Would like to know more about available Bot Analytics platforms that are compatible with MSFT BF.

Most helpful comment

New update people, has any of you tried Chatbase from Google? for bot analytics. For the curious ones, HERE s an example on how to set it up but I swear man. I really hate the fact that you have to enter each dialog and add code. Really pollutes the bot s purposespace

All 17 comments

@alokraj68 you can check https://www.dashbot.io/

http://botanalytics.co/
https://bot-metrics.com/
https://dashbot.io/ i am using this one currently after trying the other 2, gotta say dashbot is awesome

@chetanmekha , @slidenerd the integration parts of this platform is a pain.

You people are using any of this?

I have tried botanalytics but wasnt able to do so, here s working code for bot metrics
'use strict';

    constants = require('./constants'),
    request = require('request');


let botmetrics = require('node-botmetrics')(constants.BOT_METRICS);

botmetrics.trackIncoming = function (userId, text, platform) {
    if (platform !== 'emulator') {
        botmetrics.track({
            text: text,
            message_type: 'incoming',
            user_id: userId,
            platform: platform
        });
    }
}

botmetrics.trackIncomingSession = function (session) {
    if (session.message.address.channelId !== 'emulator') {
        botmetrics.track({
            text: session.message.text,
            message_type: 'incoming',
            user_id: session.message.user.id,
            platform: session.message.address.channelId
        });
    }
}

botmetrics.trackOutgoing = function (userId, text, platform) {
    if (platform !== 'emulator') {
        botmetrics.track({
            text: text,
            message_type: 'outgoing',
            user_id: userId,
            platform: platform
        });
    }
}

module.exports = botmetrics;

UPDATE

I am using dashbot now and its truly awesome. It integrates directly with the bot framework
Just specify the app id, password and facebook page access token. havent set slack, kik, skype and the other one in the code below. it works like a charm

    connector = new builder.ChatConnector({
        appId: constants.APP_ID,
        appPassword: constants.APP_PASSWORD
    }),
    bot = new builder.UniversalBot(connector),
    // only include tokens for the platforms that you support
    dashbotApiMap = {
        facebook: constants.DASHBOT_API_KEY_FACEBOOK,
        slack: process.env.DASHBOT_API_KEY_SLACK,
        kik: process.env.DASHBOT_API_KEY_KIK,
        webchat: process.env.DASHBOT_API_KEY_GENERIC,
        skype: process.env.DASHBOT_API_KEY_GENERIC
    },
    dashbot = require('dashbot')(dashbotApiMap).microsoft,

@alokraj68 Did you try dashbot? Still have questions? I'll close the issue but feel free to reopen if you have follow ups!

@slidenerd , @carlosscastro I could not do the same because My bot framework nuget update ended up in crashing bot project. #2395

@alokraj68 If it isn't too late, please take a look at Ibex dashboard. Its built on top of Application Insights, so you'll need an Azure subscription.

To get analytics sent from your bot, you can use one of:

Also, take a look at this pre-recorded Build 2017 session which describes above dashboard in detail.

Already tried it, but bit hard to implement. and could not succeed the
deployment.

Thanks and Regards,

[image: Astro-Vision Future Tech] https://htmlsig.com/t/000001C1E7PD

Alok Rajasukumaran / Developer - Innovation Team
[email protected] / 00919995607654

Astro-Vision Future Tech
Kuthappadi, Thamannam, ErnakulamKerala, India - 682032
alokraj68.in

[image: Twitter] https://htmlsig.com/t/000001BVYZJE [image: Facebook]
https://htmlsig.com/t/000001BX9HG8 [image: Google +]
https://htmlsig.com/t/000001BV7H1J [image: LinkedIn]
https://htmlsig.com/t/000001C065D9 [image: Youtube]
https://htmlsig.com/t/000001C06RDJ [image: Github]
https://htmlsig.com/t/000001BYKTTT [image: Soundcloud]
https://htmlsig.com/t/000001BX996X [image: Stack Overflow]
https://htmlsig.com/t/000001BVE8RR

On 3 July 2017 at 03:26, Syed Hassaan Ahmed notifications@github.com
wrote:

@alokraj68 https://github.com/alokraj68 If it isn't too late, please
take a look at Ibex dashboard
https://github.com/CatalystCode/ibex-dashboard. Its built on top of Application
Insights
https://azure.microsoft.com/en-us/services/application-insights/, so
you'll need an Azure subscription.

To get analytics sent from your bot, you can use one of:

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BotBuilder/issues/2012#issuecomment-312519472,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIyDm3KRlDg61EB3-WOShMR8IrmCJie-ks5sKBIigaJpZM4LgSvu
.

aha .. May I ask if you tried with Node.js or C# version? Which specific part was hard to implement? What was the error/issue you faced during the deployment?

I was working with C# version of bot and node js version of IBEX, the
analytics was not connecting from my application insights.

Thanks and Regards,

[image: Astro-Vision Future Tech] https://htmlsig.com/t/000001C1E7PD

Alok Rajasukumaran / Developer - Innovation Team
[email protected] / 00919995607654

Astro-Vision Future Tech
Kuthappadi, Thamannam, ErnakulamKerala, India - 682032
alokraj68.in

[image: Twitter] https://htmlsig.com/t/000001BVYZJE [image: Facebook]
https://htmlsig.com/t/000001BX9HG8 [image: Google +]
https://htmlsig.com/t/000001BV7H1J [image: LinkedIn]
https://htmlsig.com/t/000001C065D9 [image: Youtube]
https://htmlsig.com/t/000001C06RDJ [image: Github]
https://htmlsig.com/t/000001BYKTTT [image: Soundcloud]
https://htmlsig.com/t/000001BX996X [image: Stack Overflow]
https://htmlsig.com/t/000001BVE8RR

On 3 July 2017 at 17:44, Syed Hassaan Ahmed notifications@github.com
wrote:

aha .. May I ask if you tried with Node.js or C# version? Which specific
part was hard to implement? What was the error/issue you faced during the
deployment?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BotBuilder/issues/2012#issuecomment-312629950,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIyDm7zrmqjJcBCYLEBgjse2VjA_i2K3ks5sKNs6gaJpZM4LgSvu
.

Ah right! .. As I mentioned above, C# instrumentation is a WIP .. We're tracking it here .. Hopefully it will resolve your issue once its done.

Wow, Thanks a lot @syedhassaanahmed am looking forward to it.

@slidenerd Can you share your project please. Thanks

Checked both https://bot-metrics.com/ and https://dashbot.io/ i and they only support nodejs for MSFT BF. Ibex dashboard looks really great as I saw on channel9 however I am looking for an option that doesn't involve App Insights yet because of its pricing. Are there other analytics platform for MSFT BF C#?

New update people, has any of you tried Chatbase from Google? for bot analytics. For the curious ones, HERE s an example on how to set it up but I swear man. I really hate the fact that you have to enter each dialog and add code. Really pollutes the bot s purposespace

Was this page helpful?
0 / 5 - 0 ratings