Search these areas:
Help
Support Forums
Product Info



-Introduction
-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Views
-Templates
-Components
-Data Analysis
-Members
-Security
-Importing
-Exporting
-FTP
-JavaScript
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-Glossary
-New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
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 (user.name != "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