Supporting small businesses is what we do. Let’s chat about your tax strategy so we can help you keep more of your hard-earned money.
const urlParams = new URLSearchParams(window.location.search); const utmFields = { 'utm_source': 'field:16912247', 'utm_medium': 'field:16909014', 'utm_campaign': 'field:16909023', 'telesales_rep': 'field:16913302' };
const acuityIframe = document.getElementById('acuity-iframe'); let iframeSrc = acuityIframe.src; const paramsToAdd = [];
for (const utmKey in utmFields) { const utmValue = urlParams.get(utmKey); if (utmValue) { paramsToAdd.push(`${utmFields[utmKey]}=${encodeURIComponent(utmValue)}`); } }
if (paramsToAdd.length > 0) { const separator = iframeSrc.includes('?') ? '&' : '?'; acuityIframe.src = iframeSrc + separator + paramsToAdd.join('&'); }