Submit your best contact information below and our Community Sales Manager will reach out to you
Schedule A Tour LCH.com
Website visitor has requested a tour of our community and/or model home.
"*" indicates required fields
Join our VIP list
Unlock early access to pre-selling events, special incentives, and more. Sign up today!
// Function to get URL parameters
function getQueryParameter(param) {
let urlParams = new URLSearchParams(window.location.search);
return urlParams.get(param);
}
// Function to add hidden UTM fields to all forms
document.addEventListener('DOMContentLoaded', function() {
// Define UTM fields you want to track
const utmFields = ['utm_campaign', 'utm_source', 'utm_medium', 'utm_term', 'utm_content', 'gclid'];
// Loop through all forms on the page
document.querySelectorAll('form').forEach(function(form) {
// Add hidden fields to each form
utmFields.forEach(function(field) {
let input = document.createElement('input');
input.type = 'hidden';
input.name = field; // Name attribute set to the UTM parameter name (e.g., utm_campaign)
input.value = getQueryParameter(field) || ''; // Get UTM value from URL or leave blank if not present
form.appendChild(input); // Append hidden field to the form
});
});
});