imported>Gaobo 无编辑摘要 |
imported>Gaobo 无编辑摘要 |
||
第20行: | 第20行: | ||
// 4. 奇虎 | // 4. 奇虎 | ||
jQuery. | jQuery.ajax({ | ||
url: "//jspassport.ssl.qhimg.com/11.0.1.js?__", | |||
dataType: "script", | |||
attrs: { "id": "sozz" } | |||
}); | |||
// 5. 美洽 | // 5. 美洽 |
2018年2月24日 (六) 21:36的版本
/* 这里的任何JavaScript将为所有用户在每次页面载入时加载。 */
// 1. Google
jQuery.ajax({
async: true,
url: "https://www.googletagmanager.com/gtag/js?id=UA-20495355-1",
dataType: "script"
});
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-20495355-1');
// 2. 51.la
jQuery.getScript('//js.users.51.la/17593331.js');
// 3. 百度
jQuery.getScript('//zz.bdstatic.com/linksubmit/push.js');
// 4. 奇虎
jQuery.ajax({
url: "//jspassport.ssl.qhimg.com/11.0.1.js?__",
dataType: "script",
attrs: { "id": "sozz" }
});
// 5. 美洽
(function(m, ei, q, i, a, j, s) {
m[i] = m[i] || function() {
(m[i].a = m[i].a || []).push(arguments)
};
j = ei.createElement(q),
s = ei.getElementsByTagName(q)[0];
j.async = true;
j.charset = 'UTF-8';
j.src = '//static.meiqia.com/dist/meiqia.js';
s.parentNode.insertBefore(j, s);
})(window, document, 'script', '_MEIQIA');
_MEIQIA('entId', 38299);