-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events logged in close succession sometimes get logged in the wrong order. #152
Comments
@makaroffandrey are you saying that the raw |
@djih I am saying that both
as a timestamp, and noticed that this time is displayed as |
@makaroffandrey apologies for the slow response. Here is a help article explaining how we compute the final event |
@djih Hey Im facing a similar issue, Please check the client event time in the below images in the above screenshots you can see that start session is happening first and view tasks is happening later as per client event time but the order in which events are shown is not correct. Can u guys come up with a fix for this ? |
Have the same issue.. there are any workarounds? |
We have same problem. Any news here? |
Facing with same issue. Is anyone have workarounds? |
@NaikSoftware @itruf @Null45 if you guys have CSMs you can reach out to them. There's a feature flag we can enable for you that will strictly order events based on event id instead of timestamp. |
Setup
Android,
implementation 'com.amplitude:android-sdk:2.15.0'
inbuild.gradle
Two activities:
FirstActivity
andSecondActivity
.FirstActivity
has a button that opensSecondActivity
Thee events:
FirstActivity opened
logged inFirstActivity.onCreate()
FirstActivity button pressed
logged inOnClickListener.OnClick()
that is set to the button inFirstActivity
SecondActivity opened
logged inSecondActivity.onCreate()
What is wrong
On https://analytics.amplitude.com
SecondActivity opened
sometimes appears beforeFirstActivity button pressed
.Example:
This complicates funnel analysis on funnels that depend on the order of events.
Setting
enableLogging(true).setLogLevel(Log.VERBOSE)
shows these events being logged in correct orderOn the website these events have
"client_event_time"
and"event_id"
values indicate correct order."_time"
and"event_time"
values indicate incorrect order.Increasing the time between events by logging in
onResume()
instead ofonCreate()
does not help.I will publish an MCVE shortly.
Edit
MCVE is here
The text was updated successfully, but these errors were encountered: