Web client parameters

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

Character set

wt.le indicates the character set used by the web client to render the current document. The JavaScript tag generates a wt.le value if the web client's i18n property is set to true (the default is false).

Valid value Alphanumeric string of a valid character set, such as utf-8
Syntax wt.le=character_encoding_label
Example wt.le=utf-8

Connection type

wt.ct specifies the connection type used to send data.

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. For all other browsers, the JavaScript tag generates a value of unknown.

Valid value lan, modem, or offline
Syntax wt.ct=connection_type
Example wt.ct=lan

See also: wt.ct mobile web and app parameter

Home page

wt.hp indicates whether the viewed page was set as the web client's home page (1) or not (0).

You can use this parameter to filter a report based on URLs or pages and report on visitors' home pages.

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

Valid value 0 or 1
Syntax wt.hp={0|1}
Example wt.hp=1

Java enabled

wt.jo indicates whether the web client has enabled Java (yes) or not (no).

Valid value yes or no
Syntax wt.jo={yes|no}
Example wt.jo=yes

Sample Java enabled code

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

JavaScript enabled

wt.js indicates whether the web client supports or has enabled JavaScript (yes) or not (no).

You can set up custom reports based on pages reports that key on wt.js and provides a targeted count of no JavaScript hits.

Valid value yes or no
Syntax wt.js={yes|no}
Example wt.js=Yes

Sample JavaScript-enabled code

<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://producthelp.webtrends.com/njs.gif?dcsuri=/nojavascript&wt.js=no">
</NOSCRIPT>

JavaScript version

wt.jv indicates the version of JavaScript supported by the web client. If JavaScript is not enabled, this parameter should not be included.

Valid value An alphanumeric string representing a major and minor version separated with a period, such as 1.8
Syntax wt.jv=major_version.minor_version
Example wt.jv=1.8

Sample JavaScript version code

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>

Local time

wt.bh indicates the web client’s browsing hour (local time of day on a 24-hour clock).

Valid value An integer from 0 through 23
Syntax wt.bh=hour
Example wt.bh=20

Screen color depth

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.

Valid value An alphanumeric string representing the number of color bits to which the web client computer's video display is set
Syntax wt.cd=screen.colorDepth
Example wt.cd=24

Sample color depth code

var cdQueryParam = "&wt.cd=" +
    escape(screen.colorDepth);

Screen resolution

wt.sr indicates the web client’s screen resolution.

Valid value An alphanumeric string representing the width and height of the web client's monitor
Syntax wt.sr=widthxheight
Example wt.sr=1920x1200

Sample screen resolution code

var srQueryParam =
    "&wt.sr=" + escape(screen.width) + "x" +
    escape(screen.height);

Time zone

wt.tz indicates the web client's time zone offset from UTC.

Valid value An integer from –12 to 14 representing the offset from UTC in hours
Positive values are given without a sign and negative values require a minus sign.
Syntax wt.tz=time_zone_offset
Example wt.tz=-8 for Pacific standard time

Sample time zone code

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

User language

wt.ul indicates the app or web client's user language.

Valid value Alphanumeric string
Syntax wt.ul=user_language
Example wt.ul=en-US

Sample user language code

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

Window size

wt.bs indicates the width and height of the web client window in pixels. 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=widthxheight
Example wt.bs=924×212

Learn more

Full Parameter Reference

web client, browser, wt.le, wt.ct, wt.fv, wt.hp, wt.jo, wt.js, wt.jv, wt.bh, wt.cd, wt.sr, wt.slv, wt.tz, wt.ul, wt.bs