1. Install the StatHat npm module:
$ npm install stathat
2. Include the module in your code:
var stathat = require('stathat');
3. Make calls to StatHat. You do not need to create the stats first using the web interface.
stathat.trackEZCount("YOUR_EZKEY", "messages sent - female to male", 1,
    function(status, json) {});
4. Go to the stats page to see your stats!

© 2011-2017 Numerotron Inc