I'm working with the W3 dataLayer and want to trigger a rule when a certain product is on the page, but I don't know how I can create a data-element that is based on a array. So for example I have the following dataLayer and I want to trigger a rule when the product name contains laptop. How can I do this?
There is a particular way in which we can represent path as an array in a JS object type for Data Elements. Please see the following content for more details.