heapanalytics-client

0.0.2 • Public • Published

heapanalytics-client

Zero-dependency client for HEAP-analytics based on Fetch API

Usage

    $ npm install heapanalytics-client --save
import HeapClient from 'heapanalytics-client'
 
const heap = new HeapClient('123')
 
heap.track('user@example.com', 'event', {
    property: 'test',
}).then(() => {
    // ...
})
 

Readme

Keywords

Package Sidebar

Install

npm i heapanalytics-client

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • mikach