dcsimg

How do I configure Webtrends to issue a session cookie?

Products

Webtrends Analytics 8.x
Webtrends Analytics 9.x

Cause

Introduction:
Setting Webtrends to issue a session cookie requires a Webtrends On Demand account or a software installation using a SmartSource Data Collector server, in addition to the following modifications.

For a pre-V10 tag:


In the Webtrends tag, change the line:

expires=”+dExp.toGMTString();

to read as follows:

expires=””;

To set Webtrends On Demand to issue session cookies:

Add the following line under the section “//Add Customizations Here”:

DCS.dcscfg=4;

To disable Webtrends On Demand from issuing cookies:

Add the following line under the section “//Add Customizations here”:

DCS.dcscfg=1;

If a software SDC is used, edit the file ../Smartsource Data Collector/cfg/dcs.cfg and change the line:

cfgbyhit=false

to read:

cfgbyhit=true
For a V10 tag
Edit the inline portion of the tag and add the following configuration options:
disablecookie: true,
cookieexpires: 0
This configuration prevents the call to wtid.js, sets dcscfg=1 and makes all cookies session-only.