Articles on: Lead Tracking (Calls)

DNI with Swap Groups

Dynamic Number Swapping with Swap Groups



If your website shows more than two phone numbers and you wish to track calls towards all of them, then while setting up your DNI script, you should setup swap groups.

Let's take as an example that your site includes two contact phone numbers, as we do.




Set Up Swap Groups



To track calls towards both numbers, make sure to have tracking numbers for both and have your call flows route calls to each destination.

Step 1: When ready head over to Tracking > Tracking Code and click on the first tab "Number Swapping". Keep in mind that our tracking script can replace the numbers on your site by searching for an exact match as defined using the 'Phone Number' option. Alternatively, our script can swap out any numbers found within a span tag using 'nimbata_number' as its class.

Step 2: Add the phone number that you want Nimbata to look for to replace it. Ensure that the format of your tracking numbers aligns with the one on your website. If the formatting differs, the dynamic number swap won't occur as intended. To avoid any mistakes, simply copy and paste the first number - as is displayed on your website - on the first swap group and the second number on the second swap group.

You can use one of the following 3 formats:

+1 (123) 456-7890
+1 123-456-7890
+11234567890

Step 3: Click on "+ Add Swap Group". On the right, from the dropdown list, select which tracking numbers should swap each number.




🎉 Hit Save & Published and you are good to go!

Repeat and add as many swap groups as the numbers displayed on your website.

Updated on: 03/01/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!