/* * Single source of truth for the firm's Google Business Profile review count. * * To update the Google review count shown across the site, change ONLY the * number below. Every visible element marked with `data-google-reviews` * (e.g. 102) is updated automatically on load. * * NOTE: The JSON-LD `aggregateRating.reviewCount` in each page's is * intentionally NOT updated by this script — search engines read structured * data statically, so that value must stay hard-coded in the HTML. When the * count changes, update GOOGLE_REVIEWS_COUNT here AND run a find/replace of * "reviewCount": "" -> "reviewCount": "" across the HTML files. * * Last verified against Google Business Profile: 102 reviews. */ window.GOOGLE_REVIEWS_COUNT = 102; (function () { function apply() { var n = window.GOOGLE_REVIEWS_COUNT; if (n === undefined || n === null) return; var els = document.querySelectorAll('[data-google-reviews]'); for (var i = 0; i < els.length; i++) { els[i].textContent = String(n); } } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', apply); } else { apply(); } })();