The Invoca Tag can’t detect a phone number rendered inside a custom web component, since that element’s DOM node is separate from the main document DOM.
Symptoms
Numbers on a page aren’t rotating, even though the Invoca Tag is loaded. This happens because the number is located within a custom element instead of a standard HTML element.Resolution
The Invoca Tag can search an HTML document for phone numbers within standard HTML elements, such as<a>, <li>, or <div>. If a number is inside a custom web component or one of its attributes, the Tag can’t detect it — this is because the DOM node containing the number is rendered separately from the main document DOM.
To resolve this, use custom code in the Tag Wizard to add custom logic that locates the target element and updates its text field with the original number, so the Invoca Tag can swap in the trackable number. Once this update is in place, the page re-renders and the dynamic numbers display as intended.