I tried to save a javascript array or javascript object in a data element in DTM, but it does not work. It just translates it to an encoded string.
Is there a way to make this work?
If not, how am I supposed to populate data of a dynamic size, for example an array of each item in the cart, with individual attributes (name, price, quantity), for each one?
I have a PIWIK script that is expecting this on the confirmation page.
I can collect and save this data to a js object on my page, but I am not able to successfully use this data in DTM.