Products
Webtrends Analytics 8.x
Webtrends Analytics 9.x
Cause
You are trying to override parameters automatically collected by the JavaScript tag by adding code to the “Insert Customizations” section of your tag. However, the value is not being overridden in the hit.
Resolution
The JavaScript tag collects default data during the “dcsCollect” function and will override any existing values set before it was run. The only way to get data into the standard fields is to add them to META tags. Data in META tags is always gathered last and will override values collected by the tag. It is not possible to change this behavior without modifying the JavaScript tag.
If modifying the META data on the page is not possible, here is a code example that will change the META data programmatically:
//<![CDATA[
// Add custom parameters here.
//_tag.DCSext.param_name=param_value;
var meta = document.createElement('meta');
meta.name = 'DCS.dcssip';
meta.content = 'servername.com';
document.getElementsByTagName('head')[0].appendChild(meta);_tag.dcsCollect();