Move more analytics to server (#12782)

* track events on the client by default, remove unused ones

* fix lint, remove some calls to updateUser

* remove dead code from guide.js
This commit is contained in:
Matteo Pagliazzi
2020-11-13 15:42:46 +01:00
committed by GitHub
parent 41de90e578
commit d3ba0346af
12 changed files with 11 additions and 53 deletions
@@ -622,13 +622,6 @@ export default {
await this.$store.dispatch('guilds:join', { groupId: this.group._id, type: 'guild' });
},
clickLeave () {
Analytics.track({
hitType: 'event',
eventCategory: 'button',
eventAction: 'click',
eventLabel: 'Leave Party',
});
// @TODO: Get challenges and ask to keep or remove
if (!window.confirm('Are you sure you want to leave?')) return; // eslint-disable-line no-alert
const keep = true;