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

time_event not restarting timer and no clearTimedEvent like in iPhone mixpanel

Open voidiker66 opened this issue 6 years ago • 0 comments

https://github.com/mixpanel/mixpanel-iphone/issues/642 Coming from the iPhone issue, which had the solution to the iPhone version of my problem, but does not exist in JavaScript.

I am using JavaScript and I am trying to restart the timer of a previous time_event by calling mixpanel.time_event('event_name'), but the timer is not resetting. I am also looking for the docs on clearTimedEvents, but it looks like this does not exist for JavaScript. Any pointers?

I am trying to time how long it takes users to complete the verification process on a webpage, of which there are multiple paths the user can take because of multiple verification methods. I am attempting to call time_event on all possible events the user could trigger after triggering any one of the events. I do this because time_event should be restarting the timer if the event is not tracked.

However, the timer is not being reset and there appears to be no way to clear event timers manually.

voidiker66 avatar Sep 28 '18 20:09 voidiker66