User login

MetaTraffic 2.0 Boxshot

/?js=true quirk

Posted by purple-circle [November 23, 2003]

I've been using Metatraffic for a few months now. Initially just as the statndard, the out of the box vanilla variety with a JavaScript track on every page as the pages were already written as standard HTML. As I'm adding more pages to the site I've been using either the server execute or server include code for SAP pages. Recently. after one of my frequent visits to these forums I noticed that you'd posted a JavaScript detection code. I've since implemented this on all of the pages. As far as the tracking goes, everything works fine. However, now the highest ranking page is pagename.asp/?js=true. Is there anyway of excluding this from the stats, or a way of making the results more useful? Such as combining the page that is calling up the pagename.asp/?js=true rather than just pagename.asp/?js=true. The reason I ask is that every page is listed twice. Once when the visitor hits the site for the first time, when the pagename.asp/?js=true version of the page is logged and secondly on a later return where the standard pagename.asp is logged.

/?js=true quirk

Hi,

You could always add a line of code like this in the class.asp file on Line 140:

strQuerystring = Replace(strQuerystring, "js=true", "")

Regards,
~Chad

/?js=true quirk

Thanks for the reply Chad.

I've added the code to the class.asp page and it works fine. It's not a very busy site, and there are only around 20 pages, so I downloaded the database and combined the pagename.asp/?js=true with the actual pages and now the stats make clearer reading.

Thanks again.

Grant.