I in a situation where I want to track link clicks using data layers which are getting populated on the fly. For e.g. Here is a link and on click a JS function is getting called which is populating data layer object with link name, link URL information. <a id="link1" onclick="Link1DataLayer()" href=" http://www.google.co.in">Basic Link Tracking</a></h1> <script> function Link1DataLayer() { var Link_Data = { linkName : $("a#link1").text(), linkUrl : $("a#link1").attr('href') } } </script> Data layers is something what developers are going to provide me, information for every interactions link Video name, Image name, Button click name, C arousel swipes etc in form of data layers. What I want is, on the click of link or button, JQuery handler extension should get fired and I should able to grab the data layer object values and inject into some tealium variables. Hence eventually I will push these tealium variables into GA custom dimension. I was able to do that using DOM scrapping but not able to do so when I am trying to pull via data layer. This can be easily accomplished within Adobe Launch and DTM but not able to find a vaiable solution in Tealium.
... View more