...
|
...
|
@@ -36,6 +36,7 @@ var appInfo = { |
|
|
// dt:document.title,//document title
|
|
|
sv: '', // YAS版本
|
|
|
ab: cookies('ab_5') || '',
|
|
|
op: 'YB_PAGE_OPEN_L',
|
|
|
apf: window.location.search.indexOf('app_version=') >= 0 ? 'Y' : 'N'
|
|
|
};
|
|
|
|
...
|
...
|
@@ -92,6 +93,11 @@ var _yas = function(initTime, version, tid, uid, geo, selector) { |
|
|
custInfo.ud = uid ? uid : '';
|
|
|
custInfo.ts = (new Date()).getTime();
|
|
|
|
|
|
var channelid = window.qs.yh_channel || util.getChannel();
|
|
|
if (channelid) {
|
|
|
appInfo.param = JSON.stringify({C_ID: channelid});
|
|
|
}
|
|
|
|
|
|
if (cookies('_yasgeo')) {
|
|
|
var geoInfo = cookies('_yasgeo').split(',');
|
|
|
custInfo.la = geoInfo[0];
|
...
|
...
|
@@ -103,7 +109,6 @@ var _yas = function(initTime, version, tid, uid, geo, selector) { |
|
|
});
|
|
|
}
|
|
|
|
|
|
|
|
|
var beginTime = new Date().getTime();
|
|
|
var sendFlag = null;
|
|
|
var isOver3sSend = false;
|
...
|
...
|
@@ -211,6 +216,10 @@ var _yas = function(initTime, version, tid, uid, geo, selector) { |
|
|
function send(callback) {
|
|
|
var info = util.merge(appInfo, custInfo);
|
|
|
info = util.merge(info, browserInfo);
|
|
|
var mktc = getMktc();
|
|
|
if (mktc) {
|
|
|
info = util.merge(info, mktc);
|
|
|
}
|
|
|
|
|
|
// 鼠标位置
|
|
|
var mpJson = getMousePosition();
|
...
|
...
|
|