script>
window.addEventListener('load', function() {
var myInterval = setInterval(function() {
var buttonSelector = document.getElementById('lead_form');
if (buttonSelector) {
buttonSelector.addEventListener('submit', function() {
gtag('event', 'ContactFormSubmission', {'send_to': 'G-8Y0CX87P3X'});
})
clearInterval(myInterval);
};
}, 2500);
});