10-26-2020 11:23 AM - edited 10-26-2020 11:58 AM
Hi! We upgraded to Gtag.js recently and the Enhanced Ecommerce events are not firing. On the Tealium Utag Debugger the utag.link is seen but in the GTM/GA Debug extension the Enhanced Ecommerce events are not seen firing. Analytics is also not capturing the events. Here is the 'Add to Cart' Enhanced Ecom event that was working fine in the earlier version of GA but not in Gtag.js.
"AddToCartAction" : "TriggerAddToCart", // enhanced e-commerce action
"product_id ": utag.data.product_id, // product id
"product_sku": utag.data.product_sku, // product sku
"product_list_price" :utag.data.product_unit_price, // product price
"prod_quantity": [product_temp_quantity] // product quantity
All the values are populated as seen in logs before this statement. Is any customising required in the template? Analytics has 'Enhanced Ecommerce Reporting' set to On. The regular non-ENH events are firing fine. Will appreciate any pointers. Thank you!
you will need to map the event to the action.
map AddToCartAction and the corresponding value to the Event trigger for Add to Cart
The value shuold be entered in the trigger box