document.addEventListener( 'wpcf7submit', function( event ) { gtag('event', 'download', { 'event_category': 'product-sheet-active-xl', 'event_label': 'Active XL Product Sheet' }); }, false );