PltHead Method

 

The Enterprise Edition of BrowserHawk features cyScape’s patented technology which tracks the actual Page Load Times (PLT) for each and every visitor to your site, along with other information about each page request.

 

This information is logged to your database in real-time using the BrowserHawk Reports Web Service (BRWS). This data proves invaluable for quality assurance, troubleshooting, and other analytical purposes. The information is also available at run-time through client-side scripting, so special actions can be taken based on the data.

 

To use the PLT feature, you simply call the PltHead method from your pages within the HEAD section of your HTML. Upon doing so, BrowserHawk dynamically inserts JavaScript into the browser which instruments the page for PLT tracking. This JavaScript is very efficient and only 3KB in size.

 

Syntax:

bhObject.PltHead [logType]

 

logType –By default, BrowserHawk embeds the appropriate JavaScript necessary to instrument the page for PLT tracking directly into the browser's output stream at the time you call this method if no logType, or a log type of 0, is specified. If you specify a logType of 1, BrowserHawk does not insert this JavaScript into the browser for you - instead it returns the script as a string, which you must then write into the browser's HTML HEAD section on your own.

 

Note: Any page in your site can be instrumented to track PLT, even pages which do not use BrowserHawk for detecting a user’s browser or system settings.

 

Note: Before using the PltHead method you must configure the BrowserHawk Reports Web Service (BRWS) using the BrowserHawk Editor->Special menu->Preference and Options->Reports Database tab. Or, alternatively or you can set PLTBrwsUrl property prior to calling this method if you already have another server configured to run the BRWS.

 

TIP: There are several PLT related options available that provide great flexibility and control over PLT, such as the ability to assign a user ID and session ID for each PLT record, and to associate this information with the user’s browser and system data as recorded by the LogData method.

 

Note: Use of the PLT feature requires BrowserHawk Enterprise Edition.

 

Example:

 

<% Set bh = Server.CreateObject("cyScape.browserObj") %>

<html><head><title>My Title</title>

<%

’r;This method MUST be called within the HEAD section as shown here

bh.PltHead

%>

</head>

<body>page goes here</body></html>

 

See Also:
About Page Load Time Monitoring

PLT FAQ

PLTBrwsUrl

PLTExtraString1

PLTExtraInt1

PLTExtraDouble1

PLTSessionID

PLTUserID

PLTCookieDomainOverride