Event Tracking with Data Attributes in GTM

Comments:4

    1. Sure, the examples given in the Access Data Attributes with Javascript section don’t require click events. If you’re adding it to GTM, you would just add those code snippets to a custom JS function like this:
      function(){
      document.querySelector("[data-tile-position]")
      }

Leave a Reply

Your email address will not be published.