Set Query Param Using Cookie

Description

The Set Query Parameter Using This Cookie check box allows the tag to assign a cookie's value to a query parameter. The cookie name is specified in the accompanying edit box. The query parameter is specified in the edit box underneath. By default, the cookie value is assigned to the Webtrends Query Parameter for an External Visitor Id (WT.dcsvid).

Optionally, a cookie crumb may be used (rather than the entire cookie value). Sometimes a cookie's value is made up of a series of name/value pairs separated by an arbitrary character. The name/value pairs are known as cookie crumbs. The Use This Cookie Crumb check box allows the tag to assign a cookie's crumb value to a query parameter. The cookie crumb name is specified in the accompanying edit box. The cookie crumb separator is specified in the edit box underneath. For more information about specifying a cookie crumb, click here. For more information about specifying a crumb separator, click here.

This work is performed by a function named dcsEvi.

Examples

Suppose you have this cookie:
CUSTID=a=1111:id=1234567890:b=2222

  • Cookie value
  • If you check the Set Query Parameters Using this Cookie check box and enter CUSTID in the accompanying edit box, then the following query parameter assignment is made:
    WT.dcsvid=a=1111:id=1234567890:b=2222

  • Cookie crumb value
  • Continuing with the example, if you select the Use This Cookie Crumb check box, enter id in the accompanying edit box and enter : in the Crumb Separator edit box, the following query parameter assignment is made:
    WT.dcsvid=1234567890

JavaScript Reference

Class.PropertyType
WebTrends.eviObject