Open Pacu2 opened 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Update: Google Tag Manager is bundled with storefront and can be used if GTM_ID
is set in environment. It just adds snipped to the webpage, no further integration yet.
I hope for adding enhanced ecomm in upcoming months, the idea is to make it integrated with SDK and and use lots of events. This way adjusting for other analytics will be easy to add.
We should add a documentation page on how to setup GTM.
There's a chat on the topic of how to set the variable.
We should have support for Google Analytics by default. I imagine that as data-driven e-commerce, we would like to track as much as possible, that's including:
[ ] Page tracking https://developers.google.com/analytics/devguides/collection/analyticsjs/pages https://developers.google.com/analytics/devguides/collection/analyticsjs/single-page-applications
[ ] All of the enhanced e-commerce https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce
This tracking should be easily expandable if, for example, I want to add some custom tracking next to Google Analytics.