remove YB_H5_AWAKE_APP
Showing
1 changed file
with
9 additions
and
9 deletions
@@ -74,15 +74,15 @@ const getAppPath = () => { | @@ -74,15 +74,15 @@ const getAppPath = () => { | ||
74 | 74 | ||
75 | if (canOpenApp()) { | 75 | if (canOpenApp()) { |
76 | setTimeout(function() { | 76 | setTimeout(function() { |
77 | - if (window._yas && window._yas.sendCustomInfo) { | ||
78 | - window._yas.sendCustomInfo({ | ||
79 | - op: 'YB_H5_AWAKE_APP', | ||
80 | - param: JSON.stringify({ | ||
81 | - PAGE_NAME: encodeURIComponent(document.title), | ||
82 | - PAGE_URL: encodeURIComponent(location.href) | ||
83 | - }) | ||
84 | - }, true); | ||
85 | - } | 77 | + // if (window._yas && window._yas.sendCustomInfo) { |
78 | + // window._yas.sendCustomInfo({ | ||
79 | + // op: 'YB_H5_AWAKE_APP', | ||
80 | + // param: JSON.stringify({ | ||
81 | + // PAGE_NAME: encodeURIComponent(document.title), | ||
82 | + // PAGE_URL: encodeURIComponent(location.href) | ||
83 | + // }) | ||
84 | + // }, true); | ||
85 | + // } | ||
86 | 86 | ||
87 | if (window._hmt && window._hmt.push) { | 87 | if (window._hmt && window._hmt.push) { |
88 | window._hmt.push(['_trackEvent', 'H5唤起APP', isiOS ? 'Apple' : 'Android', document.title, location.href]); | 88 | window._hmt.push(['_trackEvent', 'H5唤起APP', isiOS ? 'Apple' : 'Android', document.title, location.href]); |
-
Please register or login to post a comment