How to Prevent Number Swapping

The CTM tracking code will replace instances of your target number on your website. When the code finds your target number, it will swap it to the appropriate tracking number based on the advertising source of the visit (or the visitor's geographic location, if you are using GeoContact).  If you want to prevent certain instances of your target number from swapping, you can put a tag around those instances of the number in your source code that will stop them from being swapped to a tracking number.

This is the no-swap code you will need to prevent a number from swapping:

<p class="ctm-no-swap">(555) 555.5555</p>

The code will need to be implemented for each individual instance of a number that you do not want to be swapped.

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.