dcsimg

Why does my authenticated user names report say no data is available for this report?

Products

Webtrends Analytics 9.x
Webtrends Analytics 8.x

Issue

Why does my authenticated user names report say no data is available for this report?

Resolution

Webtrends customers using Webtrends’ SmartSource Data Collector (SDC) with the Webtrends JavaScript tag on their web site must ensure the DCS.dcsaut parameter is populating when visitors access the site and hits are sent to the data collector.

When a user logs into the site the username is passed as a value of the DCS.dcsaut parameter. The value can be populated using a meta tag, as shown in the example below:

<meta name=”DCS.dcsaut” content=”<username value>”>

This parameter overrides assignments in the JavaScript tag, but the parameter itself is not actually sent to the 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 the SDC.

Continuing the example, the JavaScript tag first extracts the META tag information and performs the following assignment:

DCS.dcsaut=smithj

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:

&dcsaut=smithj

…for which the value will populate the cs-username field of the log files generated by the SDC.

Note: It is the customer’s responsibility to implement a process to populate this parameter, and it must be passed on every hit in the visit to enable metrics throughout the visitor’s session.

If log files from an IIS web server are being analyzed, ensure the cs-username field is enabled in the IIS logging options so values will populate in the log files. If you are analyzing Apache log files, ensure “Field 3: User Authentication” is enabled.