While I've pretty much got the javascript side of the event data tracking figured out (for the order data), now I've come upon a new (to me) twist in the noscript img event data. In the javascript version it was "easy" to figure out where the <mvt:foreach iterator="item" array="order:items"> went to create something like this
I am clueless how to place it here:
(easier to read with a little whitespace that has to be removed):
I figure at the very least some sort of counter is needed.
Okay, one question that does relate to both tags - is there a Miva token for the total quantity of items ordered? In the case of this example it would be 2 (one of each).
Code:
line_items: [ { product_name: 'Pillows (Set of 2)' , product_id: '11' , product_price: 48.00 , product_quantity: 1 }, { product_name: 'Pillows, Large (Set of 2)' , product_id: '15' , product_price: 68.00 , product_quantity: 1 } ]
Code:
USD&ed[line_items][0][product_name]=Parker+Boots&ed[line_items][0][product_id]='1414'&ed[line_items][0][product_price]=5.00&ed[line_items][0][product_quantity]=1&ed[line_items][1][product_name]=Parker+Sandals&ed[line_items][1][product_id]='ABC'&ed[line_items][1][product_price]=5.00&ed[line_items][1][product_quantity]=1
Code:
&ed[line_items][0][product_name]=Parker+Boots &ed[line_items][0][product_id]='1414' &ed[line_items][0][product_price]=5.00 &ed[line_items][0][product_quantity]=1 &ed[line_items][1][product_name]=Parker+Sandals &ed[line_items][1][product_id]='ABC' &ed[line_items][1][product_price]=5.00 &ed[line_items][1][product_quantity]=1
Okay, one question that does relate to both tags - is there a Miva token for the total quantity of items ordered? In the case of this example it would be 2 (one of each).
Comment