mixpanel-node icon indicating copy to clipboard operation
mixpanel-node copied to clipboard

Adding explicit support for timed events

Open tobiasc opened this issue 8 years ago • 1 comments

In the javascript API I can call time_event (https://mixpanel.com/help/reference/javascript-full-api-reference#mixpanel.time_event), but the node API does not have this. Could this be added?

As a work-around I'm calculating the duration manually + added the $duration property to the track event. Based on the logic found here: https://github.com/mixpanel/mixpanel-js/blob/master/src/mixpanel-core.js#L1068

tobiasc avatar Oct 10 '17 23:10 tobiasc

Bumping this since there has been no activity

alekplay avatar Apr 23 '19 20:04 alekplay