-
Notifications
You must be signed in to change notification settings - Fork 21
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
Sends only half Ecommerce transactions #4
Comments
@poma would you mind sharing the request log? Setting the If you're seeing everything transmitted, I'm wondering if the bug is related to GA throttling the hits or somehow misinterpreting them. If you can provide the request log, I'd be interested to review and see if I can replicate the issue. Thanks! |
Here is a example code that sends data through backend and mirrors it with JavaSript. It also logs all sent transactions. All transactions are sent through JS successfully but only part of them are successfully sent with PHP. Also user id tracking doesn't work. If you go to transactions tab in analytics and select 'Source' as a secondary dimension all transactions reported by backend will show up as '(direct)' although they are reported with the same userId as frontend ones. update: I ran this test from localhost so that if any problems are caused by throttling they will affect both JS and PHP side.
|
@poma can you also clarify the effect you're seeing? Are you missing entire transactions, or are the transactions partially reported (i.e. some items and not others)? |
@poma FYI I've run 12 tests this morning and have been unable to reproduce any issues with the test code you provided. I've tried some against master, as well as with a patch (soon to be in testing branch) to provide the a Tracker->flush() method. Both are reporting accurately in my tests. |
I looked through the code of universal analytics and haven't spotted that those are added automatically for ecommerce tracking. I'm also not usre if I should use commands like UPDATE:
|
@aboritskiy the Could you re-test, after removing your last |
Doesn't seem to work properly and sends only half of data. In javascript everything works fine. I use it like this:
tcpdump shows that all requests are actually sent to analytics server so I don't know what is happening. Any ideas?
The text was updated successfully, but these errors were encountered: