New!
Discover the latest tools in the Analytics
Suite, thanks to our new online help.
Contents: Hide
Tagging procedures differ depending on the AT Internet solutions that you have subscribed to. If you already use AnalyzerNX the analyses rely on the use of the tagging that is already in place.
No modification to the tagging process nor any additional tagging is required.
For any additional information please read the tagging method that should be used by visiting the following section of the online help: Implementation and tagging > Analyzer NX > Main Tag.
About the Javascript file:
ChannelOptimizerNX
uses the xtcore.js JavaScript file which is available in Tools > Tags
> Main tag.
About goal pages: We strongly recommend
that you check that you have correctly declared the goal pages in AnalyzerNX
(Tools > Configuration > Goals and Sales), and that these goal pages
correspond to your expectations so that they can be used in ChannelOptimizerNX.
Goal pages which have been declared in AnalyzerNX
can be retrieved in ChannelOptimizerNX.
For any additional information please visit the following section of the
online help: Implementation
and tagging > Analyzer NX > Specific Tags > Goals and Sales (SalesTracker).
The example that is used here implies that no tagging has been carried out on your site.
First of all you need to go to Tools > Tags on your interface so that you can access the different steps that are involved in setting up the analysis.
Download the xtcore.js JavaScript file onto your hard drive (by clicking on the tab entitled "xtcore.js file")
Place this xtcore.js file online by placing it on the server which hosts your website
Copy/paste the main tag's code into the source
code of your goal pages
Remember to replace www.site.com with
the URL of the site that the xtcore.js JavaScript file should be placed
in
a goal page is a page on your website which you would like to see visitors arrive on. Whenever ChannelOptimizerNX is used in "stand alone" mode, the goal pages must be activated by tagging the pages using the "xtgoal" function (see tag below).
The tag is divided into 2 parts: a SCRIPT part and a NOSCRIPT part. Only one of these parts can be called upon by an Internet user's computer, depending on whether or not the Internet user has decided to accept JavaScript. It is therefore essential that these two different parts are configured in the same way on all pages, if this is not the case the pages will be considered as being different.
All of the pages will use the same tag, based on the following model:
<script type="text/javascript">
<!--
xtnv = document; //parent.document or top.document or document
xtsd = "http://logxxxx";
xtsite = "xxxxx";
xtpage = "";
xtgoal = "";
xt_an = ""; //numeric identifier
xt_ac = ""; //category
xt_orderid = ""; //order ID
xt_roimt = ""; //Sales Turnover indicator
xt_newcus = ""; //is this a new customer? 1/0
//do not modify below
if(window.xtparam!=null){window.xtparam+="&gl="+xtgoal+"&an="+xt_an+"&ac="+xt_ac+"&cmd="+xt_orderid+"&newcus="+xt_newcus+"&roimt="+xt_roimt;}
else{window.xtparam="&gl="+xtgoal+"&an="+xt_an+"&ac="+xt_ac+"&cmd="+xt_orderid+"&newcus="+xt_newcus+"&roimt="+xt_roimt;}
//-->
</script>
<script type="text/javascript" src="http://www.mysite.com/xtcore.js"></script>
<noscript>
<img width="1" height="1" src="http://logxxxx.xxxx/hit.xiti?s=xxxxx&p=&gl=&an=&ac=&cmd=&newcus=&roimt=" />
</noscript>
The different tag variables must be entered (either as a compulsory or as an optional variable) depending on the type of the page that has been tagged (in other words as a goal page or not).
Variables |
Description |
Main objective pages |
|
xtnv |
Compulsory – this is the HTML level of the site’s tree structure. This variable specifies the area in which the referrer is to be retrieved. By default this variable is entered in "document", and should be changed to "parent.document" in the case of a frame/iframe on the same domain name (for different domain names, please contact our Customer Service). |
xtsd |
Compulsory – this is the sub-domain of AT Internet’s collector. This variable can be retrieved from the Tags panel. This information should not be modified. |
xtsite |
Compulsory – this is the site’s numerical ID. This variable can be retrieved from the Tags panel. This information should not be modified. |
xtpage |
Compulsory – this is the page label which must be entered by you. |
xtgoal |
Compulsory – this is the type of objective page. The value "1" must be entered by default for the main objective pages. |
xt_orderid |
Compulsory for orders – order/booking number. |
xt_roimt |
Compulsory for orders – indicative sales total. If this variable is not entered and if the xt_orderid variable is entered, then a total value of 0 will be associated with the order (a total which will have an effect on the average values). |
xt_newcus |
Compulsory for orders – new customer (the value "1" must be entered for a new customer, otherwise a value of "0" must be entered if this is not the case). |
xt_an |
Optional (but strongly recommended) – numerical ID of the identified visitor. |
xt_ac |
Optional – numerical ID of the visitor category. |
Pages of the site which are not declared as "Objective pages " |
|
xtnv |
Compulsory – this is the HTML level of the site’s tree structure. This variable specifies the area in which the referrer is to be retrieved. By default this variable is entered in "document", and should be changed to "parent.document" in the case of a frame/iframe on the same domain name (for different domain names, please contact our Customer Service). |
xtsd |
Compulsory – this is the sub-domain of AT Internet’s collector. This variable can be retrieved from the Tags panel. This information should not be modified. |
xtsite |
Compulsory – this is the site’s numerical ID. This variable can be retrieved from the Tags panel. This information should not be modified. |
xt_an |
Optional (but strongly recommended) – numerical ID of the identified visitor. |
xt_ac |
Optional – numerical ID of the visitor category. |
As far as the complete mode of ChannelOptimizerNX is concerned, a JavaScript file must be hosted on the server. This file MUST NOT BE EDITED, as it contains libraries of necessary functions which allow our tool to work correctly on your site.
We recommend that you place the JavaScript file at the website's root, or into a directory which can be easily accessed. Once the file is placed on the server, the file's path must be entered into the SCRIPT by replacing the URL http://www.mysite.com/xtcore.js, which is specified by default. It is possible to enter a relative or absolute path in this part of the script.
The importance of this file is that it will be called upon by all of the tags of the site that is to be audited. As a result it is quick and simple to update the file: updating the tag = updating the JavaScript file
To get the latest information on tag updates or any enhancements made to the tag please visit the Support Centre on your interface and go to the section entitled Latest News.
A secure version of the tag is available and allows you to measure audience levels for the secure pages of your website. This tag code is linked to our secure servers.
In order to obtain the secure version of a tag all you need to do is click on the "padlock" icon depending on the code type requested.
Please remember to also place your JavaScript file onto a secure server.
www.atinternet.com/support
© AT Internet - 2016 - All rights reserved