I am using gtm with Universal analytics tag in my website. I know gtm fires - "gtm.js", "gtm.click", "gtm.dom", "gtm.load" etc events and send event data to google analytics based on rules specified in the triggers. I want to listen to all these gtm events. And whenever any of these gtm events fires, I want to fetch the eventdata that it sends to google analytics, from my javascript attached in the webpage.
Can anyone tell me how can I trigger a my custom event in javascript whenever any of the gtm events trigger and fetch that event data it sends to google analytics? Simply, What code should I write in js to listen gtm.click like event and fetch the data that it sends to google analytics?