...
|
...
|
@@ -74,15 +74,15 @@ const getAppPath = () => { |
|
|
|
|
|
if (canOpenApp()) {
|
|
|
setTimeout(function() {
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
window._yas.sendCustomInfo({
|
|
|
op: 'YB_H5_AWAKE_APP',
|
|
|
param: JSON.stringify({
|
|
|
PAGE_NAME: encodeURIComponent(document.title),
|
|
|
PAGE_URL: encodeURIComponent(location.href)
|
|
|
})
|
|
|
}, true);
|
|
|
}
|
|
|
// if (window._yas && window._yas.sendCustomInfo) {
|
|
|
// window._yas.sendCustomInfo({
|
|
|
// op: 'YB_H5_AWAKE_APP',
|
|
|
// param: JSON.stringify({
|
|
|
// PAGE_NAME: encodeURIComponent(document.title),
|
|
|
// PAGE_URL: encodeURIComponent(location.href)
|
|
|
// })
|
|
|
// }, true);
|
|
|
// }
|
|
|
|
|
|
if (window._hmt && window._hmt.push) {
|
|
|
window._hmt.push(['_trackEvent', 'H5唤起APP', isiOS ? 'Apple' : 'Android', document.title, location.href]);
|
...
|
...
|
|