: Google Analytics - additem for multiple skus in one call I have an ecommerce site, when customers complete a transaction we pass the Google analytics calls for _addTrans and _addItem The _addItem
I have an ecommerce site, when customers complete a transaction we pass the Google analytics calls for _addTrans and _addItem
The _addItem call is made individually for each item ordered, so if a customer ordered 5 items there will be 5 calls made.
However if a customer orders a large number of items, because each item is called individually on the thankyou page, there is a high chance the customer will navigate away from the page before all the calls to GA have been made.
Does anyone know if it is possible to send all items ordered in one _addItem call to GA using an array and matched pairs?
for example if a customer orders 2 items the call could look something like
_addItem(transactionId, sku, name, category, price, quantity)
_addItem([id1,id2], [sku1,sku2], [prod1,prod2], [cat1,cat2], [2,3], [1,2])
More posts by @Hamaas447
1 Comments
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.