Coder Social home page Coder Social logo

botkit-studio-metrics's Introduction

Botkit Studio Advanced Analytics

This module enables the advanced analytics and extended metrics available in Botkit Studio.

To enable these features in a Botkit Studio-powered app, install this module with npm, and add it to your Botkit code. This will enable your app to send metrics data to the Botkit Studio APIs.

npm install --save botkit-studio-metrics

Add the following to your code AFTER you initialize your Botkit controller:

var controller = Botkit.slackbot();
require('botkit-studio-metrics')(controller);

More information about using Botkit Studio analytics tools can be found here

Options

Enable debug output:

require('botkit-studio-metrics')(controller, {debug: true});

By default, this module will only send user profile and bot instance information the first time an event is received. To update this information every time an event is received, include the always_update option:

require('botkit-studio-metrics')(controller,{always_update: true});

Data collection

With this module installed and enabled, your Botkit application will automatically send a copy of any message your bot sends or receives to Botkit Studio's analytics API, as well as user profile information and information about each bot instance.

Where applicable, ensure that your terms of service and privacy policy reflect this data collection.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.