SDC-Parameter Override Parameters

Use these parameters to override SmartSource Data Collector (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 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 named DCS. This object 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.

DCS.dcsref

DCS.dcsref=Referrer

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.

DCS.dcssip

DCS.dcssip=Domain

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.

DCS.dcsua

DCS.dcsua=user agent

This parameter is assigned to the dcsua parameter before the hit is sent to SDC. Value is included in the cs(user agent) field. Use a plug sign to encode spaces rather than %20.

DCS.dcsuri

DCS.dcsuri=uri-stem

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.

DCS.dcspro

DCS.dcspro=Protocol

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.

DCS.dcsqry

DCS.dcsqry=uri-query

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.

DCS.dcsaut

DCS.dcsaut=authenticated username

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

DCS.dcsmet

DCS.dcsmet=method

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

DCS.dcssta

DCS.dcssta=status

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

DCS.dcsbyt

DCS.dcsbyt=bytes

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

DCS.dcscip

DCS.dcscip=ip address

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

DCS.dcsua

DCS.dcsua=user agent

This parameter is assigned to the dcsua parameter before the hit is sent to SDC. Value is included in the cs(user agent) field. Use a plug sign to encode spaces rather than %20.