Highlighted

Enhanced Ecom events not firing after upgrading from GA to Gtag.js

Gold Contributor
Gold Contributor

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.  

utag.link({
"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!

6 REPLIES 6
Highlighted

Enhanced Ecom events not firing after upgrading from GA to Gtag.js

Tealium Expert
Tealium Expert

Hi @sujani_koya 

 

you will need to map the event to the action. 

map AddToCartAction and the corresponding value to the Event trigger for Add to Cart

add to cart.png

The value shuold be entered in the trigger box

Research your Experience | Improve and Evolve | Leave no one behind
- Don't forget to mark a solution as accepted if it hits the mark -
Highlighted

Enhanced Ecom events not firing after upgrading from GA to Gtag.js

Gold Contributor
Gold Contributor

image.png

The mapping is set like this.  Are any changes needed?

Highlighted

Enhanced Ecom events not firing after upgrading from GA to Gtag.js

Tealium Expert
Tealium Expert
looks ok, is it working?
Research your Experience | Improve and Evolve | Leave no one behind
- Don't forget to mark a solution as accepted if it hits the mark -
Highlighted

Enhanced Ecom events not firing after upgrading from GA to Gtag.js

Gold Contributor
Gold Contributor

It is not!  Looks like template-level changes are required.  Has everyone had a smooth transition from GUA to Gtag wrt Enhanced Ecom events?

Highlighted

Enhanced Ecom events not firing after upgrading from GA to Gtag.js

Gold Contributor
Gold Contributor

Hi @sujani_koya ,

Try deleting the mapping and re-add it.  

add_to_cart.JPG

Thanks,

VJ

Its Not Who I am Underneath, but What I Do That Defines Me
Highlighted

Enhanced Ecom events not firing after upgrading from GA to Gtag.js

Tealium Expert
Tealium Expert

Yes, i've not had any major or insurmountable obstacles.

Research your Experience | Improve and Evolve | Leave no one behind
- Don't forget to mark a solution as accepted if it hits the mark -