Forum Moderators: DixonJones

Message Too Old, No Replies

SuperStats (MyComputer)

can this tracking code be used on xhtml 1.1 strict sites?

         

myleskelly

4:19 pm on Jul 29, 2004 (gmt 0)

10+ Year Member


I have made the plunge and am recreating the sites I manage in xhtml 1.1 and compliant with WAI AAA standards.

The biggest problem is with the site that uses a JavaScript tracker in the page as supplied by SuperStats. It is stopping the page from validating.

While most of the things seem to stem from deprecated tags and language declarations that can be edited without affecting the wroking of the js code in the page, I am worried that tinkering may inadvertantly "break" the tracker. Just commenting out the code with <![CDATA[ after adjusting the xhtml does not seem to have worked...

I have written to SuperStats on the issue but have not got an answer yet.

Has anyone who manages a site tracked by SuperStats made the change to xhtml and encountered any validation issues.

Thanks for the help.

Myles

A sample of the code as supplied is pasted below:

<!-- Start Superstats code version 3.0b. http://v2.superstats.com -->
<script language="JavaScript">
/* You may give each page an identifying name, server, and channel on the next lines. */
var pageName = "Page"
var server = "Server"
var channel = "Channel"
/**** DO NOT ALTER ANYTHING BELOW THIS LINE! ****/
var code = ' ';
</script>
<script src="http://code.superstats.com/code/ss/accountname/0/30b">
</script>
<script language="JavaScript">
br = navigator.appName + parseInt(navigator.appVersion)
if (code!= ' ' ¦¦ br == 'Netscape2') document.write(code)
else document.write('<a'
+ ' href="http://stats.superstats.com/c/ss/accountname" target="_top"><img'
+ ' src="http://stats.superstats.com/b/ss/accountname/1'
+ '?pageName=' + escape(pageName) + '&server=' + escape(server)
+ '&channel=' + escape(channel) + '" border=0></a>')
document.write('<'); document.write('!-- ')
</script>
<noscript><a
href="http://stats.superstats.com/c/ss/accountname"
target="_top"><img
src="http://stats.superstats.com/b/ss/accountname/1"
border=0 alt=""></a></noscript>
<script language="JavaScript">
document.write(' --'); document.write('>')
</script>
<!-- End Superstats banner code. -->

myleskelly

4:35 pm on Jul 29, 2004 (gmt 0)

10+ Year Member



PS. I have wanted for some time to have this site's owners to use a log analysis tool that gives the same kind of results and reports as the SuperStats professional package.

Something with the same breadth of reporting with the client friendly graphical reports.

Strangley enough they have the money to pay for SuperStats professional, which ain't cheap - but the site is on a server without asp, cgi, php etc nor will they pay the bit more for this functionality!

If the day comes when I cn talk them around do you have any recommentations?

tbear

5:54 pm on Jul 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I gave up on getting a response from Superstats!
They accept payments and then set stuff up as they will, and they ain't cheap......... They don't seem to be interested in (paying) client opinion.