Introduction
Cross-domain tracking refers to the process of recording visitor data and segmenting it over several domains or subdomains for analysis, eg if a link on your main domain transfer web visitors to another website.
Setup
No changes are needed to Delacon’s standard tracking code to enable cross domain tracking. However, all links between the domains need to be altered in the website HTML.
Where the link on the first domain to the second domain (and vice versa) would normally be;
<a href="http://otherdomain.com/entry.html">Jump to another domain</a>
This should be changed to:
<a href="#" onclick="_ctlink('http://otherdomain.com/entry.html', true); return false;">Jump to another domain</a>
Please note that use of the correct formatting as per the example above is essential, in particular the placement of single and double quotes ( ' / " )
Any link between the domains will need to be updated in this manner to allow the initial session information from the first domain (where the customer has landed) to be passed through to the second domain and reported as the source of the call when the Delacon number is dialled.
Google Analytics
Delacon’s cross domain tracking works in conjunction with Google Analytics tracking code (if it is being used), but requires the implementation of Cross Domain Measurement. The instructions for making the relevant changes to the Google Analytics code can be found here.
FAQ
- Is the cross-domain tracking setup needed when tracking sub-domains?
No, any referrals to a sub-domain are covered by our standard tracking code and no further code changes are needed. More info can be found in this FAQ.
Comments
0 comments
Please sign in to leave a comment.