on 07-18-2023 02:34 PM
Customers have noticed that the numbers on their page are not rotating, even though the Invoca tag is loaded. This issue occurs because the number is located within a custom element instead of a standard HTML element.
To address this problem, Invoca can search an HTML document for phone numbers under standard HTML elements such as <a>, <li>, or <div>. However, if the numbers are within custom web components or their attributes, the Invoca tag cannot detect them. This limitation exists because the DOM node containing the numbers is rendered separately from the main document DOM.
To resolve this, it is recommended to use the custom code provided in the Tag Wizard. The addition of custom logic can be added to locate the target element and update the text field with the original number for Invoca's trackable number. With this update for the tag, the page will be re-rendered, and the dynamic numbers will be displayed as intended.