1/* 2file: webstat_tracking.js 314:09 2020-11-10 mark update for CSP 4*/ 5 6 // paq must not in function 15:41 2018-02-05 7 var _paq = _paq || []; 8 9 if (ws_health==2) { 10 11 // userid 10:53 2018-02-05 12 ws_userid_init(); 13 } 14 15 // paq must not in function 15:41 2018-02-05 16 var matomoTrackingApiUrl="https://"+ws_server+"/piwik/piwik.php"; 17 var _paq = _paq || []; 18 _paq.push(['setTrackerUrl', matomoTrackingApiUrl]); 19 _paq.push(['setSiteId', ws_siteid]); 20 _paq.push(['setUserId', ws_userid]); 21 _paq.push(['trackPageView']); 22 _paq.push(['enableLinkTracking']); 23 24 25 console.log("ws_footer_async_init:before"); 26 27 function ws_footer_async_init() { 28 29 console.log("ws_footer_async_init:start"); 30 31 // do other capture 32 // Note: 11:16 2020-09-11 piwikAsyncInit cannot change to matomoAsyncInit (even not echo console message) 33 // Keep piwikAsyncInit first 34 35 window.piwikAsyncInit = function () { 36 try { 37 38 console.log("window.piwikAsyncInit :start "); 39 console.log("window.piwikAsyncInit :ws_userid "+ws_userid); 40 41 ws_portal_capture_all(); 42 43 } catch( err ) {} 44 }; 45 46 console.log("ws_footer_async_init:end"); 47 48 }
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.