The Delacon tracking code is the centerpiece of our solution and allows Delacon to capture web session data about your phone calls. Without the tracking code, all website calls will appear as offline calls in the Delacon reporting and limits the compatibility with 3rd party integrations such as Google Analytics or Adwords.
1. Where to find the tracking code
For detailed information on where to find your tracking code or how to construct it from the tracking code template, please review Section 1 "Determine the tracking code" of this guide.
2. How to deploy the tracking code
There are multiple ways to deploy the tracking code to your website including by adding the code directly to the source page of your website, via Google Tag Manager or via Tealium.
For more information on these options, please refer to Section 3 "Deploy the tracking code to your website" of this guide.
3. Variations of the tracking code
There are different versions of the Delacon tracking code that allows for a more customised approach to tracking your website. Each code is valid and is not depreciated.
Code 1 - Delacon's Standard Call Tracking Code
The standard version is the most common variation of the tracking code. This code accounts for a single number or pool of dynamic numbers (Service ID) being used on the particular page where the code is implemented.
<script src="//vxml4.plavxml.com/sited/ref/ctrk/MID-CID" async></script>
Code 2 - Multiple Numbers
If there are multiple phone numbers being updated on a page (for example, on a Contact Us page with multiple locations) more than one Service ID needs to be added to the code. In this case, the following code would be required.
<script src="//vxml4.plavxml.com/sited/ref/ctrk/MID-CID1-CID2-CID3-CID4" async></script>
We strongly recommend avoiding running multiple tracking codes on the same page, as this can lead to data interference. Instead, tracking codes for multiple services on the same page should be merged into one code.
Code 3 - Different numbers displayed depending on pre-set requirements
This variation of the tracking code allows to group different services together and check for pre-defined conditions. For example, if you want to show a different number to visitors based on the channel they arrived from. Site visitors from paid channels could see numbers from pool 1, visitors from Facebook could see numbers from pool 2 and direct site visitors could see numbers from pool 3.
With this code, the system will check the conditions of Service 1 first, and if met swap out the number, and if not met, move to Service 2.
The tracking code template for this variation is:
<script src="//vxml4.plavxml.com/sited/ref/ctrk/MID-g-CID1-CID2-CID3" async></script>