A free component to use on your website which enables you to track whether the phone calls you receive from your website are from new visitors or returning visitors.

This JavaScript component enables you to display a different phone number based on whether your website visitor is new to the website or a returning visitor. To start tracking your calls, all you will need is the loyalty tracking script from below and the 2 free queue numbers which we provide with your free online virtual switchboard.


Adding this to your website

Add the following code to your web page immediately before the </head> tag
(Note: you will need to replace the numbers for your own).

<script language="JavaScript" src="http://www.virtualcallmanager.com/js/loyaltyTracking.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
  setNewCustomerNumber("0843 289 7401");
  setReturningCustomerNumber("0843 289 7402");
</script>

And add the following code anywhere on your website where you want the phone number to be displayed.

<script language="JavaScript" type="text/javascript">displayNumber();</script>