First, realize that this will only provide a sampling of information
of those visitors whose browsers support JavaScript and have it
enabled.

Analog provides no inherent method to create custom reports does not
have any reports for screen width and height. You can, however, hijack
one of the existing reports you are not using and implement that.

To do this, create a custom log format that uses one of the un-used
fields in the location of the data you want to collect. For example,
if you are not generating a Virtual Host report, you can put %v in the
final field of your log file format. See
http://analog.cx/docs/logfmt.html for more details on the LOGFORMAT
commands.

Then enable the report (e.g. VHOST ON) and it should total all unique
cookies. There is no way to get Analog to parse the cookie field if
you want to report on screen and window width and height and bit depth
independently. You might be able to do it with a LOGFORMAT specifying
that the data ends in a ';' but if the cookie order changes or any
item is missing that won't work.

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group


Pye, Nick ([EMAIL PROTECTED]; Monday, June 09, 2003 7:18 AM):

> Hi,
 
> I'm trying to determine, what screen resolution people are using to view my site. 
> I'm using the following JavaScript to set a cookie.
 
> <script language="JavaScript">
> <!--
> var wHeight, wWidth, sHeight, sWidth, bitDepth;
 
> if (document.all)
>  { wHeight = document.body.clientHeight;
>   wWidth = document.body.clientWidth;
>   sHeight = screen.height;
>   sWidth = screen.width;
>   bitDepth = screen.colorDepth; }
> else if (document.layers)
>  { wHeight = window.innerHeight;
>   wWidth = window.innerWidth;
>   sHeight = screen.height;
>   sWidth = screen.width;
>   bitDepth = screen.colorDepth; }
 
> document.cookie = "wHeight=" + wHeight + ";";
> document.cookie = "wWidth=" + wWidth + ";";
> document.cookie = "sHeight=" + sHeight + ";";
> document.cookie = "sWidth=" + sWidth + ";";
> document.cookie = "bitDepth=" + bitDepth + ";";
// -->>
> </script>
 
 
> This provides me with :
 
> 2003-06-09 13:19:28 10.1.18.108 - W3SVC1 GBSVG088 10.1.18.108 80 GET /index.htm - 
> 304 0 139 372 0 HTTP/1.1 gbsvg088 
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+Feedreader)
> wHeight=850;+wWidth=1252;+sHeight=1024;+sWidth=1280;+bitDepth=16 -
  
> in the IIS logfile.
 
 
> My question is how do I parse 
> "wHeight=850;+wWidth=1252;+sHeight=1024;+sWidth=1280;+bitDepth=16 -"  with analog 
> ????
 
> I would like a report in % of most popular screen resolution with maybe a pie chart 
> ???
 
> Kind Rgds
 
> Nick Pye

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to