0.2.4-react-native • Published 3 years ago

filum-node-sdk v0.2.4-react-native

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

analytics-node

A Node.js client for Filum

Installation

$ npm install --save filum-node-sdk

Usage

const 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

License

Released under the MIT license.