Testing Number Swapping


Last Updated: 07/14/2017 Back to Topic All Articles

When you first go to your site to see if the dynamic number swapping is working, you will be cookied. The dynamic tracking code will remember the first source you used to reach your site. If you first came to the site from a source that matches one of your tracking numbers, you will see it swap. However, if you first came to the site from a source that did not match, you will not see the number swap.

By default, we remember the original source for 30 days. This is done to keep the number swapping consistent. If preferred, you can adjust this time in the Tracking Code settings in your account (found under the Numbers menu).

To test, you will need to use a private browsing window (such as Google Incognito). It is very important that you use a brand new private browsing window every time you run a test, and make sure you have no other private browsing windows or tabs open. It is also important to never let your browser auto-complete the URL bar for you; make sure you fully type or paste in the test URL yourself.

To test that your Google Adwords tracking numbers are swapping correctly:

  1. Close any existing private browsing windows in your browser
  2. Open a new private browsing window
  3. Navigate to yourwebsiteurl.com?gclid=test
  4. This will generate a click to your website that appears to be a ppc click to our tracking code for your testing. You should see one of your Google AdWords tracking numbers on the page.

To test that your Bing paid tracking numbers are swapping correctly:

  1. You need to first make sure that the links for your ads in Bing Ad Center include the following tags: utm_source=adcenter&utm_medium=cpc. Bing’s auto-tagging feature should add this tags to your destination URLs, so you’ll want to make sure that feature is enabled.
  2. Once that’s done, you can test the number swapping by opening a new private browsing window (with no other private browsing windows or tabs open).
  3. Navigate to yourwebsite.com/?utm_source=adcenter&utm_medium=cpc. This will generate a click to your website that appears to be an Ad Center click to our tracking code for your testing. You should see one of your Bing Paid tracking numbers on the page.

To test a custom sourceusing a utm parameter:

  1. You need to first make sure that the links include the utm parameter that matches your source in CTM. For example, if you have utm_source=facebook you will need to add these tags to your destination URLs for Facebook.
  2. Once that’s done, you can test the number swapping by opening a new private browsing window (with no other private browsing windows or tabs open).
  3. Navigate to yourwebsite.com/?utm_source=facebook (use the parameter you have set in your custom source). This will generate a click to your website that appears to be Facebook click to our tracking code for your testing. You should see one of your tracking numbers that have this source added on the page.

To test from a specific landing page:

  1. Close any existing private browsing windows and open a new one.
  2. Navigate to the page you want to test from (Twitter, Google, Pinterest, etc.)
  3. Click on your link. If you have no link, follow the instructions here.

To test number insertion for Google Organic with a dev site:

  1. Navigate to google.com
  2. Open a javascript console and enter: window.location=”http://your-development-machine.com/”

You can also check in your realtime reports page to see realtime visits coming to your site. You can filter this page by tracking number, and it will give you an idea of whether the tracking numbers are being shown for recent visitors.

If your swapping doesn’t appear to be working, please contact us for assistance and we will be happy to help.


Was this article helpful?
0 0