How to set up swap groups
A swap group tells Nimbata's script which phone number on your page to replace, and which pool of tracking numbers to use.
You need at least one swap group per distinct number on your site.
Use multiple swap groups when you have more than one number on the same page.
For example, a Sales line and a Support line; and want to track them independently.
Before you start:
Make sure you have tracking numbers acquired and a call flow set up.
See DNI script 101: how to install and configure it.
Step 1. Create a call flow for each number on your site
- Go to Tracking > Call Flows.
- Click + Add.
- Create one call flow per phone number that appears on your website.
- Go to Tracking > Numbers.
- Assign your tracking numbers to the corresponding call flows.
Detailed Guide: How to set up call flows
Step 2. Add and configure your swap groups
- Go to Tracking > Tracking Code.
- Click + Add swap group.
For each group:
- Enter the phone number exactly as it appears on your website.
- Assign at least one tracking number to the group.

Step 3. Save & Publish
- Click Save & Publish.
- Copy the generated script tag to your site.
🎉 Your swap groups are live. Visit your site to confirm each number swaps correctly.
Detailed Guide: How to rename swap groups
Detailed Guide: How to set up span tag
Troubleshooting: Why are numbers not swapping?
Updated on: 30/03/2026
Thank you!