Web Client Parameters

Web client (browser) parameters are typically used for creating custom dimensions that you include in custom reports.

WT.tz

This is the Web Client’s Time Zone in hours. This is the offset of the web client from UTC.

Values can range from –12 to +14.

Example:

var dCurrent = new
            Date(); var tzQueryParam = "&WT.tz=" +
            escape(dCurrent.getTimezoneOffset());

To represent Pacific Standard Time, use:

WT.tz=-8

Valid Value: Decimal. The acceptable range of values is -12 to 13. Positive values are given without a sign (WT.tz=2), but negative values require a minus sign (WT.tz=-12).

Syntax

WT . tz = timezone

WT.bh

This is the Web Client’s local time of day on a 24-hour clock. The acceptable range of values is 0 to 23.

Valid Value: Integer

Syntax

WT . bh = browsinghour

WT.ul

This is the Web Client’s User Language.

Example:

var
        ulQueryParam = "&WT.ul=" + navigator.appName == "Netscape" ?
        escape(navigator.language) : escape(navigator.userLanguage);
Valid Value: Alphanumeric string

Syntax

WT . ul = userLanguage

WT.cd

Indicates the web client’s screen color depth. It is represented as the number of color bits to which the web client computer’s video display control is set.

Example:

var cdQueryParam = "&WT.cd=" +
          escape(screen.colorDepth);
Valid Value: Alphanumeric string

Syntax

WT . cd = colorDepth

WT.sr

This is the Web Client’s Screen Resolution. It is expressed as the gross width and height of the web client’s monitor. The format of the value is widthxheight, for example, 800x600).

Example:

var srQueryParam =
          "&WT.sr=" + escape(screen.width) + "x" +
          escape(screen.height);
Valid Value: Alphanumeric string

Syntax

WT . sr = screenResolution

WT.jo

Indicates whether the web client has enabled Java.

Example:

var joQueryParam = "&WT.jo=" + navigator.javaEnabled() ?
          "Yes" : "No";
Valid Value: Alphanumeric string ("yes" or "no")

Syntax

WT . jo = {yes | no}

WT.js

Indicates whether the web client supports and/or has enabled JavaScript.

For example:

<SCRIPT LANGUAGE="JavaScript"> 
...CODE ABOVE WHERE YOU WANT THIS MODIFICATION TO GO...
var jsQueryParam = "&WT.js=Yes";
...CODE BELOW WHERE YOU WANT THIS MODIFICATION TO GO...
</SCRIPT>

<NOSCRIPT>
<IMG BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="http://localhost/njs.gif?dcsuri=/nojavascript&WT.js=no">
</NOSCRIPT>
Note: You can use Webtrends to set up a custom reports (augmenting the Pages reports) that keys on WT.js and provides a targeted count of no JavaScript hits.
Valid Value: Alphanumeric string ("yes" or "no")

Syntax

WT . js = {yes | no}

WT.jv

Indicates the version of JavaScript supported by the web client. If JavaScript is not enabled, this parameter should not be included. The format of the value is major.minor, for example, 1.5.

Example:

var jvQueryParam = "";
<SCRIPT Language"Javascript1.0">
jvQueryParam = "&WT.jv=1.0"
</SCRIPT>

<SCRIPT Language"Javascript1.1">
jvQueryParam = "&WT.jv=1.1"
</SCRIPT>
<SCRIPT Language"Javascript1.2">
jvQueryParam = "&WT.jv=1.2"
</SCRIPT>
Valid Value: Alphanumeric string

Syntax

WT . jv = javaScriptVersion

WT.ct

Specifies the connection type used to send the data. Many mobile devices go in and out of various connection states such as wifi, 3G, Edge, or 7.1G. To avoid sending a flood of this data as the connection fluctuates, the best practice is to send this parameter only once per session. The Webtrends Mobile Application Libraries use this best practice.

Valid Value: Alphanumeric string

Syntax

WT . ct = connection type

WT.hp

This is an indicator if the page viewed was set as the home page in the visitor’s web client. This parameter can be used to filter a report based on URLs or pages, and report on pages that are used as Home Pages by visitors.

It is only available for visitors using Microsoft Internet Explorer 5 or higher.

You can use this parameter to filter a report based on URLs or pages, and report on pages that are used as home pages by visitors.

Valid Value: 1 or 0

Syntax

WT . hp = {1 | 0}

WT.bs

This is the size of the web client window. It is expressed as the width and height of the web client window in pixels. The format of the value is widthxheight, for example, 924x212. For documents that do not contain <body> when loaded into Internet Explorer, the JavaScript tag generates a value of unknown.

Valid Value: Alphanumeric string

Syntax

WT . bs = browserSize

WT.fv

This is the version of the MacroMedia Flash Browser Plugin installed on the web client. The format of the value is major.minor, for example, 9.0. If Flash is not enabled, the JavaScript tag generates a value of: Not enabled.

Note: Requires the presence of WT.fi=Yes.
For example, WT.fv=7.0.
Valid Value: Alphanumeric string

Syntax

WT . le = languageEncoding

WT.le

This is the character set used by the Web Client to render the current document. The format is an alphanumeric string, for example, e.g. utf-8. Valid values may be found here: http://www.iana.org/assignments/character-sets The JavaScript tag generates this value if the i18n property is set to true (the default is false).

Valid Value: Alphanumeric string

Syntax

WT . le = languageEncoding

WT.slv

This is the version of the Microsoft Silverlight Plugin installed on the Web Client. The format of the value is major.minor, for example, 1.0. If Silverlight is not enabled, the JavaScript tag generates a value of: Not enabled. If Silverlight is enabled, but we are unable to determine the version, the JavaScript tag generates a value of: Unknown.

Valid Value: Alphanumeric string

Syntax

WT . slv = Silverlight_version