Open rafaelstz opened 1 year ago
Hi @rafaelstz. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
Description
I suggest running GA and GTM following Google's best practices, which follow the latest international privacy rules such as GDPR, LGPD, CCPA, etc.
The method allows GTM and GA4 to run privately until the user's cookies consent. It will make GA4 and GTM run in privacy mode and block only GTM's scripts that need consent. It will allow us to show options and let the customer decide which cookies they want to accept, such as necessary, analytics, preferences, and marketing.
This method has been used by third-party vendors such as OneTrust, Osano, Cookiebot, Cookie Yes, Didomi... It can be easily applied to Magento / Adobe Commerce to facilitate the usage of the native cookie consent feature.
This is what Google's best practices say about running GA and GTM.
Expected behavior
Benefits
Additional information
Learn more about consent mode → https://support.google.com/analytics/... Check out the demo code for this series → https://github.com/googleanalytics/ga... Youtube Set up consent mode in Google Analytics → https://www.youtube.com/...
Release note
No response