Skip to content

Filum-AI/analytics-node

 
 

Repository files navigation

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.

About

A NodeJS library to integrate with Filum BDP

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 96.8%
  • Shell 2.9%
  • Makefile 0.3%