/* Shedz GA4 - G-BL2ZWDGFNV - installed 30 Jul 2026 Loads gtag, then tracks the conversions that matter for Shedz: design_shed_click (offsite CFBS 3D designer), phone_click, email_click. */ (function () { var ID = "G-BL2ZWDGFNV"; var s = document.createElement("script"); s.async = true; s.src = "https://www.googletagmanager.com/gtag/js?id=" + ID; document.head.appendChild(s); window.dataLayer = window.dataLayer || []; function gtag() { window.dataLayer.push(arguments); } window.gtag = window.gtag || gtag; gtag("js", new Date()); gtag("config", ID); function send(name, params) { try { gtag("event", name, params || {}); } catch (e) {} } document.addEventListener("click", function (ev) { var a = ev.target && ev.target.closest ? ev.target.closest("a[href]") : null; if (!a) return; var href = a.getAttribute("href") || ""; var label = (a.textContent || "").trim().slice(0, 80); if (href.indexOf("cfbs.myjob.mysys.com.au") !== -1) { send("design_shed_click", { link_url: href, link_text: label, page_location: window.location.href }); } else if (href.indexOf("tel:") === 0) { send("phone_click", { link_url: href, page_location: window.location.href }); } else if (href.indexOf("mailto:") === 0) { send("email_click", { link_url: href, page_location: window.location.href }); } }, true); })();