Configure Advanced Options for Website Integration
To display a tracking number on your webpage, ensure that the target number is specified within the HTML code of that page. Phone numbers embedded within attributes, HTML tags, or JavaScript code are not automatically replaced by the tracking number. Additionally, if you wish to reinitiate session data retrieval following cookie consent or if the number isn’t present in the code during the page’s initial load, further configuration is necessary.
To facilitate number swapping in such scenarios, you can call a JavaScript function.
Navigate to the “Integrations” tab. Click on the “Website” card.
Enable the option labeled “Permute numbers automatically by calling a JavaScript function”
Copy the provided code snippet.
Insert this snippet into the HTML element or widget containing the phone number.
Aide et Support
Note: If you’re using Google Tag Manager, ensure the code is wrapped within <script></script> tags and assign the appropriate trigger.
Example:
<script type=”text/javascript” src=”Dexem code to integrate”></script>
![]()
Depending on your subscription, additional settings may be available:
- DOM Change Monitoring: This setting allows the script to monitor specific CSS selectors (e.g., #id or .class) and trigger number swapping upon their appearance or modification.
- Target Search:
- Standard: The script searches for numbers to swap within standard HTML tags.
- Custom: Specify the HTML tags where the target numbers are located, formatted as tag[data-xxx].
- Page View Collection: Enables the collection of visitor page view data (applicable only for number pools). Visitor consent (e.g., cookie acceptance) is required.
- Web Session Expiration Delay: Configure the inactivity duration (ranging from 5 to 60 minutes) after which a session is deemed ended, allowing the number to be reassigned. This should align with the average session duration on your website.
- Data layer: You can retrieve data from your website’s data layers for use in your CRM tools. Find out more in this article : Configure the DataLayers collect from your Website