You are on page 1of 1

// Sets WT.ndl equal to WT.dl on all events, except in cases of PDF files, in wh ich case // WT.

ndl is always 0 (function(_window) { if(!_window.Webtrends) return; function doTransform(dcsObject, multiTrackObject) { dcsObject.WT.ndl = dcsObject.WT.dl; if (dcsObject.DCS.dcsuri.substr(dcsObject.DCS.dcsuri.length-4)=='.pdf') { dcsObject.WT.ndl = '0'; } } function regTransform() { _window.Webtrends.addTransform(doTransform, 'all'); } Webtrends.registerPlugin("WT_Nature_ndl", regTransform); })(window);