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(() => {
    // ...
})
 

/heapanalytics-client/

    Package Sidebar

    Install

    npm i heapanalytics-client

    Weekly Downloads

    2

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • mikach