I have an ecommerce site, when customers complete a transaction we pass the Google analytics calls for
_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])