Browse Source

feat: 覆盖 c_url

zhangyuhan 2 years ago
parent
commit
84cf65baa8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/easy-use-track.js

+ 1 - 0
src/easy-use-track.js

@@ -151,6 +151,7 @@ class EasyUse {
     // 页面信息
     // 页面信息
     this.params.c_title = document.title
     this.params.c_title = document.title
     this.params.c_platform = getPlatform()
     this.params.c_platform = getPlatform()
+    this.params.c_url = location.href
     const pageInfo = this.tryFindInfo()
     const pageInfo = this.tryFindInfo()
     if (pageInfo) {
     if (pageInfo) {
       if (pageInfo['页面ID']) {
       if (pageInfo['页面ID']) {