mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix(analytics): remove spurious click tracking (#10469)
This commit is contained in:
committed by
Matteo Pagliazzi
parent
0062e5b1f1
commit
8969b755a6
@@ -54,7 +54,6 @@ import { mapState } from 'client/libs/store';
|
||||
import filter from 'lodash/filter';
|
||||
import map from 'lodash/map';
|
||||
import notifications from 'client/mixins/notifications';
|
||||
import * as Analytics from 'client/libs/analytics';
|
||||
|
||||
export default {
|
||||
mixins: [notifications],
|
||||
@@ -65,14 +64,6 @@ export default {
|
||||
emails: [],
|
||||
};
|
||||
},
|
||||
mounted () {
|
||||
Analytics.track({
|
||||
hitType: 'event',
|
||||
eventCategory: 'button',
|
||||
eventAction: 'click',
|
||||
eventLabel: 'Invite Friends',
|
||||
});
|
||||
},
|
||||
computed: {
|
||||
...mapState({user: 'user.data'}),
|
||||
inviter () {
|
||||
|
||||
Reference in New Issue
Block a user