Data elements when using an Adobe client data layer
Hi everyone!
Just checking out this documentation:
https://github.com/adobe/adobe-client-data-layer/wiki
I'm guessing this allows you to use the Adobe Client Data Layer extension in Launch.
My question, how do you reliably reference elements in the data layer if it pushes the objects and parameters as indexed items in an array?
Our data layer is an object so it's very easy to reference the path as a JS variable e.g. digitalData.product.id, but if it's in an array how would you know which index number to reference to reliably bring back the desired value?
Does the extension add in a different data element type to handle this?