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