Assigning Custom Query Parameters to Webtrends Parameters

Description

This setting allows the tag to assign custom query parameters to Webtrends Query Parameters. The query portion of the URL is scanned for a given parameter. If found its value is assigned to the Webtrends Query Parameter of choice. This work is performed by a function named dcsQP. In addition to selecting this check box, you need to add JavaScript code to call this function.

Example

Suppose you have a custom query parameter named origin that contains a content group. You'd like to assign this parameter to the Webtrends Query Parameter for content group (WT.cg_n).

So, an URL might look like this:
http://www.webtrends.com/Services/TrainingCourses.aspx?origin=services

Add the following JavaScript code to perform the assignment:
_tag.WT.cg_n=_tag.dcsQP("origin");

Which yields:
WT.cg_n=services

JavaScript Reference

n/a