Quick summary
Competing number-replacement scripts and missed rescans during client-side navigation were addressed in a coordinated tracking setup. The work retained booking behavior and documented the relevant configuration and build checks.
The problem
A statically generated site needed a coordinated measurement setup, but an older number-swap loader conflicted with the new call-tracking provider and client-side navigation could skip rescans.
What I checked
- Existing number-swap and booking-form scripts
- Client-side navigation behavior
- Privacy opt-out handling
- Tag-manager head and noscript placement
- Live script duplication and browser console output
What I changed
- Added the supplied call-tracking loader sitewide
- Removed the competing number-swap loader while preserving booking forms
- Triggered rescans after client-side route changes
- Added tag-manager consent initialization, noscript fallback, and site verification
- Updated environment documentation and passed the full production build
Result
The site now has coordinated call tracking, tag management, and ownership verification that survives client-side navigation without loading competing number-replacement scripts.
How this relates to your project
A website can behave correctly while its reporting misses or duplicates the action. Conversion tracking troubleshooting compares the implementation with the real event so the measurement is checked on its own terms.
What I'd watch next
- Whether container tags assume libraries the site does not use
- Whether future route changes still trigger call-number rescans
- Whether privacy controls stay aligned with new tracking tags