Categories for Charity / Community Work
window.addEventListener('load', function() {
jQuery('[type="submit"]').click(function() {
var setInt = setInterval(function() {
if (jQuery('.frm_message:contains("Thanks for contacting us")').is(":visible")) {
gtag('event', 'conversion', {
'send_to': 'AW-1047598648/HoajCPHA64sBELisxPMD'
});
clearInterval(setInt);
}
}, 1000)
})
})
<!--
window.addEventListener('load', function(){
var setInt = setInterval(function(){
if(document.querySelector('#notify-text').innerHTML == "Thanks for reaching out. Please submit your question to start a chat..."){
gtag('event', 'conversion', {'send_to': 'AW-1047598648/pzCTCOv7mowBELisxPMD'});
clearInterval(setInt);
}
},700);
});
-->