A Node.js client for Filum
$ npm install --save filum-node-sdkconst Analytics = require('filum-node-sdk');
const client = new Analytics('write key');
client.track({
user_id: 'User ID Example',
event_name: 'Item Purchased',
event_params: {
name: "Testing item",
stock: 10,
price: 11.5
}
});You can refer to the example repo here
Released under the MIT license.