filum-node-sdk

0.2.4-react-native • Public • Published

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.

/filum-node-sdk/

    Package Sidebar

    Install

    npm i filum-node-sdk

    Weekly Downloads

    3

    Version

    0.2.4-react-native

    License

    MIT

    Unpacked Size

    27.7 kB

    Total Files

    8

    Last publish

    Collaborators

    • filum-bot
    • monmush