DNI menu advanced settings explained
The advanced settings in Tracking > Tracking Code let you control how the DNI script behaves on your website.
Most installs work fine with the defaults. Use these settings when your site has specific technical requirements.

1. Single Page Application (SPA) mode
What it does
Re-runs the number swap logic every time the page content changes without a full browser reload. Standard websites reload the entire page when a visitor navigates. Single Page Applications (SPAs), sites built with React, Vue, Angular, or similar frameworks, update the DOM dynamically without a full reload.
When this happens, the DNI script may run before the phone number exists in the DOM, leaving the number unswapped. Enabling SPA mode tells Nimbata to watch for DOM changes and re-trigger the swap logic whenever new content is rendered.
How to enable it
If your website is built on a JavaScript framework, or your phone number disappears after navigating between pages.
2. Phone number redaction
What it does
Removes the caller's phone number from call logs and replaces it with a redacted placeholder. When enabled, the caller ID is not stored in your call activity.
This is useful when you need to limit the personal data your account retains, e.g. to comply with a data minimization requirement or a client's privacy policy.
How to enable it
You have been asked to avoid storing caller phone numbers, or your compliance setup requires it.
3. Text redaction
What it does
Removes the content of SMS messages from your account logs. If your tracking numbers receive inbound SMS messages, enabling text redaction prevents the message body from being stored. The SMS event is still recorded (sender, time, tracking number), but the text itself is not.
How to enable it
You are tracking SMS but do not need or are not permitted to store message content.
4. Remove country code prefix from links
What it does
Strips the country code from tel: links when the DNI script swaps in a tracking number. Some websites use tel:+1-555-123-4567 as the href on click-to-call links. If your tracking numbers are stored with a country code prefix but your website's tel: links use a different format, this setting normalizes the output so the swapped link dials correctly.
How to enable it
Click-to-call links on your site are not dialing correctly after the swap, and your tracking numbers include a country code prefix.
5. Page paths to exclude
What it does
Prevents the DNI script from running on specific pages of your website. Enter one path per line.
The script will load on all other pages but will not perform any number swaps on the paths you list.
Where to use this
Thank-you pages, checkout pages, admin paths, or any page where you do not want number swapping to occur.
E.g. entering /thank-you will stop swapping on yoursite.com/thank-you.
6. Monitor for HTML changes
What it does
Keeps watching the page for new instances of your swap target after the initial load, and swaps them as they appear. This is similar to SPA mode but operates at a lower level. Rather than re-running the full swap logic on navigation, it uses a MutationObserver to detect any new phone number strings being added to the DOM and replaces them immediately.
How to enable it
Your phone number appears in content that loads after the initial page render, e.g. inside a lazy-loaded section, a chat widget, or a dynamically populated footer, and SPA mode alone has not resolved the issue.
7. Use Eval
What it does
Changes how the DNI script is executed in the browser. By default, Nimbata's script runs in strict mode. Some older or custom JavaScript environments do not support this and throw errors that prevent the script from loading. Enabling Use Eval wraps the script execution in a way that is compatible with those environments.
How to enable it
You are seeing JavaScript errors related to the Nimbata script in your browser console, and your site uses a non-standard or legacy JavaScript setup.
In all other cases, leave this off.
Detailed Guide: DNI script 101: how to install and configure it
Detailed Guide: How to set up swap groups
Troubleshooting: DNI: full troubleshooting guide - numbers not swapping on your website
Updated on: 05/05/2026
Thank you!