Drop-Down list – DOM Ready
<script>
(function() {
var list = document.querySelector(‘xxxxxx’);
list.addEventListener(‘change’, function(e) {
window.dataLayer.push({
event: ‘dropDown-Form’,
selected: this.options[this.selectedIndex].value
});
});
})();
</script>
You need to change querySelector id or Class