瀏覽代碼

feat: Do not include the callstats name in google analytics.

j8
Boris Grozev 7 年之前
父節點
當前提交
a1ba7beff9
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      analytics-ga.js

+ 1
- 0
analytics-ga.js 查看文件

100
         // lengthy and is probably included from elsewhere.
100
         // lengthy and is probably included from elsewhere.
101
         for (const property in event.attributes) {
101
         for (const property in event.attributes) {
102
             if (property !== 'permanent_user_agent'
102
             if (property !== 'permanent_user_agent'
103
+                && property !== 'permanent_callstats_name'
103
                 && event.attributes.hasOwnProperty(property)) {
104
                 && event.attributes.hasOwnProperty(property)) {
104
                 // eslint-disable-next-line prefer-template
105
                 // eslint-disable-next-line prefer-template
105
                 label += property + '=' + event.attributes[property] + '&';
106
                 label += property + '=' + event.attributes[property] + '&';

Loading…
取消
儲存