Community Central

Admin Forum:Adding custom Javascript module for Webtrends reporting


Admin Forum:Adding custom Javascript module for Webtrends reporting

19,673pages on
this wiki
Add New Page
Talk0 Share

This Forum has been archived

Forums: Admin Central Index Technical Help Adding custom Javascript module for Webtrends reporting
Central's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1515 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


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.


<script src="/scripts/webtrends.js" type="text/javascript"></script>

<script type="text/javascript">


var _tag=new WebTrends();




<script type="text/javascript">



// Add custom parameters here.







<img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="//"/>


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.