document.addEventListener( 'submit', function( event ) { ga('send', 'event', 'Form Fill', 'Submit', 'Contact', '1'); window.location = "https://www.washingtontrafficdefense.com/thank-you/"; }, false );