tamme-node-analytics
v1.0.6
Published
A package for publishing events to the analytics engine of tamme.io
Downloads
4
Readme
TAMME NODE ANALYTICS
Initialising the library:
var tamme = require('tamme-node-analytics')(<<WRITE_KEY>>)
Tracking an event:
tamme.track(<<IDENTITY_ID>>, <<EVENT_NAME>>, <<EVENT_PROPERTIES>>)
Identifying a user:
tamme.identify(<<IDENTITY_ID>>, <<IDENTIFY_PROPERTIES>>)
Aliasing a user:
tamme.alias(<<NEW_ID>>, <<OLD_ID>>)
Flushing events:
tamme.flush()