diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-06-08 19:50:41 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 17:09:16 +0100 |
| commit | 97ec1efce2bdffd7eeadbbb024fc6f3ffaebfb1e (patch) | |
| tree | d506f5a011067ae2bd0b5cfe7113740db1e26596 /src/RouterParamMixin.js | |
| parent | c3d31d95e2875b3a1bcea8bd368dd75bda813ab9 (diff) | |
| download | brokentalents-97ec1efce2bdffd7eeadbbb024fc6f3ffaebfb1e.tar.gz brokentalents-97ec1efce2bdffd7eeadbbb024fc6f3ffaebfb1e.zip | |
Add GA events
Diffstat (limited to 'src/RouterParamMixin.js')
| -rw-r--r-- | src/RouterParamMixin.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/RouterParamMixin.js b/src/RouterParamMixin.js index 62f5cd9..6172d55 100644 --- a/src/RouterParamMixin.js +++ b/src/RouterParamMixin.js @@ -5,6 +5,7 @@ export default { return this.$route.query.actor || '*Kensei*'; }, set: function(value) { + this.$ga.event('Hero', 'update', value); const query = Object.assign({}, this.$route.query, { actor: value }); this.$router.push({ query }); }, @@ -14,6 +15,7 @@ export default { return this.$route.query.mode || 'blitz_pvp_ranked'; }, set: function(value) { + this.$ga.event('Mode', 'update', value); const query = Object.assign({}, this.$route.query, { mode: value }); this.$router.push({ query }); }, |
