Browse Source

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

master
Boris Grozev 7 years ago
parent
commit
a1ba7beff9
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      analytics-ga.js

+ 1
- 0
analytics-ga.js View File

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…
Cancel
Save