satismeter-loader

1.1.0 • Public • Published

satismeter-loader

This is the SatisMeter snippet slightly modified to be a commonJS compatible module.

It's usable with module loaders like browserify or webpack.

Install

npm install satismeter-loader --save

Usage

var satismeter = require('satismeter-loader');
 
satismeter({
  writeKey: 'YOUR_WRITE_KEY',
  userId: '007',
  traits: {
    name: 'James Bond',
    licence: 'to kill',
    drink: 'Vesper Martini'
  }
});

Readme

Keywords

Package Sidebar

Install

npm i satismeter-loader

Weekly Downloads

468

Version

1.1.0

License

ISC

Last publish

Collaborators

  • jsedlacek