Terms & Conditions
fbq('track', 'Lead'); if (city=='Sydney') url = url + "/meet" else url = url + "-" + city + "/meet" document.getElementById('contact_form').action = url; var xmlHttp = new XMLHttpRequest(); theUrl = "https://fierce-plains-14282.herokuapp.com/https://hooks.zapier.com/hooks/catch/4750886/ofllemn" + "?name=" + encodeURI(name) + "&email=" + email + "&mobile=" + mobile + "&city=" + city; var xhr = new XMLHttpRequest(); xhr.addEventListener("readystatechange", function() { if(this.readyState === 4) { console.log(this.responseText); } }); xhr.open("GET", "https://fierce-plains-14282.herokuapp.com/https://hooks.zapier.com/hooks/catch/4750886/ofllemn" + "?first_name=" + encodeURI(name) + "&email=" + email + "&mobile=" + mobile + "&city_id=" + city, false); if (city && name && email && mobile) { xhr.send(); form.submit(); return true; } } // ]]>