This guide will show you how to implement dynamic online call tracking for
SG Test . The example below shows you how to add this to Google Tag Manager, but the code can be implemented via any
tag manager solution or applied directly on site.
For more information on troubleshooting Dynamic Numbers you can find our Knowledge Base articles here.
Website preparationThis guide will show you how to implement online call tracking for your website. Please ensure Google Analytics code is installed throughout your website. If you are using platforms other than Google Analytics, additional configuration will be required. Contact your account manager to learn more. Step 1Copy and paste the following JavaScript code just before the closing head tag (or </head>) making sure it is after the Google Analytics script. This ensures that the script fires on all pages after the analytics code on the website. Or, if placing the JavaScript within the body tag, make sure it is placed on each page of the site after the Google Analytics script.
|
||||
Step 2Define the following span class and add the below span tags around the respective numbers you want tracked and dynamically changed. If you have a href link for your phone number, please include it within our span (or div) tag as we will dynamically change everything within the tag and return a href link with our new tracking number. |
||||
|
||||
Implementation ExamplesYou can add the AVANSERnumber class (provided above in Step 2) to your website either through a <span> or <div> tag around all numbers you want to dynamically track. As the placement of these tags will vary from site to site, below you will find a number of examples which can be used as a guide to implementation on your own site: |
||||
|
||||
|
||||
|
||||
|
Below our Knowledge Base articles that will help integrate Dynamic Numbers with any supported 3rd Party Integration
If you have any questions or require any further assistance in installing AVANSER's dynamic code, please contact our support team on 6664 8188 or email support@avanser.com.sg.