-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Improvements to Google Analytics 4 code #3342
Conversation
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
@empiricompany how did you open this PR with conflicts already? :-))) maybe you had an old branch? |
yes sorry now is aligned |
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
Co-authored-by: Mohamed ELIDRISSI <67818913+elidrissidev@users.noreply.github.com>
…gento-lts into ga4-improvement
Co-authored-by: Mohamed ELIDRISSI <67818913+elidrissidev@users.noreply.github.com>
See #3228 for more discussion as I identified wrong types we sent to Google. Apparantly Google auto-converts it someway to the backend and it didnt break anything. (ie. not sending "number" values but "string" values.) |
Unfortunately, a proper way to test it is to wait for 24 hours and hope that there are no bugs or misalignments on GA4, which is constantly changing. |
Not true. You can turn on debug view and see the data "coming in". I've tested that with numbers/string values and they came in both the same, hence my comment about "they get parsed before something". |
Yes, but for example, the 'amount' is not as you send it It's multiplied by 1000 or something like that, and I can tell you from experience that it doesn't help much. That's why I have set up the log on Magento to know exactly the JSON format sent in the data layer. |
Ready to approve if the new changes were tested. |
obviously for me that I am the author is tested but you can test it too |
Description (*)
This refactor some code, avoid notice (#3323) and fix quantity in purchase
Related Pull Requests
#3323