Only use analytics.js, not gtag.js

This commit is contained in:
MattIPv4
2020-07-17 16:25:00 +01:00
parent 7976e0a14e
commit 2dce7a956f
2 changed files with 12 additions and 11 deletions

View File

@@ -167,7 +167,7 @@ THE SOFTWARE.
importData(query, this.$data.domains, this.$data.global, this.$nextTick);
// Send an initial GA event for column mode
this.splitColumnEvent();
this.splitColumnEvent(true);
},
methods: {
changes(index) {
@@ -261,8 +261,8 @@ THE SOFTWARE.
this.$data.splitColumn = !this.$data.splitColumn;
this.splitColumnEvent();
},
splitColumnEvent() {
analytics('toggle_split_column', 'Button', undefined, Number(this.$data.splitColumn));
splitColumnEvent(nonInteraction = false) {
analytics('toggle_split_column', 'Button', undefined, Number(this.$data.splitColumn), nonInteraction);
},
},
};