zacsmith
28th of June 2004 (Mon), 18:07
I use the Web-Stat service to track visitors to my sites and their movements through the pages. I'd like to be able to add the tracking code to EE 1.5 RC4 pages, but am unsure where to add it. Can you help? Here's the code, which needs to be placed between the body tags:
<!-- Begin Web-Stat hit counter code -->
<script type="text/javascript">
<!--
var page_name = '';
var invisible = '';
var framed = 'no';
function sE(){return true;}window.onError=sE;var base=document;
if(framed=='yes'){base=top.document;}var rn=Math.random();
var ui='123s';var al='Web-Stat hit counters';
var qry=ui+':2::'+escape(base.referrer)+'::'+screen.wi dth
+'x'+screen.height+'::'+screen.colorDepth+'::'+esc ape(page_name)
+'::'+invisible+'::'+rn+"::"+escape(base.URL);
document.write('<a href="http://www.web-stat.com">');
document.write('<img src="http://server3.web-stat.com/count.pl?');
document.write(qry+'" border="0" alt="'+al+'"/><\/a>');
//-->
</script><noscript>
<a href="http://www.web-stat.com">
<img src="http://server3.web-stat.com/count.pl?zackbass:2::NoJavaScript" alt="Web-Stat hit counter" border="0"/>
</a></noscript>
<!-- End Web-Stat hit counter code -->
This code will report the view of the page it is on to my account with web-stat.com along with the rest of the site.
Thanks for any ideas!
zack
<!-- Begin Web-Stat hit counter code -->
<script type="text/javascript">
<!--
var page_name = '';
var invisible = '';
var framed = 'no';
function sE(){return true;}window.onError=sE;var base=document;
if(framed=='yes'){base=top.document;}var rn=Math.random();
var ui='123s';var al='Web-Stat hit counters';
var qry=ui+':2::'+escape(base.referrer)+'::'+screen.wi dth
+'x'+screen.height+'::'+screen.colorDepth+'::'+esc ape(page_name)
+'::'+invisible+'::'+rn+"::"+escape(base.URL);
document.write('<a href="http://www.web-stat.com">');
document.write('<img src="http://server3.web-stat.com/count.pl?');
document.write(qry+'" border="0" alt="'+al+'"/><\/a>');
//-->
</script><noscript>
<a href="http://www.web-stat.com">
<img src="http://server3.web-stat.com/count.pl?zackbass:2::NoJavaScript" alt="Web-Stat hit counter" border="0"/>
</a></noscript>
<!-- End Web-Stat hit counter code -->
This code will report the view of the page it is on to my account with web-stat.com along with the rest of the site.
Thanks for any ideas!
zack