Web API

WebTracker

Other API in Package

User

Internal Tunnel

Internal Web

Tunnel

List of Classes

CommonController

WebController

AjaxResponse

AnalyticDataViewFilter

Archive

ArchiveManager

AreaChart

Attachment

AudioFile

BarChart

BillingEngine

BillingEvent

Browser

Buffer

BusinessUtil

CacheManager

Cell

CellFilter

Chart

ChartSharedSettings

ChartTool

Chunk

ClientSocket

ClientSocketManager

ConsoleManager

ConsoleResponse

Cube

Data

DataList

DataListFilter

DataReader

DataRecord

DataSet

DataSetRecord

DataSetResult

DataView

DataViewBuilder

DataViewCriteria

DataViewFilter

DataViewList

DataViewRecord

DatasetFile

DateUtil

DisplaySettings

Document

DocumentFile

DownloadResponse

Email

EncryptionUtil

Enterprise

EnterpriseInfo

ExcelFile

File

FileBuffer

Formatter

Fragment

GeoUtil

GroupConcat

ImageFile

Inspector

InvoiceInfo

JSONBuffer

JSONParser

Job

JobManager

LineChart

LockManager

Logger

MailBox

MailBoxList

MailMessage

MailResponse

Message

MessageManager

Modules

Monitor

NavigatorResponse

PWA

Packet

PacketDataList

PacketDataRecord

Page

PagingInfo

Pal

PalActivationKeyInfo

PalInfo

Payload

PdfFile

PieChart

Pin

Profile

ProfileInfo

ProfilePacket

ProfilePalManager

ProfileTxManager

QRUtil

Render

Request

Response

Role

RuntimePal

SSOToken

SafeBox

ScatterPlotChart

ServiceRequest

ServiceResponse

ShellPal

ShellPalManager

SignSettings

SiteBuilder

Slice

SmartDoc

SmartDocManager

Socket

SocketResponse

StorageProvider

StorageProviderDataList

StoredObject

SystemDataView

SystemDataViewFilter

TextEmail

TextMessage

TiffBuilder

TransactionPacket

Tunnel

TunnelResult

UnknownFile

Upload

VCardFile

Validator

ValidityCheck

WebTracker

Wizard

XMLReader

ZoneAccess

Service used for tracking web traffic. This is not designed to be highly available or completely accurate. It is stored in memory and not persistent.

Method Summary
  autoCommit(boolean enabled)

Enables or disables auto-commit. When enabled, the tracker runs the auto serialization process as soon as either the event or page inventory reaches its limit, then resets both inventories so tracking can continue. The serialization process stores the summarized payload to the storage provider, runs the terminate workflow, or both, depending on which are set. Default is false.

int getBadRequests()

Returns the number of logged pages that look like bad/bot requests-- those not ending in .htm, .html, .do or .json. .txt is excluded from the count only for robots.txt, and .xml is excluded from the count only for sitemap.xml.

int getCommitCount()

Returns the number of times auto-commit has run the auto serialization process for this tracker.

String getStorageProvider()

Returns the name of the storage provider used to store the summarized payload when the session ends, if set.

String getTerminateWorkflow()

Returns the name of the session termination workflow, if set.

  logEvent(String eventId, String eventData)

Adds the event to the log, with a timestamp. Max length of eventId and eventData are 1000 each and they are truncated to the limit.

  logPage(String url)

Adds or updates the page/navigation count. Max length of the url is 1000 and it is truncated to the limit.

  setEventLimit(int limit)

Sets the limit to the total number of events to log. Stops logging when reached. Default is 100, max is 1000.

  setPageLimit(int limit)

Sets the limit to the total number of pages to log. Stops logging when reached. Default is 100, max is 1000.

  setProperty(String key, String value)

Sets a property that can be retrieved in the summary payload. Max length of key and value are 1000 each and they are truncated to the limit.

  setStorageProvider(String name)

Sets the name of the storage provider to store the summarized payload to when the session ends. Set this to null to not store. Throws if the storage provider does not exist.

  setTerminateWorkflow(String workflow)

Sets the console system workflow to run when the session ends. Set this to null to not run workflow. Throws if the workflow does not exist or is not a console system workflow.

  setUserAgent(String userAgent)

Overrides the user agent recorded for this tracker and re-evaluates whether it is a bot. Intended for developer testing of bot detection and the trackBots setting.

Payload summarize()

