heapanalytics-client
v0.0.2
Published
Zero-dependency client for HEAP-analytics based on Fetch API
Downloads
4
Readme
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('[email protected]', 'event', {
property: 'test',
}).then(() => {
// ...
})