|
@@ -110,6 +110,15 @@ class EasyUse {
|
|
* 上报页面信息
|
|
* 上报页面信息
|
|
*/
|
|
*/
|
|
upPageInfo () {
|
|
upPageInfo () {
|
|
|
|
+ // 限制嵌入页面时不重复初始化页面信息上报
|
|
|
|
+ let skip = false
|
|
|
|
+ if (window.goTemplateData && window.goTemplateData.inIframe) {
|
|
|
|
+ skip = true
|
|
|
|
+ }
|
|
|
|
+ if (skip) {
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+
|
|
const params = this.getNowPageInfo('popstate')
|
|
const params = this.getNowPageInfo('popstate')
|
|
try {
|
|
try {
|
|
clab_tracker.ready(function () {
|
|
clab_tracker.ready(function () {
|