I am mapping my product name variable which is an array as a merchandising eVar into adobe. However, some product names have a comma in them. This is breaking the product sting. e.g. datalayer.product_name = ["gold necklace, 24k", "gold bracelet, 14k"]. In adobe the following comes through Products : #1 Product : 122283 Quantity : 1 Price : 19.99 Events : event3=19.99|event4=19.99 eVars : eVar30=2164308 eVar31=gold necklace #2 Product : 24k #3 Product : 1224443 Quantity : 1 Price : 119.99 Events : event3=19.99|event4=19.99 eVars : eVar30=2164333 eVar31=gold bracelet #4 Product : 14k How can I remove or replace the commas that appear in the string array values?
... View more