Google Tag Manager is a user-friendly, yet powerful and cost-effective solution that is a must-have integration for every Magento store. It simplifies the process of adding and managing third-party JavaScript tags. With dozens of custom events and hundreds of data points our extensions the #1 GTM solution for Magento.
The module obviously renders several blocks for tracking purposes. One of those blocks is rendered after a successful checkout. However, rendering this block removes last quote and last order information from the checkout session.
Magento 2.4.6 Enterprise now has new Google modules, amongst them also for GTM. This module tries to render a block at the same location and is dependant on these session values, which are no longer there.
Expected behavior:
The checkout session stays in tact.
Actual behavior:
The checkout session loses information about last quote and last order.
The module obviously renders several blocks for tracking purposes. One of those blocks is rendered after a successful checkout. However, rendering this block removes last quote and last order information from the checkout session.
Magento 2.4.6 Enterprise now has new Google modules, amongst them also for GTM. This module tries to render a block at the same location and is dependant on these session values, which are no longer there.
Expected behavior:
The checkout session stays in tact.
Actual behavior:
The checkout session loses information about last quote and last order.
Steps to reproduce: