I created the event in Google tag manager, and I need to bring the value in the clicked ID. But in Analytics it shows as 'undefined', does anyone have any tips?
$('a#HomeB02').on('click', function() {
var Id_ = $(this).attr('id');
dataLayer.push({
'event': 'HomeB',
'gaEventCategory': 'Home',
'gaEventAction': 'Banner',
'gaEventLabel': Id_
});
});