How do I override parameters collected by the JavaScript tag?


Webtrends Analytics 8.x
Webtrends Analytics 9.x


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.


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:

// Add custom parameters here.
var meta = document.createElement('meta');
meta.name = 'DCS.dcssip';
meta.content = 'servername.com';