-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Google Analytics isAnonymizedIpActive always true #21292
Comments
Hi @apomili. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @apomili do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
@magento-engcom-team give me 2.3-develop instance |
Hi @engcom-backlog-nazar. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
Hi @engcom-backlog-nazar, here is your Magento instance. |
Hi @apomili thank you for you report, i'm not able to reproduce following steps you described, on clean magento 2.3-develop instance |
The variable in ga.phtml is passed correcty, but when is checked in the file google-analitycs .js
the condition is always true |
✅ Confirmed by @Nazar65 |
✅ Confirmed by @engcom-backlog-nazar Issue Available: @engcom-backlog-nazar, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi @apomili. Thank you for your report.
The fix will be available with the upcoming 2.3.2 release. |
Preconditions (*)
1 - Magento ver. 2.2.7 (and below, I suppose)
2 - Google Analycs correctly activated and Anonymize Ip turned to off.
Steps to reproduce (*)
1 - Install and activate GA Debbugger chrome extension
2 - Open the chrome console and browse the shop
Expected result (*)
GA set with no ip anon
Actual result (*)
Running command: ga("set", "anonymizeIp", true)
The bug seems to be in the file google-analytics.js on the google-analytic module.
On the line 51 the condition is always verified cause config.pageTrackingData.isAnonymizedIpActive is a string
The text was updated successfully, but these errors were encountered: