-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Edge case: page view and ecommerce conversion tracked in the same second create wrong visitEcommerceStatus #4909
Comments
There are two solutions to this bug:
|
After that last commit I think this should fix the issue. So #4910 is not necessary. |
see also #5966 |
sabl0r
pushed a commit
to sabl0r/piwik
that referenced
this issue
Sep 23, 2014
…s not NONE. This will prevent some occurrences of this bug, but not the case where visitEcommerceStatus == abandonedCart
sabl0r
pushed a commit
to sabl0r/piwik
that referenced
this issue
Sep 23, 2014
…s different from current value.
See also: #9916 It is not possible to record more than one conversion per second for the same visit |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After staring at the code for two hours, then getting good debug data, I figured the bug: if a page view is tracked at the same second as an ecommerce order, this pageview request may erase the visitEcommerceStatus flag.
Explanation:
This page view "reads" first the visit (which does not yet have "visitEcommerceStatus == ordered")
1b) the ecommerce is recorded and "visitEcommerceStatus == ordered" is set
2b) the pageview is recorded and "visitEcommerceStatus == none"
The text was updated successfully, but these errors were encountered: