New!
Discover the latest tools in the Analytics
Suite, thanks to our new online help.
The use of dynamic labels enables you to keep track of the history of a particular web page whose content has been modified.
This tag, which is aimed primarily at media sites, is used to continually monitor the updates which are applied to a web page (mainly updates which are applied to written articles).
The page can be renamed so that it corresponds more to the editorial content which is included in the page, without interfering with any of the analysis that are carried out on the page.
So that the history of a particular web page is conserved, three different variables need to be entered:
xt_pageID: this is the dynamic identifier which is used to rename a page without having to recreate a new page
xt_chap: the name of the chapter which corresponds to the new title of the page
xt_pageDate: the date on which the page name has been changed is entered in the format YYYYMMDDHHMM
These dynamic label variables are to be inserted between the variables xtpage and xtdi.
Chapters which are created in this way will be considered as being different from chapters which are entered directly into a "standard" xtpage, even if the same label has been entered (the chapters will appear twice). We strongly advise you to clearly distinguish between these types of chapters whenever you are tagging your site.
xt_pageID = ""; //Page ID
xt_chap = ""; // Name of the chapter of the page
xt_pageDate = ""; // Date of change
//do not modify below
if (window.xtparam!=null){window.xtparam+="&pid="+xt_pageID+"&pchap="+xt_chap+"&pidt="+xt_pageDate;}
else{window.xtparam="&pid="+xt_pageID+"&pchap="+xt_chap+"&pidt="+xt_pageDate;}
An article is published on one of the pages of your website on the 30th September at 4:30pm. The tags which need to be applied are as follows:
<script type="text/javascript">
<!--
xtnv = document; //parent.document or top.document or document
xtsd = "http://logi163";
xtsite = "385345";
xtn2 = "1"; // level 2 site
xtpage = "mypage1;"
xt_pageID = "123456"; //Page ID
xt_chap = "mychapter1::mychapter2::mychapter3"; // Name of the chapters of the page
xt_pageDate = "200909301630"; // Date of change
//do not modify below
if (window.xtparam!=null){window.xtparam+="&pid="+xt_pageID+"&pchap="+xt_chap+"&pidt="+xt_pageDate;}
else{window.xtparam="&pid="+xt_pageID+"&pchap="+xt_chap+"&pidt="+xt_pageDate;};
xtdi = ""; //implication degree
//-->
</script>
At 10:45am on the 3rd October an article, which deals with a different subject, is posted on the same web page. The name of the web page has been modified but the page ID has not. In this case, the following tags need to be applied:
<script type="text/javascript">
<!--
xtnv = document; //parent.document or top.document or document
xtsd = "http://logi163";
xtsite = "385345";
xtn2 = "1"; // level 2 site
xtpage = "mypage2;"
xt_pageID = "123456"; //Page ID
xt_chap = "mychapter1::mychapter2::mychapter3"; // Name of the chapter of the page
xt_pageDate = "200910031045"; // Date of change
//do not modify below
if (window.xtparam!=null){window.xtparam+="&pid="+xt_pageID+"&pchap="+xt_chap+"&pidt="+xt_pageDate;}
else{window.xtparam="&pid="+xt_pageID+"&pchap="+xt_chap+"&pidt="+xt_pageDate;};
xtdi = ""; //implication degree
//-->
</script>
The value of the xtpageID must be unique for a site, even if the level 2 site (xtn2) is different. If the value of the xtpageID variable uses the same value for two different level two sites, then the second xtn2 variable will be ignored and the xtpage variable will be measured (as a standard hit).
www.atinternet.com/support
© AT Internet - 2016 - All rights reserved