How do I get values from an array of objects and store them in a variable?
In this case, I wanted to get the values of id
.
Ex: id = 1234,4586
These id
s are dynamic data. Ex: an e-commerce site - a user adds a product to the cart, and it generates this new product id
I use a platform called Vtex, which does not accept scripts on the cart page. It has to be everything via Google Tag Manager. Does anyone know how to do this?