Analytics: track generic events through the server (#12735)
* Loggly-only user support events (#12676) * feat(analytics): Loggly-only user support events * fix(analytics): clean up more Unknowns * wip: allow tracking events from the server * analytics: allow tracking generic events on the server * remove console.logs * remove console.log (client) * add integration test Co-authored-by: Sabe Jones <sabrecat@gmail.com>
This commit is contained in:
@@ -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' });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user