Skip to content

glesperance/node-kissmetrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-kissmetrics

A KISSmetrics library for node.js

Usage

Basically, you simply create a new KM Client instance,

var kissmetrics = require('kissmetrics')
var kmClient = new kissmetrics({ key: KM_KEY });

and then issue commands using the provided methods,e.g.:

// Creating an alias
kmClient.alias(km_ai_decoded || identity, [username, email], callback);

// Recording an event
kmClient.record(km_ai_decoded || identity, 'signed up', callback);

etc.

For more information / documentation on how to use the methods, I suggest you take a look at the source code ; all the methods are accompanied by proper jsDocs.

About

A KISSmetrics library for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published