window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); // Base Google Ads config gtag('config', 'AW-985829791'); // Phone Conversion Tracking gtag('config', 'AW-985829791/jVbSCNze9bMBEJ-jitYD', { 'phone_conversion_number': '855-722-3166' }); // Capture UTM and GCLID parameters (function () { function getParameterByName(name) { name = name.replace(/[\[\]]/g, "\\$&"); var url = window.location.href; var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), results = regex.exec(url); if (!results) return null; if (!results[2]) return ''; return decodeURIComponent(results[2].replace(/\+/g, " ")); } var params = ['gclid', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content']; params.forEach(function(param) { var value = getParameterByName(param); if (value) { // Save in cookie document.cookie = param + "=" + value + "; path=/"; // Autofill hidden fields in forms (if exist) var input = document.querySelector("input[name='" + param + "']"); if (input) { input.value = value; } // Optional: log to gtag for analytics/debug gtag('event', 'utm_capture', { 'event_category': 'utm_tracking', 'event_label': param, 'value': value }); } }); })();
(function () { function getParameterByName(name) { name = name.replace(/[\[\]]/g, "\\$&"); var url = window.location.href; var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), results = regex.exec(url); if (!results) return null; if (!results[2]) return ''; return decodeURIComponent(results[2].replace(/\+/g, " ")); } var params = ['gclid', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content']; params.forEach(function(param) { var value = getParameterByName(param); if (value) { // Save to cookie document.cookie = param + "=" + value + "; path=/"; // Fill Gravity Forms hidden input var input = document.querySelectorAll('input[name="' + param + '"]'); input.forEach(function(field) { field.value = value; }); } }); })();

Contact Us

Headquarters

8048 FM 35
Royse City, TX 75189

Ask a Question or Request a Free Consultation

Complete the form for your free consultation.

By submitting my phone number and contact information, I consent to receive calls and text messages from Lonestar Transfer and have read and agree to the Terms and Conditions and Privacy Policy. You can opt out by replying STOP at any time.