fr | en | es | de

ClickZone®/ScrollView®

New!
Discover the latest tools in the
Analytics Suite, thanks to our new online help.

Contents: Hide

 

All of the information described in this document requires version 4.0.001 or later of the xtcore.js file. This file is available in your interface, from:

ClickZone® allows you to measure all of the clickable items of a page and the zones displayed by the Internet user. The defined zones are analysed and displayed differently: list and Overlay as well as HeatMap for the click analysis.

Using ClickZone®

You need to use version 4.0.001 or later of the xtcore.js file

Download the JavaScript file xtclicks.js from:

Place this file as low as possible in the source code of the page to be measured. This call must be placed just before the call of the xtcore.js file and after the declaration of the standard variables.

<script type="text/javascript">

<!--

xtnv = document;        //parent.document or top.document or document        

…..
xtidmod = "";      //ClickZone model id

xtergo = "";      //0 to deactivate ClickZone

//-->

</script>
<script type="text/javascript" src="http://www.site.com/xtclicks.js"></script>

<script type="text/javascript" src="http://www.site.com/xtcore.js"></script>

Important

Please contact our Support centre if you would like to use the ClickZone analysis with an earlier version of ClickZone, in other words with a version prior to 4.0.00 : several lines of JavaScript need to be added before the closure of the BODY tag.

Note

After these two steps you can start to take advantage of the HeatMap, Overlay, and Click lists analyses. Here, the analyses only refer to navigation clicks.

In order to obtain download and exit clicks, you just need to open the xtclicks.js file and modify the 1st line by changing the scriptOnClickZone variable to 2.

scriptOnClickZone=2    //1=only navigation; 2=all the clicks

Important

Each click which is traced is counted in the global volume making it possible to determine the billing period. If you only wish to audit the navigation clicks so as to lower this volume of measurement, you just have to edit the xtclicks.js file and modify the first line (changing the “scriptOnClickZone" variable to 1).

The tagging procedure is the same for the ClickZone® , ScrollView® and Zones analyses. You can choose to display the analyses of your choice in your interface, via :

You can decide whether or not to display one or more features by clicking on the xtclicks.js file. You can consider:

Renaming items

We recommend that you rename items which are tagged and measured whenever your page contains at least one dynamic item. When you rename the items, you adapt the wordings of the analyses to the needs of the teams that interpret the results.

In order to do so, you must populate the xtclib variable as follows:

<a href= "http://www.site.com" target="_blank" xtclib="New_name">XiTi</a>

Note

In order to name items, you must respect the same rules used for naming web pages: no special characters (or space, quotes, apostrophes, etc). Only the special character “_” can be used to replace the spaces.

This xtclib variable should be included in the tag of the measured item (this is the case for an image) or in the tag which is the closest to the text. In the example above, the tag which is the closest to the "XiTi" text is <a href….>. If you insert a tag such as  <font …> or <b> between both, you must insert xtclib in this tag.

 

For example:

<a href= "http://www.site.com" target="_blank"><font size="2"><b xtclib="New_name">XiTi</b></font></a>

xtclib has been placed in the tag which is closest to the "XiTi" hyperlink: <b>

 

For an image, just insert xtclib directly into the tag <img.

 

For example:

<a href= "http://www.site.com" target="_blank"><font size="2"><b><img src="image.gif" border="0" xtclib="New_name"></b></font></a>

Important

The <p> tag cannot contain the xtclib variable, even if it is the tag which is closest to the clickable text.

Declaring zones

You have the possibility of declaring specific zones within web pages, by declaring a variable named xtcz either in the “div” tags or directly in the tables.

When looking at the results, this allows you to filter your request over specific zones (Granularity option in your click analyses), which gives you a global vision of all of the clicks contained in this zone.

 

Example via div tags directly in the HTML code:

<div xtcz="zone_level1"> 
   text text text text text text
   <div xtcz="zone_level2">

             <a href="site.html" >My link</a><br>

             <a href="site2.html"><img src="image.gif" alt="my image"></a>
   </div>
   text text text

</div>

 

Which could lead to:

Example via a table:

<table>

    <tr xtcz="zone_level1">
        <td xtcz="zone_level2">

             <a href="site.html" >My link</a><br>

             <a href="site2.html"><img src="image.gif" alt="my image"></a>
        </td>

        <td xtcz="zone_level2_b">

             <a href="site3.html" xtclib="Link2">My link2</a><br>

        </td>
   </tr>

</table>

 

Which could lead to:

Note

The zone levels are automatically determined depending on how the HTML items are interlinked (div or table).
For displayed zones, analyses are only available for the level 1.
Declared zones are similar to clicked or displayed zones. The analyses associated with these zones are based on the "xtcz" attribute.

Grouping zones by type

The types of zones are groups of zones which are displayed on the Internet users’ screen and which allow for more global analyses.

There are several types of predefined zones. You can, however, create your own groups.

The ID, which is either provided or generated must be placed in the xtdztype variable that you insert into your tag at the same level as the variable which contains the zone label.

You can choose between several predefined types in order to organise your zone types:

If you want to add a specific type of zone to your site, you have to populate a new label:

An example of a menu zone that has been grouped together is given below:

<tr xtcz= "Zone_level1" xtdztype="CZM">

Creating templates

When creating templates, you create voluminous measurements of web pages which are structured in the same fashion (product sheet, search result pages, etc.). This means that you get all of the results on the one analysis page.

In order to create a template you need to specify the xtidmod variable in the tag.

Creating a template in the interface 7.5:

Creating a template in the interface NX:

You can directly modify the name of the template in the configuration zone.

Specific cases

You already measure clicks with the xt_med() or xt_click() function

In this case, you do not need to delete the calls to the xt_med() or xt_click() function. The two solutions are fully compatible.

If you insert a ClickZone® tag, the xt_med() or xt_click() function is disabled but the properties that you entered are saved (click name, click type ).

Exit clicks between 2 URLs of the same domain

If your account has several websites (xtsite identifier) on a single domain, the ClickZone® code tends to give priority to navigation clicks (same domain) while it deals with exit clicks.

 

For example:

a click from the page

www.site.com/page.html (xtsite=100)

to the page

perso.site.com/page2.html (xtsite=200)

is an exit click for the website 100.

 

Without any action from you, the ClickZone® code will not know that it refers to an exit click (same domain .site.com). As a result, there is no measurement.

Therefore you have the possibility of declaring the type of click via the xtcltype variable (in the same way as the xtclib) by populating:

As in the example, the following link is obtained from the page www.site.com/page.html:

<a href="http://perso.site.com/page2.html" xtcltype="S">link</a>

Recognition of unclickable items

The objective of this measurement is to find out if some items on a page should be clicked upon or not. You must call the xt_click() function via the OnClick action:

<img height="124" alt="" width="103" onclick="return xt_click(this,'C','8','Photo','A');"

 

In this example, any click on the image is measured as an action click ('C' and 'A'. The part of the image which cannot be clicked upon is saved.

Using buttons/ads made with Flash

By default, ClickZone® does not measure the Flash items on your page. It deactivates any call to the xt_med() function which allows the click measurement (N, S, T or A) to take place.

If you wish to have a standard measurement of your clicks on Flash items:

For example, if you use:

javascript:xt_med('C','','chapter::exit','S')

 

You just need to replace it (in the source code of the Flash film) with:

javascript:xt_med('F','','chapter::exit','S')

Measuring clicks on Flash animations

There are two methods which can be used to declare a Flash film in your source code.

 

* Via the “AC_FL_RunContent” JavaScript method

AC_FL_RunContent(              

'codebase', http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',

'width', '456',

'height', '212',

'src', 'http://www.xiti.com/Images/Flash/fr-FR/homepage_v2_5',            

'quality', 'best','pluginspage', 'http://www.macromedia.com/go/getflashplayer',

'wmode', 'transparent',

'id', 'Animation E-commerce',                                                                                           

'movie', 'http://www.xiti.com/Images/Flash/fr-FR/homepage_v2_5'

 

 

The 'wmode' property must be added as a parameter of the function and fixed at the 'transparent' value.

 

* Via a direct method known as “<object”

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"

width="456" height="212" id="Animation E-commerce" >

<param name="movie" value="http://www.xiti.com/Images/Flash/fr-FR/homepage_v2_5.swf" />

<param name="quality" value="high" />

<param name="wmode" value="transparent" />

<embed src="http://www.xiti.com/Images/Flash/fr-FR/homepage_v2_5.swf" quality="high" pluginspage=http://www.macromedia.com/go/getflashplayer type="application/x-shockwave-flash" width="456" height="212" wmode="transparent" name="xtcltypeS" id="Animation E-commerce">

</embed>

</object>

 

The wmode property must be added to a "<PARAM" tag, as well as to the "<EMBED" tag.

By default, the measurement of the Flash animation only considers the navigation clicks. The destination URL, which is returned when clicking on a piece of Flash animation, is empty (urldest=""). The type of click is therefore always equal to N (clickcz=”N”).

In order to declare the type of click as a different value, you should use the property "name" of the clicked object.

As an example, let’s look at the two cases previously mentioned:

AC_FL_RunContent(              

'codebase', http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',

'width', '456',

'height', '212',

'src', 'http://www.xiti.com/Images/Flash/fr-FR/homepage_v2_5',            

'quality', 'best',                                                                                       'pluginspage', 'http://www.macromedia.com/go/getflashplayer',

'wmode', 'transparent',

'id', 'Animation E-commerce',            

'name', 'xtcltypeS',                                                               

'movie', 'http://www.xiti.com/Images/Flash/fr-FR/homepage_v2_5'                                                 );

 

The property 'name' must be added as a parameter of the function. To be able to specify the type of click, the variable must be structured as follows:

'xtcltype'+ type of click ('N','S', 'T' or 'A')

Important

The value of the identifying attribute will be “Animation e-Commerce”, i.e. the ID of the object in this case. If the object does not have any ID, then the value of the identifying attribute will be its NAME, i.e. "xtcltypeS”. It is better to specify an “ID” and a “NAME” for the object at the same time if you wish to declare the type.
When objects are structured like this, certain “ClickZone® " attributes such as “xtclib” or "xtcltype" (which is not appropriate in all cases) can not be used directly.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"

width="456" height="212" id="Animation E-commerce" name="xtcltypeS">

<param name="movie" value="http://www.xiti.com/Images/Flash/fr-FR/homepage_v2_5.swf" />

<param name="quality" value="high" />

<param name="wmode" value="transparent" />

<embed src="http://www.xiti.com/Images/Flash/fr-FR/homepage_v2_5.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"                                                        type="application/x-shockwave-flash" width="456" height="212" wmode="transparent" name="xtcltypeS" id="Animation E-commerce" name="xtcltypeS">

</embed>

</object>

 

The "name" property must be added to the "<OBJECT" tag, as well as to the "<EMBED" tag.

Measuring your site asynchronously

It is possible to tag your site with ClickZone® whenever you measure your site with the asynchronous tag. Tagging your site asynchronously will help avoid issues which slow down a page's loading time. A page's loading time is optimised by forcing a script to be loaded at the same time as the page is loaded. The asynchronous tag and ClickZone® are compatible with one another with version 4.0.001 and later of the xtcore.js file.

 

Please find a template of the asynchronous tag code below:

 

<script type="text/javascript">

<!--

xtnv = document;        //parent.document or top.document or document        

…..

xtidmod = "";      //ClickZone model id

xtergo = "";      //0 to deactivate ClickZone

//-->

</script>

<script type="text/javascript" src="http://www.site.com/xtclicks.js"></script>

<script type="text/javascript">

<!--

//do not modify below

... [Asynchronous tag code]

 

Should you require any further information on how to implement the asynchronous tag, please refer to the following section of the Help centre: Implementation and tagging  > Analyzer NX > Specific cases > Asynchronous tag.

 

ico_up.gif