0.0
No commit activity in last 3 years
No release in over 3 years
a mixpanl plugin for lita chat-bot
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

 Project Readme

lita-mixpanel

lita-mixpanel is a handler for Lita that provides current KPI information from mixpanel

Installation

Add lita-mixpanel to your Lita instance's Gemfile:

gem "lita-mixpanel"

Configuration

This plugin requires a working mixpanel account & api_key & api_secret. FUNNEL_ID can be obtained from the mixpanel dashboard (see id url). FUNNEL_NAME is arbitrary and for display purpuses only.

  config.handlers.mixpanel.api_key = 'MIXPANEL_API_KEY'
  config.handlers.mixpanel.api_secret = 'MIXPANEL_API_SECRET'
  config.handlers.mixpanel.funnels = {
    "FUNNEL_ID" =>"FUNNEL_NAME",
  }

Usage

Lita: mixpanel funnels

---
Funnel performance for: FUNNEL_NAME
2015-06-12 CR=2.26%   8/354
2015-06-13 CR=3.88%   19/490
2015-06-14 CR=2.61%   17/651
2015-06-15 CR=2.61%   21/804
2015-06-16 CR=4.58%   28/611
2015-06-17 CR=2.44%   11/450
2015-06-18 CR=4.49%   12/267
2015-06-19 CR=0.00%   0/13 <- today
--------------------
TOTAL      CR=3.19%   116/3640

License

MIT