A Node.js client for Plainflow — The hassle-free way to integrate analytics into any application.
$ npm install plainflow
const Plainflow = require('plainflow');
const client = new Plainflow('secret key');
client.track({
event: 'event name',
userId: 'user id'
});
Documentation is available at https://www.plainflow.com/docs/developers/data-tracking-libraries/node.