I'm relatively new to Analytics Event tracking etc.
I'm just wondering what is Google Tag Manager equivalent to Google Analytics (onchange="ga('send', 'event', 'Category', 'Change', 'Value');"
) ?
I know I can use onlayer but I'm not 100% sure on how to do use it, tried looking up online few articles but nothing that could help me.
Basically what I have is a styled select
element that I want to track when it changes its value. There is no submit button and its not inside a form element.
Google Tag Manager only let me do on click which returns wrong values because its a select element and needs onchange rather than onclick.
My question is can I use Google Analytics Event Tracking code inside Google Tag Manager if that makes sense? My Google Analytics are inserted through Google Tag Manager, so is tracking.
Your reply is appreciated, thanks