hookehuyr

fix 修复埋点问题

1 <!-- 1 <!--
2 * @Date: 2024-09-26 13:42:11 2 * @Date: 2024-09-26 13:42:11
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-12-04 10:46:22 4 + * @LastEditTime: 2024-12-04 15:32:43
5 * @FilePath: /hager/src/components/common/hagerHeader.vue 5 * @FilePath: /hager/src/components/common/hagerHeader.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -356,8 +356,10 @@ export default { ...@@ -356,8 +356,10 @@ export default {
356 path, 356 path,
357 }); 357 });
358 } 358 }
359 - // TAG: 统计埋点 359 + if (path.indexOf('/solution') === -1) { // 不统计解决方案页面
360 - this.maEvent(`h_${path.slice(1)}`); 360 + // TAG: 统计埋点
361 + this.maEvent(`h5_${path.slice(1)}`);
362 + }
361 }, 363 },
362 goToC (item) { // 跳转产品二级 364 goToC (item) { // 跳转产品二级
363 this.$router.push({ 365 this.$router.push({
......
1 <!-- 1 <!--
2 * @Date: 2024-10-17 09:22:56 2 * @Date: 2024-10-17 09:22:56
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-12-04 10:47:34 4 + * @LastEditTime: 2024-12-04 15:28:52
5 * @FilePath: /hager/src/views/about/index.vue 5 * @FilePath: /hager/src/views/about/index.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
130 path, 130 path,
131 }); 131 });
132 // TAG: 统计埋点 132 // TAG: 统计埋点
133 - this.maEvent(`h_${path.slice(7)}`); 133 + this.maEvent(`h5_${path.slice(7)}`);
134 } 134 }
135 } 135 }
136 } 136 }
......