diff --git a/application/views/mobile_first/jh-gp-form.php b/application/views/mobile_first/jh-gp-form.php index e1116edf..d493cf73 100644 --- a/application/views/mobile_first/jh-gp-form.php +++ b/application/views/mobile_first/jh-gp-form.php @@ -76,7 +76,7 @@ - + @@ -546,6 +546,7 @@ document.addEventListener('DOMContentLoaded', () => { console.warn('grecaptcha is disabled.'); quick_inquiry_form.submit(); } else { + try {fbq('track', 'SubmitApplication');} catch (error) {} grecaptcha.enterprise.ready(async () => { const token = await grecaptcha.enterprise.execute('6Lf828MhAAAAANNetijCXKwW5ARyhcJ-b1Hhslja', {action: 'ADD_TO_CART'}); var el = document.createElement("input"); @@ -648,7 +649,7 @@ function validateQuickInquiryForm() { } if (currentTarget.id === 'Couple') { $('#adult_18_plus').val('2'); - } else if (currentTarget.id === 'Solo') { + } else if (currentTarget.id === 'Solo') { $('#adult_18_plus').val('1'); } })