tracking-worker

1.6.185 • Public • Published

Trace Worker

This worker allows us to add tracking to our product in a provider agnostic way.

Currently it just sends events to Heap.

Sparrow api

sparrow.track(, {blob})

API /tr/:type

Where type is one of t, pv, c.

body: {
    identity: "sachin@cloudflare.com",
    identity_type: "<some string describing>",
    timestamp: Date.now(),
    event: <event_name>,
    properties: {blob}, <- may contain category in which case we'll log it in GA
}

Readme

Keywords

none

Package Sidebar

Install

npm i tracking-worker

Weekly Downloads

207

Version

1.6.185

License

ISC

Unpacked Size

245 kB

Total Files

19

Last publish

Collaborators

  • cf-ci-write