1// æ¹èç»è®¡ä»£ç 2var serverIP = 'https://uat.analysys.cn:4089/'; 3var appkey = "fabe794a74554435"; 4var debugCode = window.location.hostname === 'www.analysys.cn' ? 0 : 1; 5 6(function (config) { 7 window.AnalysysAgent = window.AnalysysAgent || [] 8 window.AnalysysAgent.methods = 9 'identify alias reset track profileSet profileSetOnce profileIncrement profileAppend profileUnset profileDelete registerSuperProperty registerSuperProperties unRegisterSuperProperty clearSuperProperties getSuperProperty getSuperProperties pageView debugMode auto appkey name uploadURL hash visitorConfigURL autoProfile autoWebstay autoHeatmap' 10 .split(' '); 11 12 function factory(b) { 13 return function () { 14 var a = Array.prototype.slice.call(arguments); 15 a.unshift(b); 16 window.AnalysysAgent.push(a); 17 return window.AnalysysAgent; 18 } 19 }; 20 for (var i = 0; i < AnalysysAgent.methods.length; i++) { 21 var key = window.AnalysysAgent.methods[i]; 22 AnalysysAgent[key] = factory(key); 23 } 24 for (var key in config) { 25 if (!AnalysysAgent[key]) { 26 AnalysysAgent[key] = factory(key); // è°ç徿¶å¢å 27 } 28 AnalysysAgent[key](config[key]) 29 } 30 var date = new Date(); 31 var time = new String(date.getFullYear()) + new String(date.getMonth() + 1) + new String(date.getDate()); 32 var d = document, 33 c = d.createElement('script'), 34 n = d.getElementsByTagName('script')[0]; 35 c.type = 'text/javascript'; 36 c.async = true; 37 c.id = 'devSDK'; 38 c.src = '//www.analysysdata.com/file/sdk/AnalysysAgent_JS_SDK.min.js?v=' + ~~(new Date() / 86400); 39 n.parentNode.insertBefore(c, n); 40})({ 41 appkey: appkey, //APPKEY 42 debugMode: debugCode, //åçº¿ä¸æ¶æ¹æ2 43 autoHeatmap: true, // çå¾å¼å¯ 44 autoWebstay: true, // è§è§åç 45 NPSConfigURL: serverIP, 46 uploadURL: serverIP, 47 visitorConfigURL: serverIP 48}) 49 50 51 52// ç¾åº¦ç»è®¡ä»£ç 53 54var _hmt = _hmt || []; 55! function (n, o, t, e) { 56 e = 1, (n.addEventListener || (e = 0, n.attachEvent))(e ? o : "on" + o, t) 57}(window, "load", function (e) { 58 var hm = document.createElement("script"); 59 hm.src = "https://hm.baidu.com/hm.js?d981851bd0d388f5b0fa75295b96745d"; 60 var s = document.getElementsByTagName("script")[0]; 61 s.parentNode.insertBefore(hm, s); 62}); 63 64// Google GTM
vendor: 409 bytes, lines 64-78
64 65(function (w, d, s, l, i) { 66 w[l] = w[l] || []; 67 w[l].push({ 68 'gtm.start': new Date().getTime(), 69 event: 'gtm.js' 70 }); 71 var f = d.getElementsByTagName(s)[0], 72 j = d.createElement(s), 73 dl = l != 'dataLayer' ? '&l=' + l : ''; 74 j.async = true; 75 j.src = 76 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; 77 f.parentNode.insertBefore(j, f); 78})(window, document, 'script', 'dataLayer', '
78GTM-N5RQS5P
vendor: 3 bytes, line 78
78');
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.