SDC-Parameter Override Parameters

Use these parameters to override SDC parameters on the client side.

Consider the following example:

If you want a specific page, /xyz.html, logged to the cs-uri-stem field, you can assign the page name to the dcsuri parameter in the JavaScript tag as shown in the Modified JavaScript Tag.

Default JavaScript Tag:

DCS.dcsuri="window.location.pathname;

Modified JavaScript Tag:

DCS.dcsuri="/xyz.html";

However, because modifying JavaScript is error-prone, you could instead use the DCS.dcsuri parameter in a META tag to override the dcsuri assignment in the JavaScript tag. Your META tag would look like this:

<META NAME="DCS.dcsuri" CONTENT="/xyz.html">

Keep in mind that because these parameters simply override assignments in the JavaScript tag, the parameters themselves are not actually sent to SDC. The JavaScript tag contains a custom object, DCS, that contains property name/value pairs that are used to form query parameters sent to SDC. To continue our example, the JavaScript tag first extracts the META tag information and performs the following assignment:

DCS.dcsuri=/xyz.html

Next, the JavaScript tag iterates through all name/value pairs in the DCS object and forms query parameters.

In our example, the following query parameter is formed:

&dcsuri=/xyz.html

Note that the custom object name itself (DCS) is not sent to SDC.

dcsref

This parameter is assigned to the dcsref parameter before the hit is sent to SDC. The value is included in the cs(Referer) field of the log file.

Syntax

DCS . dcsref = referer
Valid Value: Alphanumeric string

dcssip

This parameter is assigned to the dcssip parameter before the hit is sent to SDC. The value is included in the cs-host field of the log file.

Syntax

DCS . dcssip = domain
Valid Value: Alphanumeric string

dcsua

This parameter is assigned to the dcsua parameter before the hit is sent to SDC. The value is included in the cs(User-Agent) field of the log file. Use a plug sign to encode spaces rather than %20.

Syntax

DCS . dcsua = user agent
Valid Value: Alphanumeric string

dcsuri

This parameter is assigned to the dcsuri parameter before the hit is sent to SDC. The value is included in the cs-uri-stem field of the log file.

Syntax

DCS . dcsuri = URI stem
Valid Value: Alphanumeric string

dcspro

This parameter is assigned to the dcspro parameter before the hit is sent. The value is included in the cs(Version) field of the log file.

Syntax

DCS . dcspro = protocol
Valid Value: Alphanumeric string

dcsqry

This parameter is assigned to the dcsqry parameter before the hit is sent. The value is included in the cs-uri-query field of the log file.

Syntax

DCS . dcsqry = uri query
Valid Value: Alphanumeric string

dcsaut

This parameter is assigned to the dcsaut parameter before the hit is sent to SDC. The value is included in the cs-username field.

Syntax

DCS . dcsaut = authenticated username
Valid Value: Alphanumeric string

dcsmet

This parameter is assigned to the dcsmet parameter before the hit is sent to SDC. The value is included in the cs-method field.

Syntax

DCS . dcsmet = method
Valid Value: Alphanumeric string

dcssta

This parameter is assigned to the dcssta parameter before the hit is sent to SDC. The value is included in the sc-status field.

Syntax

DCS . dcssta = status
Valid Value: Alphanumeric string

dcsbyt

This parameter is assigned to the dcsbyt parameter before the hit is sent to SDC. The value finally is included in the sc-bytes field.

Syntax

DCS . dcsbyt = bytes
Valid Value: Alphanumeric string

dcscip

This parameter is assigned to the dcscip parameter before the hit is sent to SDC. Value is included in the c-ip field.

Syntax

DCS . dcscip = IP address
Valid Value: Alphanumeric string