Returns a payload containing the data and two lists- events and pages.

  terminate(boolean log)

Deletes this tracker and removes from the sessions storage. If log is true, the storage provider upload and terminate workflow (if set) are run immediately before the tracker is removed.

String toString()

Returns a description of this object.

  trackBots(boolean track)

Enables or disables tracking of bots. Whether the current user agent is a bot is determined once when the tracker is created. When disabled and the tracker was created for a bot, all tracking is ignored-- events and pages are not logged, and no serialization or terminate workflow is ever run for this tracker. Default is true.

Method Detail


autoCommit(boolean enabled)

Enables or disables auto-commit. When enabled, the tracker runs the auto serialization process as soon as either the event or page inventory reaches its limit, then resets both inventories so tracking can continue. The serialization process stores the summarized payload to the storage provider, runs the terminate workflow, or both, depending on which are set. Default is false.

Parameters:

  • boolean   enabled Required parameter.

Since: 08-28-2026

top

int getBadRequests()

Returns the number of logged pages that look like bad/bot requests-- those not ending in .htm, .html, .do or .json. .txt is excluded from the count only for robots.txt, and .xml is excluded from the count only for sitemap.xml.

Returns:  int

Since: 08-20-2026

top

int getCommitCount()

Returns the number of times auto-commit has run the auto serialization process for this tracker.

Returns:  int

Since: 08-28-2026

top

String getStorageProvider()

Returns the name of the storage provider used to store the summarized payload when the session ends, if set.

Returns:  String

Since: 08-20-2026

top

String getTerminateWorkflow()

Returns the name of the session termination workflow, if set.

Returns:  String

Since: 08-20-2026

top

logEvent(String eventId, String eventData)

Adds the event to the log, with a timestamp. Max length of eventId and eventData are 1000 each and they are truncated to the limit.

Parameters:

  • String   eventId
  • String   eventData

Since: 08-20-2026

top

logPage(String url)

Adds or updates the page/navigation count. Max length of the url is 1000 and it is truncated to the limit.

Parameters:

  • String   url

Since: 08-20-2026

top

setEventLimit(int limit)

Sets the limit to the total number of events to log. Stops logging when reached. Default is 100, max is 1000.

Parameters:

  • int   limit

Since: 08-20-2026

top

setPageLimit(int limit)

Sets the limit to the total number of pages to log. Stops logging when reached. Default is 100, max is 1000.

Parameters:

  • int   limit

Since: 08-20-2026

top

setProperty(String key, String value)

Sets a property that can be retrieved in the summary payload. Max length of key and value are 1000 each and they are truncated to the limit.

Parameters:

  • String   key Required parameter.
  • String   value

Since: 08-20-2026

top

setStorageProvider(String name)

Sets the name of the storage provider to store the summarized payload to when the session ends. Set this to null to not store. Throws if the storage provider does not exist.

Parameters:

  • String   name Required parameter. Maximum allowed size of parameter: 32

Since: 08-20-2026

top

setTerminateWorkflow(String workflow)

Sets the console system workflow to run when the session ends. Set this to null to not run workflow. Throws if the workflow does not exist or is not a console system workflow.

Parameters:

  • String   workflow Maximum allowed size of parameter: 500

Since: 08-20-2026

top

setUserAgent(String userAgent)

Overrides the user agent recorded for this tracker and re-evaluates whether it is a bot. Intended for developer testing of bot detection and the trackBots setting.

Parameters:

  • String   userAgent Required parameter.

Since: 08-28-2026

top

Payload summarize()

Returns a payload containing the data and two lists- events and pages.

Returns:  Payload

Since: 08-20-2026

top

terminate(boolean log)

Deletes this tracker and removes from the sessions storage. If log is true, the storage provider upload and terminate workflow (if set) are run immediately before the tracker is removed.

Parameters:

  • boolean   log Required parameter.

Since: 08-20-2026

top

String toString()

Returns a description of this object.

Returns:  String

Since: 08-20-2026

top

trackBots(boolean track)

Enables or disables tracking of bots. Whether the current user agent is a bot is determined once when the tracker is created. When disabled and the tracker was created for a bot, all tracking is ignored-- events and pages are not logged, and no serialization or terminate workflow is ever run for this tracker. Default is true.

Parameters:

  • boolean   track Required parameter.

Since: 08-28-2026

top
Copyright © 2006 - 2026, ContractPal, Inc. All rights reserved. API Date: Aug 29, 2026 06:29 AM