tracking-worker
v1.6.185
Published
Using workers for user tracking
Downloads
762
Readme
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: "[email protected]",
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
}