DTM data layer
Hi All
Version CQ5.5
We have a data layer object defined for our site. The data layer will get consumed by DTM
We also have a number of custom components e.g custom button component. As part of capturing the interaction of the user with each instance of the button, we need to update certain elements/attributes of the data layer.
Taking into consideration that the custom button component can be used by the author across multiple places in the site, or even in the same page, is it possible as a CQ component developer to provide enough information on the data layer, for each button to be uniquely identified? Or the data layer approach might no be the best solution for this use case
I also would like to understand what will be the best away technically, to update the data layer for each custom component that i'm developing
Thanks,