setupDataLayerTags | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function setupDataLayerTags

    • Setup support for data-wh-datalayer-onclick-xxx="yyy" attributes. When clicking an element with these attributes the JSON from the attribute and all parents are merged together and pushed to the dataLayer

      Returns void