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 service with a single number or a pool of dynamic numbers that tracks one number on the 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 tracked 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>
Code 4 - MID only code for webpages with no tracked phone numbers
In order to make sure your call tracking data is as accurate as possible, you need to ensure that the call tracking code is placed on every page of your website – even on pages that you are not using call tracking on.
By placing our code on every page, you are ensuring that call tracking data is collected across your entire website, including tracking the correct referral source. The team often finds that clients who are only using call tracking across one vertical or section of the site run into accuracy issues as the code is not implemented site wide.
For example, if a call is made from a page that has no tracking code, all preceding referral information will be lost as the page with no code becomes the referrer. Any subsequent page visited will make the page with no code the original referral source when a call is made.
When placing the code on pages you are not using call tracking on, you will need to remove the CID and preceding dash from the standard tracking code but keep the MID as previously used.
Example:
If your MID is 100, the call tracking code will look like the below:
<script src="//vxml4.plavxml.com/sited/ref/ctrk/100" async></script>
Related Articles
Comments
0 comments
Please sign in to leave a comment.