0.0.2 • Published 8 years ago
heapanalytics-client v0.0.2
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(() => {
// ...
})