To contact staff directly or to report bugs, please use Special:Contact.
Hello,
I am looking to track certain Wiki pages under the WebTrends performance measurement framework instead of Quantcast.
To achieve this, I have custom JavaScript that I would like to apply to each page. I have added my JS code to the Common.js, this works as expected. However, in order to actually retrieve statistics on each specific page, I need to add the following tag to its HTML source. I would like to know how to add this tag to my wiki pages for reporting purposes. Kindly advise.
Thanks!
<script src="/scripts/webtrends.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
var _tag=new WebTrends();
_tag.dcsGetId();
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
_tag.dcsCustom=function(){
// Add custom parameters here.
//_tag.DCSext.param_name=param_value;
}
_tag.dcsCollect();
//]]>
</script>
<noscript>
</noscript>