Jump to Table of Contents

External Domains

External domains are external websites such as 3rd party payment funnels, or any external domains that are part of the main website that can be bounced to and from. This article explains how to consider and setup external domains using Infinity.

Configuring External Domains

Using the External Domains tracking feature allows you to specify certain domains that should be treated as part of the main website so that additional activity will be seen as page views rather than lands, which allows for cross domain tracking. Please be aware this does not allow cross domain tracking when visitors visit the domains without directly clicking a link from one domain to another.

This is a useful feature when you have tracking JavaScript for a single IGRP installed on multiple domains. An example of this would be tracking multiple parts of the same website:

blog.infinitycloud.com
www.infinitycloud.com
secure.infinitycloud.com

You can request that a particular domain, sub-domain or global domain syntax be added to your external domains list by contacting our Support Team on support@infinitycloud.com

The external domain setting can accept patterns such as:

*.infinitycloud.com

This allows you to specify a single pattern rather than a long list of domains if you use a lot of sub-domains for instance. The above syntax would accept all of the sub-domains we listed in the previous example. It is also recommend that you tag your External Domain’s within your current Infinity JavaScript code, due to 3rd Party Cookies not always being available.

Here is more information for Cookies we use.

Tagging External Domains within your Infinity JavaScript code

To automatically have external links tagged with visitor/source information you should use the following method call. This will require adding a line of script to your current Infinity code. This line of code appends the Infinity visitor ID to the end of the URL which will look like

http://domain.com/path/to/something?ictd[master]=vid~82abc76defg&ictd[il1100]=land~2_13787_direct_12345~rlt~6789

This visitor trace is what allows cross domain tracking across all browsers:

_ictt.push(['_tagExternalDestinations']);

This should be added before the _track call in your existing infinity tracking code.

Example code below:

<!--
   This is demonstration code only. Do not use in production.
   Please use the code generator in the Infinity Portal at:
   https://portal.infinity-tracking.com/admin/config/javascript 
-->
<!-- Infinity Tracking Code v2.0
Copyright Infinity 2015
www.infinitycloud.com -->
<script type="text/javascript">
    var _ictt = _ictt || [];
    _ictt.push(['_setIgrp','XXX']); // Installation ID
    _ictt.push(['_enableGAIntegration',{'gua':true,'ga':false}]);
    _ictt.push(['_enableAutoDiscovery']);
    _ictt.push(['_tagExternalDestinations']);
    _ictt.push(['_track']);
    (function() {
    var ict = document.createElement('script'); ict.type = 'text/javascript'; ict.async = true;
    ict.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'ict.infinity-tracking.net/js/nas.v1.min.js';
    var scr = document.getElementsByTagName('script')[0]; scr.parentNode.insertBefore(ict, scr);
    })();
</script>
<!-- Infinity Tracking Code End -->
</head>

In rare occasions the visitor ID that is appended to the URL when moving across domains may break links to other sites. If your website includes links to sites other than your own, you may want to use the following line of script which allows the visitor ID to be added only to the domains you add in the script:

_ictt.push(['_tagExternalDestinations', ['example.com']]);

Please do also ensure you have configured your external domains with the Support Team.

Please login to rate this article
  1. Getting Started
  2. Enhancing your Installation
  3. Frequently asked questions
  4. Call Management
  5. Number Management
  6. Infinity API