Manually test dynamic number insertion

This article explains the steps required to test dynamic number insertion (DNI) on your website.

Clear your browser cookies

Before you test, clear your browser cookies. You should perform each test as a brand new site visitor. This is because CallRail uses a JavaScript snippet and cookies for DNI. If you have navigated directly to your website before, CallRail will not identify you as a visitor from the tracking source.

If you prefer to test DNI without clearing your cookies, you can do so by using a private browsing window. This window (for example, Incognito mode in Google Chrome) will simulate a first-time visit to the website. Make sure no other private browsing windows are open when testing number swapping using this method. Each time you perform a test, you will need to close all private browsing windows and open a new window.

Simulate an organic visit

For this example, we will test a “Google Organic” tracking number.

  1. Clear your cookies, or open a fresh private web browser.
  2. Navigate to the source website (e.g., Google.com).
  3. Search for your full URL on the search engine (e.g., “www.yoursite.com”).
  4. In the search results, use the link to your website.
  5. Navigate to a page containing the phone number.
  6. Confirm that the correct tracking number is displayed.

Simulate a Facebook visit

You can simulate a facebook visit adding ?utm_source=facebook to the end of your URL.

For example: https://www.yourwebsite.com/?utm_source=facebook

To simulate a paid click,  add ?utm_source=facebook&utm_medium=ppc to the end of your URL.

For example https://www.yourwebsite.com/?utm_source=facebook&utm_medium=ppc

Simulate a Google PPC click

You can simulate a Google Ads click without requiring an actual ad by adding "?gclid=test" to the end of your URL.

For example: https://www.yourwebsite.com/?gclid=test

Simulate a Bing paid click

You can simulate a Bing click without requiring an actual ad by adding "?utm_source=bing&utm_medium=ppc" or "?msclkid=test&utm_medium=cpc" to the end of your URL.

For example https://www.yourwebsite.com/?utm_source=bing&utm_medium=ppc or https://www.yourwebsite.com/?msclkid=test&utm_medium=cpc

Please note: We find that testing Microsoft Advertising works best in Firefox's private browser.

Mimic mobile devices

You can test DNI for mobile devices using the Google Chrome browser's mobile emulation feature. Once you are simulating a mobile device, use the same techniques listed above.

If you’re having trouble, we’re happy to help. Contact us, and be sure to include a link to where you have installed the dynamic number insertion code.

Was this article helpful?
4 out of 5 found this helpful

Articles in this section

See more
Ask the Community
Find best practices, post, and learn from CallRail users.
CallRail Support Hours
Weekdays 8:30am - 7:00pm EST
CallRail Classroom
Your go-to resource for brief, expert-led video tutorials.