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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user