Add analytics for timeline navigation
Test: Please see Google analytics and see event updates as you change timeline navigation on winscope. Bug: 200518515 Change-Id: I42152025d8cc2ef0b596d65fce177732eb6f9a98
This commit is contained in:
@@ -160,7 +160,6 @@ export default {
|
||||
// Pass click event to parent, so that click event handler can be attached
|
||||
// to component.
|
||||
this.$emit('click', e);
|
||||
this.newEventOccurred(e.toString());
|
||||
},
|
||||
/** Filter data view files by current show settings */
|
||||
updateShowFileTypes() {
|
||||
|
||||
@@ -686,7 +686,7 @@ export default {
|
||||
navigationStyleFilter =
|
||||
(f) => f.type === fileType;
|
||||
}
|
||||
|
||||
this.changedNavigationStyle(this.navigationStyle);
|
||||
this.$store.commit('setNavigationFilesFilter', navigationStyleFilter);
|
||||
},
|
||||
updateVideoOverlayWidth(width) {
|
||||
|
||||
@@ -411,6 +411,13 @@ Vue.mixin({
|
||||
'value': field,
|
||||
});
|
||||
},
|
||||
changedNavigationStyle(field) {
|
||||
this.$gtag.event("Timeline navigation changed", {
|
||||
'event_category': "Timeline Navigation",
|
||||
'event_label': "Winscope Interactions",
|
||||
'value': field,
|
||||
});
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user