window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-397430245');
// Helper function to delay opening a URL until a gtag event is sent.
// Call it in response to an action that should navigate to a URL.
function gtagSendEvent(url) {
var callback = function () {
if (typeof url === 'string') {
window.location = url;
}
};
gtag('event', 'lead', {
'event_callback': callback,
'event_timeout': 2000,
//
});
return false;
}