function sendEvent(action, element) { var videoTitle = $(element).data('title'); if (dataLayer && videoTitle) { dataLayer.push({ 'event': 'gtm.custom_event', 'eventInfo': { 'category': 'Video', 'action': action, 'label': element, 'value': 0, 'nonInteraction': false } }); } }

Scroll to Top