Coder Social home page Coder Social logo

howdyai / botmetrics Goto Github PK

View Code? Open in Web Editor NEW
235.0 12.0 46.0 18.24 MB

Analytics and Engagement for Makers and Marketers of Chat and Voice bots

Home Page: https://www.getbotmetrics.com

License: Other

JavaScript 0.13% HTML 11.17% Shell 0.17% Ruby 76.57% CoffeeScript 3.12% CSS 1.96% PLpgSQL 6.88%

botmetrics's Introduction

Botmetrics

Botmetrics is the easy, secure, open-source way for you to measure and engage with your chat-bot users.

Botmetrics works natively with Messenger, Slack and Kik bots with support for other messaging platforms coming soon.

CircleCI

Deploy

Analytics

With Botmetrics, you can get analytics for your bot with very little code, and native SDKs available in

Metrics

Insights

You can gain more insight into the users using your bot and perform sophisticated queries to find out who they are.

Analyze

Notifications

You can gain more insight into the users using your bot and send then re-engagement notifications based on pre-selected criteria.

Notifications

Installation

Updating your Installation

Development

  1. cp .env-example .env
  2. Start Redis & Postgres (there's a ./script/redis and ./script/dbstart command that lets you do this easily)
  3. Run ./script/dbreset to reset the database (creates a new one, loads schema and runs rake db:seed)
  4. Run ./script/server to start the server
  5. Visit localhost:3000

Contributing

Wiki

Extra information can be found in the wiki.

Roadmap

The Botmetrics Roadmap can be seen here.

CircleCI

CircleCI

Stay Connected

Follow Botmetrics on Twitter to get the latest updates.

Read the Botmetrics Blog for more How tos, success stories and more.

botmetrics's People

Contributors

arunthampi avatar juanitofatas avatar mwarkentin avatar sandeep avatar vlad-shevtsov-mev avatar winston avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

botmetrics's Issues

Extend bot user enrichment

Currently the user enrichment endpoint only supports updating the timezone attribute of the user. It would be great if we could retroactively extend this endpoint to include user attributes such as first_name, last_name, email, ref, and gender

Remove unneeded gems

There are a few gems that are no longer being used or needed in the Gemfile.

Let's 86 those punks!

Update Readme

Hi!
There are a few things I found that weren't exactly following from the Readme.
For e.g, I didn't realize database.yml.example also had to be copied the same as .env-example

I would like to take this up if it's alright. ๐Ÿ˜„

Support for Web Chat Bots

Does Botmetrics support web chat bots? If so how to enable them?

I have deployed the open-source botmerics server and could not find option to enable it.

Transcripts not available in repo

The transcripts functionality seems to be missing from the repo version as opposed to the getbotmetrics.com version

Is this something that will be available?

Add ability to edit access token

I accidently changed access token for my bot and now i lose the ability to use notification ( it's using invalid access token )

Add Rollbar configuration

Since the default (free) exception tracker is Rollbar, we need to make sure Rollbar is correctly configured

Allow Link Tracking

Currently, botmakers do not have a way to know when links are clicked by users in the chat window. We can provide link click analytics by wrapping the link and redirecting the user.
This will be helpful in understanding user link click conversions.

Must:

  • Track link + bot_id + user_id (per bot)
  • Use existing event architecture

NIce to Have:

  • Shortened Links

ArgumentError while adding Team member

I get an error from devise when adding a new team member:

Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true
Extracted source (around line #3):              
<p><%= t("devise.mailer.invitation_instructions.hello", email: @resource.full_name) %></p>

<p><%= t("devise.mailer.invitation_instructions.someone_invited_you", url: root_url, inviter: @resource.invited_by.full_name) %></p>

<p><%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, :invitation_token => @token) %></p>

app/views/devise/mailer/invitation_instructions.html.erb:3:in `_app_views_devise_mailer_invitation_instructions_html_erb__455187421660232892_69842160299940'
app/controllers/invitations_controller.rb:38:in `add_to_bot!'
app/controllers/invitations_controller.rb:13:in `block in create'
app/controllers/invitations_controller.rb:12:in `create'

Could we set this up during sign up when the app asks for the domain?

Show zero percent growth instead of infinite

When there is no previous data Inf% is displayed. Displaying 0% might be a more user friendly metric.

screen shot 2016-09-29 at 2 30 24 pm

Possible solution in /app/lib/growth_calculator.rb

def call
  previous, current = values[position-1..position]

  return nil if current == 0

  growth = (current - previous).to_f / previous
  growth = 0.0 if growth.infinite?
  growth
end

Add support for "per-hour" views on dashboards

Users can currently view graphs for metrics on a per day basis.
Some users need finer granularity within a day.

Must:
Users should be able to view all graphs on a hourly basis.

Should:
TIme should be users local time

May:
Provide finer grained detail than an hour

Add uid to Events

This will represent a unique event

  • In the case of Slack this will combination of channel_id + timestamp
  • In the case of Facebook, this will be mid + seq
  • In the case of Kik, this will be chat_id

Can't verify CSRF token authenticity

Hello everyone,

I'm deploying Botmetrics api on a private server, so I change the API ENV URL, but when I track POST calls I get :
Started POST "/bots/68fd2d3060ad/events" for 54.161.121.186 at 2016-09-30 10:31:44 +0000 10:31:44 web.1 | Processing by EventsController#create as JSON 10:31:44 web.1 | Parameters: {"event"=>"{\"object\":\"page\",\"entry\":[{\"id\":\"145584749232568\",\"time\":1475231503927,\"messaging\":[{\"sender\":{\"id\":\"1158741300867145\"},\"recipient\":{\"id\":\"145584749232568\"},\"timestamp\":0,\"delivery\":{\"mids\":[\"mid.1475231503541:f9d95116dbe82db360\"],\"watermark\":1475231503673,\"seq\":341}}]}]}", "bot_id"=>"68fd2d3060ad"} 10:31:44 web.1 | Can't verify CSRF token authenticity 10:31:44 web.1 | Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)

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.