Revert "Analytics: track generic events through the server (#12735)"

This reverts commit 48dbe547c0.
This commit is contained in:
Sabe Jones
2020-11-05 15:44:30 -06:00
parent b97d514c68
commit 9d6fb2ca26
16 changed files with 17 additions and 120 deletions
@@ -232,7 +232,7 @@ export default {
eventCategory: 'drop-cap-reached',
eventAction: 'click',
eventLabel: 'Drop Cap Reached > Modal > Wiki',
}, { trackOnServer: true });
});
},
toLearnMore () {
Analytics.track({
@@ -240,7 +240,7 @@ export default {
eventCategory: 'drop-cap-reached',
eventAction: 'click',
eventLabel: 'Drop Cap Reached > Modal > Subscriptions',
}, { trackOnServer: true });
});
this.close();
this.$router.push('/user/settings/subscription');
@@ -36,7 +36,7 @@ export default {
eventCategory: 'drop-cap-reached',
eventAction: 'click',
eventLabel: 'Drop Cap Reached > Notification Click',
}, { trackOnServer: true });
});
},
},
};
@@ -183,7 +183,7 @@ export default {
eventCategory: 'button',
eventAction: 'click',
eventLabel: 'User Dropdown > Subscriptions',
}, { trackOnServer: true });
});
this.$router.push({ name: 'subscription' });
},