Web Client Parameters
  • 16 Apr 2020
  • 4 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Web Client Parameters

  • Dark
    Light
  • PDF

Article summary

This section describes parameters that are associated with web client (browser) properties. These parameters are typically used for creating custom dimensions that you include in custom reports.

WT.tz

WT.tz=Timezone
Indicates the web client’s time zone and is the offset of the web client from UTC. The value is expressed in hours.

Positive values are given without a sign (WT.tz=2), but negative values require a minus sign (WT.tz=-12). 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 the following parameter:
WT.tz=-8

WT.bh

WT.bh=BrowsingHour
Indicates the web client’s local time of day on a 24-hour clock. Values can range from 0 to 23.

WT.ul

WT.ul=UserLanguage
Indicates the web client’s user language.

Example:

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


WT.cd

WT.cd=ColorDepth
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);


WT.sr

WT.sr=ScreenResolution
Indicates 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);


WT.jo

WT.jo=IsJavaEnabled
Indicates if the web client has enabled Java. Valid values are Yes and No.

Example:

var joQueryParam = "&WT.jo=" + navigator.javaEnabled() ? "Yes" : "No";


WT.js

WT.js=IsJavaScriptEnabled
Indicates whether the web client supports and/or has enabled JavaScript. Valid values are Yes and No.

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.


WT.jv

WT.jv=JavaScriptVersion
Indicates the version of JavaScript supported by the web client. If JavaScript is not enabled, this parameter should not be included.

Example:

var jvQueryParam = "";
 <SCRIPT Language"Javascript1.6">
 jvQueryParam = "&WT.jv=1.6"
 </SCRIPT>
 
 <SCRIPT Language"Javascript1.7">
 jvQueryParam = "&WT.jv=1.7"
 </SCRIPT>
 
 <SCRIPT Language"Javascript1.8">
 jvQueryParam = "&WT.jv=1.8"
 </SCRIPT>


WT.ct

WT.ct=connectiontype
Identifies the visitor’s connection type. You can use this parameter in custom reports to determine whether visitors can download media on your site that requires high-bandwidth connections.

The JavaScript tag generates this value using data from Microsoft Internet Explorer 5 or higher. Valid values are lan, modem, and offline. For all other browsers, the JavaScript tag generates a value of unknown.


WT.hp

WT.hp=isHomePage
Indicates whether your visitors have configured a URL as their home page. It is only available for visitors using Microsoft Internet Explorer 5 or higher. Valid values are 1 and 0.

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.

Deprecated

This parameter is only useful for older versions of Internet Explorer. It is left in this document for sake of completeness.


WT.bs

WT.bs=browserSize
Identifies the actual size of the visitor’s browser 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).


WT.fi

WT.fi=isFlashInstalled
Indicates whether your visitors have installed the Adobe Flash browser plug-in. Valid values are Yes and No.

For more information see, the WT.fv parameter.

WT.fv

WT.fv=flashVersion
Indicates the version of the Adobe Flash browser plug-in if installed. Requires the presence of WT.fi=Yes.

For example, WT.fv=7.0.

WT.le

WT.le=languageEncoding
Specifies the character set used by the web client to render the current document. This parameter can be used to troubleshoot internationalization issues. The format of this value is an alphanumeric string (for example, UTF-8). Go to the following site for a list of valid values:
https://www.iana.org/assignments/character-sets


WT.mle

WT.mle=metaLanguageEncoding
Specifies the character encoding set by the web client to render the current document. If the page includes the http-equiv="Content-Type" META tag, the Webtrends JavaScript tag generates this parameter and passes it as an alphanumeric string (for example, UTF-8). The parameter is used for troubleshooting internationalization issues.

For example, the JavaScript tag generates a value of WT.mle=UTF-8 for the following tag:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

Go to the following site for a list of valid values:
https://www.iana.org/assignments/character-sets

Note

In order for this parameter to be generated, you must set the gI18n variable in the JavaScript tag to true. For more information, see “Customizing the JavaScript Tag” in the Webtrends Analytics Software Implementation and Maintenance Guide.


WT.em

WT.em=esc/uri
Specifies the encoding method supported by the web client. This parameter can be used to troubleshoot internationalization issues. Valid values are esc for the JavaScript escape() function and uri for the JavaScript encodeURIComponent() function.

WT.slv

WT.slv=Silverlight_version
Specifies the version of the Microsoft Silverlight plug-in installed on the visitor’s web client. If Silver-light is not enabled, this parameter is not provided.


Was this article helpful?