Mobile app version of vmapp.org
Login or Join
Reiling115

: Are the list of products being purchased required for the Google Analytics enhanced eCommerce checkout step? I want to push checkout step data dynamically to GA Enhanced Ecommerce (after each

@Reiling115

Posted in: #Ecommerce #EnhancedEcommerce #Google #GoogleAnalytics #GoogleTagManager

I want to push checkout step data dynamically to GA Enhanced Ecommerce (after each AJAX step progression), but I don't currently have access to the array of products in the cart. I have the step push working fine, but am wondering if I actually need the product data for each step push? The products are already being pushed once (at the cart then success states), so before I try to integrate them I thought I'd check first.

E.g instead of this below, can I just push the event with actionField etc:

dataLayer.push({
"event":"checkout",
"ecommerce":{
"checkout":{
"actionField":{
"step":""
},
"products":[
{
"sku":"99999",
"name":"Bue Jacket",
"price":"99.0000",
"priceexcludingtax":"79.20",
"tax":"19.80",
"taxrate":20,
"type":"configurable",
"category":"1841",
"quantity":1
}
]
}
}

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Reiling115

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme