๐Campaigns
What are Campaigns?

Campaigns help you track phone calls from different marketing sources. Ring Tonic offers two types of campaigns to suit different marketing needs:
DNI (Dynamic Number Insertion): Automatically swaps phone numbers on your website based on visitor source. Perfect for tracking which online channels (organic search, paid ads, social media) drive phone calls.
Static: Uses one or more dedicated tracking numbers. Ideal for offline marketing like billboards, print ads, radio spots, or regional advertising campaigns.
When to Use DNI vs Static
Use DNI (Dynamic Number Insertion) when:
You want to track website visitors from different sources (Google Ads, Facebook Ads, organic search)
You need to know which online marketing channel drove each call
You want automatic phone number swapping based on visitor source
Use Static Campaigns when:
You're running offline marketing (billboards, flyers, radio ads, TV commercials)
You need one or more dedicated numbers for a specific campaign
You want to track regional campaigns with different local numbers under one campaign
You're tracking calls from a dedicated source that doesn't change (like a newsletter or email signature)
1. Create a DNI Campaign
DNI campaigns use a pool of tracking numbers that automatically swap on your website based on visitor source.
Step 1: Configure Basic Information
Go to Campaigns โ Create DNI Campaign
Fill in the campaign details:
Campaign name: Choose a descriptive name (e.g., "Summer Website Campaign" or "2024 Google Ads")
Forward calls to: Enter your business phone number where calls should be routed
Swap target: Enter the phone number currently displayed on your website

Step 2: Configure Number Pool
Area code: Enter a 3-digit area code (e.g., 206 for Seattle)
Pool size: Choose how many tracking numbers to create (2, 4, 8, 12, 16, or 20 numbers)
Best Practice: Ring Tonic recommends 4 numbers per 100 daily website visitors. For example, if you get 500 visitors per day, choose a pool size of 20 numbers.

Step 3: Advanced Configuration (Optional)
CSS Selector - If you want the script to only swap numbers in specific elements on your website:
Enter a CSS selector (e.g.,
.phone-numberor#contact-phone)Leave empty to swap all instances of your swap target number
Common CSS selectors:
.phone-number- Elements with class "phone-number"#contact-phone- Element with ID "contact-phone".header .phone- Elements with class "phone" inside header elements

Step 4: Configure Security
Add the domains where your tracking script should run:
Enter your domain (e.g.,
example.com)Add additional domains if needed (e.g.,
www.example.com,shop.example.com)Press Enter after each domain
Security Notice: The tracking script will only execute on domains you specify here. This prevents unauthorized use of your tracking numbers on other websites.

Step 5: Configure Call Features
Call Recording:
Check Call recording to record all calls on this campaign
Optionally customize the recording announcement message (default: "This call will be recorded for quality assurance.")
Whisper Message:
Check Whisper message to play a message to your team before connecting the caller
Enter a custom message (e.g., "Call from Summer Website Campaign")
Leave empty to use the default: "Call from [Campaign Name]"
Spam Filter:
Check Spam filter to require callers to press 1 before connecting
Optionally customize the prompt message (default: "Press 1 to connect with an agent.")
If the caller doesn't press 1, the call is marked as spam and disconnected
Why use spam filter? Robocalls and automated dialers can't press buttons. Enabling spam filter blocks these unwanted calls, ensuring your team only receives calls from real people. Filtered calls are logged with a "Spam Filtered" status for your records.

Step 6: Create Campaign
Click Create Campaign to provision your tracking numbers and create the campaign.
Ring Tonic will automatically search for available numbers in your chosen area code and create your number pool. This process takes just a few seconds.
Step 7: Install the Tracking Script
After creating your DNI campaign, you need to add the tracking script to your website.
Step 1: Copy the Script
Go to your campaign details page
Copy the installation script from the "Installation" section
The script looks like this:
<script id="ct-script" src="https://ringtonic.app/swap.js" data-campaign-id="{campaign-uuid}" defer></script>
Step 2: Add to Your Website
Paste the script before the closing
</body>tag on every page where you want to track callsSave and publish your changes
The script will automatically find and swap phone numbers matching your swap target.
Example:
<!DOCTYPE html>
<html>
<head>
<title>Your Website</title>
</head>
<body>
<!-- Your website content -->
<h1>Contact Us</h1>
<p>Call us at: <span class="phone-number">+1 (206) 555-0123</span></p>
<!-- Add Ring Tonic script before closing body tag -->
<script id="ct-script" src="https://yourdomain.com/swap.js" data-campaign-id="abc123def456" defer></script>
</body>
</html>Step 3: Test Your Installation
Visit your website
Check that phone numbers are being swapped to tracking numbers
Call one of the tracking numbers to verify calls are forwarding correctly
The script only runs on allowed domains you specified during setup. If testing on localhost or a staging domain, make sure to add it to your allowed domains list.
2. Create a Static Campaign
Static campaigns use one or more dedicated tracking numbers, perfect for offline marketing materials and regional campaigns.
Step 1: Configure Basic Information
Go to Campaigns โ Create Static Campaign
Fill in the campaign details:
Campaign name: Choose a descriptive name (e.g., "Facebook Ads Campaign" or "Billboard - Highway 101")
Forward calls to: Enter your business phone number where calls should be routed

Step 2: Choose Number Source
Ring Tonic gives you two options for getting tracking numbers. You can select multiple numbers to add to a single campaign.
Option 1: Purchase New Numbers
Perfect when you want fresh numbers with specific criteria:
Select Purchase new number
Choose your Country (e.g., United States)
Basic Filters:
City/Locality: Narrow down to specific cities (e.g., Phoenix, Scottsdale)
Area Code: Enter a 3-digit area code (e.g., 206)
State/Territory: Select your preferred state or region
ZIP Code: Search by postal code for local numbers
Advanced Filters (Optional):
Contains Digits: Find numbers with specific digit patterns
Choose "Starts with" or "Anywhere" for digit position
Enter at least 2 digits (e.g., "55" to find numbers like 555-XXXX)
Click Search Numbers to find available numbers
Browse results showing:
Phone number with location details
Voice/SMS/MMS capabilities
Monthly price
Click Select to add a number to your selection
Selecting Multiple Numbers:
You can select multiple numbers from different searches to add to your campaign:
Select numbers from the search results by clicking Select
Selected numbers appear in the Selected Numbers panel above the search results
Change your search filters (different state, area code, etc.) and search again
Select additional numbers - your previous selections are preserved
Remove numbers from the selection by clicking the X on any selected number
Use Clear all to remove all selected numbers
Pro Tip: Use the "Contains Digits" filter to find memorable or vanity numbers. For example, searching for "777" might find numbers like (206) 777-5555.

Option 2: Use Existing Numbers
Select unassigned phone numbers from your inventory:
Select Use existing number
Ring Tonic displays all unassigned phone numbers from your inventory
Browse available numbers showing:
Phone number (formatted)
Friendly name (if set)
Click Select on the numbers you want to use
Selected numbers appear in the Selected Numbers panel
Remove numbers by clicking the X on any selected number
No Numbers Available? If you don't have any unassigned numbers in your inventory, you'll need to either:
Purchase a new number using Option 1 above, or
Import existing numbers from Twilio into your inventory first

Step 3: Configure Call Features
Call Recording:
Check Call recording to record all calls on this campaign
Optionally customize the recording announcement message
Whisper Message:
Check Whisper message to play a message to your team before connecting the caller
Enter a custom message to identify the campaign source
Spam Filter:
Check Spam filter to require callers to press 1 before connecting
Optionally customize the prompt message (default: "Press 1 to connect with an agent.")
If the caller doesn't press 1, the call is marked as spam and disconnected
Why use spam filter? Robocalls and automated dialers can't press buttons. Enabling spam filter blocks these unwanted calls, ensuring your team only receives calls from real people. Filtered calls are logged with a "Spam Filtered" status for your records.

Step 4: Create Campaign
Click Create Campaign to purchase the tracking numbers and create your campaign. The button will show the number of selected numbers (e.g., "Create Campaign with 3 Numbers").
Your tracking numbers are now active! You can use them immediately in your marketing materials. All calls to these numbers will be logged in Ring Tonic with full tracking and analytics under this single campaign.

3. Delete Campaigns
If you no longer need a campaign, you can delete it to stop tracking and release the phone numbers.
How to Delete a Campaign
Go to Campaigns
Find the campaign you want to delete
Click Delete (trash icon)
Read the confirmation message carefully
Click Delete to confirm
Warning: Deleting a campaign will permanently delete:
All associated call logs
All tracking numbers (released back to Twilio)
All campaign analytics data
This action cannot be undone
Make sure to export any important data before deleting a campaign.

Last updated