Search these areas:
Support Forums
Product Info

-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Data Analysis
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-New Responsive UI Module

DataWeb Help
Support Forums
Script Library
Knowledge Base

Home > Support

Script Library

  Track Visitors
  chubbard posted this script:
  A very useful web to keep track of who visits your web when. Post this script in your /themes/template.view file. Check your /system/log/default.view file to see this script's results.

// track web visitors
script.log( "visited" + request.getRequestURI() + "?" + request.getQueryString() );
  on 2001-04-06 12:28:10, chubbard responded:
  I'm wondering, does this script only track users who are logged on?  
  on 2001-04-06 12:39:18, chubbard responded:
  It'll track all users, but it will track users who are not logged on as members of your web as "Anonymous".  
  on 2001-05-22 14:50:18, chubbard responded:
  Is there a way to exclude certain users from this visitor tracker? For instance, if I wanted to exclude myself from the log file, how would I do that?  
  on 2001-05-22 14:53:17, chubbard responded:
  modify the script so it reads:

// track web visitors, except jennifer
if ( != "jennifer" )
  script.log( "visited" + request.getRequestURI() + "?" + request.getQueryString() );
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us