We are using React Native Mixpanel Http Implementation to track events. We have hooked the events for navigation and button clicks that get triggered automatically.
When we tried to analyze user behavior using the Mixpanel Flows product, the events that occur almost together seems to be not in order sometimes.
Because of this, there were multiple flow paths created, whereas only one flow is the correct path
1) Some Events -> Navigated to Signup Screen -> Pressed Sign up -> Some Other Events
2) Some Events -> Pressed Sign up -> Navigated to Signup Screen -> Some Other Events
We referred https://developer.mixpanel.com/docs/http to attach the timestamp of the event but according to this, the events can only be tracked with seconds and not in milliseconds.
We were able to do a temporary solution by hiding one single event.
Is there any other method to maintain the event order integrity?
Best answer by stephanie
Thank you for providing this detailed feedback on capturing milliseconds for events that are fired. I completely agree and see the use case value of this.
Unfortunately, at this moment the time property on events are in seconds, not milliseconds. When looking at the raw data of the "time" it can look like 10:36:52:00, but the 00's at the end are placeholders.
For context, we have "mp_processing_time_ms" which is an event property which we have always tracked (and has always been viewable when you view events in JSON in JQL), however, only recently we surfaced it to be viewable in the UI. This is due to the fact that we have multiple users ask for it in the UI. mp_processing_time_ms is the time in milliseconds (in UTC, regardless of your project settings) when that event was ingested. It can be a very helpful property if you are importing / exporting data, or using our server side libraries. However, "time" is the time the event was fired.
I have gone ahead and logged a product gap on your behalf here with our Product and Engineering team. Please make sure to follow the Idea - via the Follow button on the right hand column, to get real time updates on it.