function GoogleGoalConversion() { try { //ga('send', 'event', 'Lead', 'Submitted'); //new analytisc tag gtag('event', 'submission', { 'event_category': 'Lead submitted' }); fbq('track', 'Lead'); } catch (exception) { } } function FireGoogleEventAndLoadPage(obj) { $(obj).prop("disabled", true); var linkType = $(obj).attr("data-link-type"); var googleEvent = $(obj).attr("data-google-event-cta"); if (googleEvent != undefined && googleEvent != null) { for (var i = 0; i < ga_events.length; i++) { var event = ga_events[i]; if (parseInt(event.id) === parseInt(googleEvent)) { ga('send', 'event', event.category, event.action); } } } gtag('config', 'AW-10982784871');