Skip to main content
Dynamic Number Insertion - Setting up

How to setup DNI and get it working on your website

Georgiana Mirita avatar
Written by Georgiana Mirita
Updated over a week ago

DNI, or dynamic number insertion, is a call-tracking feature that links a distinct phone number to every source of advertisements. It is available for all smrtPhone subscription levels.

​
It enables the use of a distinct phone number with a range of digital assets (such as websites) and advertisements, allowing the lead source to be fully credited for lead generation by phone call.

While it only takes a few steps to set up, we recommend your website administrator and/or digital marketing person to implement this feature as it has some technical requirements.


Step 1 - Accessing the DNI

Go to your Admin - Dashboard.

Find the Dynamic Number Insertion tab from the submenu. There you see the button to add a new website domain.

DNI setup

Step 2 - Websites

On this new window, press the βž• button to add the website where you will be directing the marketing campaigns. This should be your top-level domain. You can narrow down to specific pages later in the setup process.

You will insert the needed website and the phone number you want to be replaced with the tracking phone numbers. (Typically the target phone number is a general business phone number, and you will be dynamically swapping it out with numbers tied to marketing activities.)

You may add multiple websites if you want to. Also, you can delete any of them, any time.

After this step is complete, you click Proceed to go to the next step.

When filling in the phone number field, type it exactly how it appears on your website! The code will search for the exact configuration, including brackets, spaces and dashes - so be precise.


Step 3 - Install the Script

Once you enter the domain and the target phone number, smrtPhone's DNI system will generate a snipper of code that you must insert into your website's HTML code.

From the upper right corner, click the blue button labeled Insert script. This will display the code snippet.

java script

Copy this script and paste it into your website.

code html

Please, do not forget to paste the <script> before the closing of the <body> tag of your website.

The script will be updated once the campaign is ready.


Step 4 - Create Campaigns

Adding a Campaign

To add a new Campaign based on a dynamic tracking number, press the second blue button on the upper right corner, Add Campaign, and start filling the fields with the required information.

If you choose not to include any URL parameters or any path, the target number will be swapped for all visitors, on all pages of your site. If you want to narrow down when and where the target phone number is replace (for example, only on a specific landing page, or only coming from a specific ad set) you can have enter a URL parameter or UTM parameters, or both.

For the new DNI Tracking Campaign to be ready-to-go, you must configure some steps:

  • Campaign Name - The name of the campaign (we recommend relating it to the ads where the leads are coming from)

  • Description - A brief description of your tracking campaign

  • Tracking Phone Number - The specific smrtPhone number you want to show for this campaign. This is the number your target phone number will be replaced with.

  • Filters (optional)

    • URL path

    • UTM parameter

You can use the example below to set up your campaign.

DNI campaign summary

In the example provided above, we have:

contacts as path
utm_source=facebook
utm_content=media as URL parameters

In this case, the script will replace the target number only when the client visits the website from the URL:

As previously mentioned, URL and UTM are optional and if you choose not to provide them, the target number will be replaced for all visitors.

Assign different numbers for each of your campaigns!

Adding the Script

Depending on which page of your website you decide to display the number, is going to be changed only on that particular page.

If you need to change the phone number on all of your pages, insert the script on all pages of your website (this is not the case for the websites that have a particular template engine, such as a common footer across all pages).

Campaigns' Page Overview

Once the campaign is set, you can find it in your list of campaigns.

In this tab now you will see:

  • All the campaigns created

  • Their descriptions (if any)

  • Total hits - The number of page loads where the target number was replaced.

  • Calls - Number's performance on that particular campaign, amount of inbound calls received on the replaced number(s)

  • The date when the campaign was created

  • Delete option


Step 5 - Review Set Up

Now, your DNI Campaign is ready to be used.

You can see the Filters for this Campaign and also, delete it, at your will.


Back on the DNI Dashboard, you can also start over with another website domain.

Happy (tracking) phoning!

πŸ’‘ DNI Troubleshooting β‡’

Did this answer your question?