Information Technology Reference
In-Depth Information
click, and so on. However, i will not be debating the accuracy of these common ways
of collecting data, nor will i discuss the inherited challenges of cookie-based tracking. i
suggest reading Brian Clifton's Advanced Web Metrics with Google Analytics (Sybex,
2008) because it has some very good chapters, including in-depth commentary on that
topic, explaining the difference between log files and page tagging.
You will be required, when reading the irst part of this topic, to have some
basic understanding of JavaScript, not on a programming level but on a simple cus-
tomization level. Most of this and the next four chapters are about customizing the
standard tracking script, shown here:
<!— IndexTools Customization Code —>
<!— Remove leading // to activate custom variables —>
<script type=”text/javascript”>
//var DOCUMENTGROUP='';
//var DOCUMENTNAME='';
//var ACTION='';
</script>
<!— End of Customization Code —>
<!— IndexTools Code v4.00 - All rights reserved —>
<script type=”text/javascript” src=”http://visualrevenue.com/indextools.
js”></script><noscript>
<div><img src=”http://stats.indextools.com/p.pl?a=10001277xxxxx&amp;js=no”
width=”1” height=”1” alt=”“ /></div></noscript><!—//—>
<!— End of IndexTools Code —>
5
this tracking script is what we would call a plain-vanilla tag, simply because it
collects the basic information needed on a page on your website. this is also the track-
ing script that you will use as the foundation and the one you will mold, by applying
different variables, into collecting much more interesting information than just the
page title, a basic referring Url, or other simple system information.
the previous tracking code is the original tracking script Version 4, and the fol-
lowing is the new updated Version 5 of the tracking script:
<!— Yahoo! Web Analytics - All rights reserved —>
<script type=”text/javascript”
src=”http://d.yimg.com/mi/ywa.js”></script>
<script type=”text/javascript”>
var YWATracker = YWA.getTracker(“1000123xxxx”);
//YWATracker.setDocumentName(“”);
YWATracker.submit();
</script>
<noscript>
<div><img
Search WWH ::




Custom Search