Manually test dynamic number insertion

Before you begin tracking calls using dynamic number insertion, it’s important to confirm that it’s working. Because CallRail's dynamic number insertion JavaScript snippet creates a cookie that remembers visitor’s original referring source, website administrators commonly think that dynamic number insertion isn’t working properly even when it is.

First, clear your cookies

Before you test, clear your cookies. Each test must be performed as if you are a brand new visitor; otherwise, number swapping will not work as expected. If you’ve navigated directly to the website before, CallRail will identify you as a “direct” visitor, rather than as a visitor from the tracking source you are testing.

If you prefer to test dynamic number insertion without clearing your cookies, you can do so by accessing the website in a private browsing window. Using a private browsing window (like Incognito mode in Google Chrome) allows you to simulate yourself as a first-time visitor to the website. It's important to ensure no other private browsing windows are open when testing number swapping using this method. Additionally, each time you perform a test, you will need to fully close all private browsing windows and open a new window.

Simulate an organic visit

For the purpose of this example, we’ll assume you’re testing a “Google Organic” tracking number.

  1. Clear your cookies, or open a fresh private web browser.

  2. Navigate to the source website (ie.

  3. Search for your full URL on the search engine (ie. “”).

  4. In the search results, click the link to your website.

  5. Navigate to a page containing the phone number.

  6. Confirm that the tracking number is displayed. If so, congratulations, it works!

Simulate a Facebook visit

For Facebook, you can manually simulate a click by appending utm_source=facebook to your URL.

For example:

To simulate a paid click,  append utm_source=facebook&utm_medium=ppc to your URL.

For example:

Simulate a Google PPC click

For Google Ads, you can manually simulate a click without requiring you to click on an ad by appending "?gclid=test" to your URL.

For example:

Simulate a Bing paid click

Testing Microsoft Advertising is similar to testing Google PPC, but works best if tested in Firefox's private browsing mode. You can manually simulate a click without actually clicking on a Bing ad by appending "?utm_source=bing&utm_medium=ppc" or "?msclkid=test&utm_medium=cpc" to your URL.

For example:
For example:

Mimic mobile devices

You can test dynamic number insertion for popular mobile devices like iPhones, iPads, Androids, etc using the Google Chrome browser's mobile emulation feature. Use the same techniques listed above for simulating visits when opening the source website using mobile emulation.

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

Was this article helpful?
1 out of 2 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 9:00am - 9:00pm EST