from the PrestaShop Addons Marketplace.
Enable or disable the following ecommerce events as needed:
view_item_list
view_item
add_to_cart
remove_from_cart
view_cart
begin_checkout
purchase
You can further customize which data layer variables are sent for each event.
If you use caching, clear the cache.
Go to Advanced Settings → Performance → Empty Cache.
Enable Debug Mode in the add-on settings to output the data layer to your browser’s console for inspection.
Open your store in another browser tab and use Google Tag Manager Preview mode to verify that events are firing and data is structured correctly.