Call tracking number inconsistency
-
A client implemented dynamic number insertion using PHP to display a different number, based on the traffic source (organic, paid, direct and so on). This effects every displayed phone number on the website which leads to inconsistencies across the web, Gmybusiness and listings.
My best best would be to use JavaScript for the number insertion instead, add a
<noscript>using the "real" number and add JSON code with the correct NAP details.</p> <p>Is this correct or is there another way, a better way?</p> <p>Thanks in advance!</p></noscript>
-
That's correct. An alternative would be a dynamically-generated IMAGE which uses the tel: anchor parameter to the real phone # on-click.
-
Thanks! Glad to hear my thought process was correct.