Use this article to learn how to:
- Use our auto-test feature to test dynamic number insertion
- Manually test dynamic number insertion
Auto-Test Dynamic Number Insertion
You must test each web page individually where you’ve installed the code snippet. Testing a landing page, for example, will not test your entire site.
- Choose the company whose snippet you’re testing.
- Click Settings at the top of the page.
- Select All Integrations from the Integrations section in the left menu.
- Copy and paste the web page URL that you’d like to test and click Start Test.
If the code snippet is not in the correct location, your numbers can’t swap so the second part of the test will not be performed.
- In the Tracking Number Status section of the test, it’s important to note that we’re testing all the tracking numbers in your company. So, some numbers that show up as “not found” are not a problem. Only troubleshoot tracking numbers you expected to swap on the page you are testing.
- Tracking numbers that are properly swapping on the page you’re testing will show a green check mark in the Status column.
- Click the eyeball icon in the View column to see a live swap example of the tracking number swap on your page.
- This screen will show a screen capture of the tracking number swap that happened with a date and time stamp of when the swap occurred.
- There will be a yellow alert message in the Status column for numbers that aren’t swapping on the single web page you’re testing.
Remember, we’re testing all the tracking numbers in your company. This alert isn’t a problem for tracking numbers that won’t be used on the specific web page you’re testing.
- If it’s a tracking number you expected to swap on the page, click the Troubleshoot link to view a help article on troubleshooting common errors that will prevent a number from swapping.
Note: There are sometimes false negatives in this auto-test where your tracking number is actually swapping on your page. If you've checked all the troubleshoot items and still receive an error message, we recommend manually testing (next section) your web page to simulate a visit.
- You can also select the Number Name to be sent directly to the edit page for that number so you can make any configuration changes needed.
Manually Test Dynamic Number Insertion
Use these test methods to manually test dynamic number insertion. Because CallRail's swap code creates a cookie that remembers your previous website visits, you might think that dynamic number insertion isn’t working 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 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) lets you simulate yourself as a first-time visitor to the website. Please ensure no other private browsing windows are open when testing with this method.
- Simulate an Organic Visit.
For the purpose of this example, we’ll assume you’re testing a “Google Organic” tracking number.
- Clear your cookies, or open a fresh private web browser.
- Navigate to the source website (ie. Google.com).
- Search for your full URL on the search engine (ie. “www.yoursite.com”).
- In the search results, click the link to your website.
- Navigate to a page containing the phone number.
- Confirm that the tracking number is displayed. If so, congratulations, it works!
- Simulate a Google AdWords Click.
For Google AdWords, you can manually simulate a click without requiring you to click on an ad by appending "?gclid=test" to your URL.
For example: https://www.yourwebsite.com/?gclid=test
- Simulate a Bing Paid Click.
Testing Bing Ads requires a few more steps. Using the Mozilla Firefox web browser:
- 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.
The following Chrome documentation details the steps to enable the mobile emulation feature: Google Chrome 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.
What should I do if I keep getting error messages?
If you keep getting error messages for numbers you expect to swap, try troubleshooting common dynamic number insertion errors.
NOTE: There are sometimes false negatives in this auto-test where your tracking number is actually swapping on your page. If you've checked all the troubleshoot items and still receive an error message, we recommend manually testing your web page to simulate a visit and see if your tracking number is swapping on your page.
If your tracking number is swapping, you can ignore any auto-test error messages.
I’ve tried troubleshooting, but my number still isn’t swapping. What should I do?
Reach out to our Support team if you continue receiving errors for tracking numbers you expected to swap on your page. They’ll be able to double check additional settings for your tracking number to see why it might not be swapping.