Skip to content

fleetio/metrics-closeio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metrics-closeio

A Close.io plugin for segmentio/metrics.

Installation

$ npm install metrics-closeio

Example

var Metrics = require('metrics');
var closeio = require('metrics-closeio');

new Metrics()
  .every('30m', closeio('apiKey'));

Metrics

The metrics exposed by this plugin are:

Number of leads created:

  • closeio leads created last week - in the last week
  • closeio leads created 2 weeks ago - in the week before the last

Number of opportunities created:

  • closeio opportunities created last week - in the last week
  • closeio opportunities created 2 weeks ago - in the week before the last

Active Opportunities:

  • closeio active opportunities total value - annualized total value
  • closeio active opportunities expected value - annualized expected value

By user:

  • closeio won opportunities value this month by user - total value of won opportunities this month
{
  "user_id_1": {
    name: "Bob",
    value: 42000
  },
  "user_id_2": {
    name: "Alice",
    value: 99000
  }
}

About

Visualize your Close.io activity on a dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published