fix(analytics): correct formatting for client events

Also corrects end date in Bird Buddies string
This commit is contained in:
Sabe Jones
2021-09-15 11:21:16 -05:00
parent 660d6f7777
commit 5bfef56dfa
5 changed files with 14 additions and 26 deletions
@@ -89,7 +89,6 @@
</style>
<script>
import * as Analytics from '@/libs/analytics';
import { mapState } from '@/libs/store';
import BaseBanner from './base';
@@ -118,14 +117,7 @@ export default {
},
methods: {
openGemsModal () {
Analytics.track({
hitType: 'event',
eventCategory: 'button',
eventAction: 'click',
eventLabel: 'Gems Promo Banner',
});
this.$root.$emit('bv::show::modal', 'buy-gems', { alreadyTracked: true });
this.$root.$emit('bv::show::modal', 'buy-gems');
},
},
};
@@ -63,7 +63,6 @@
</style>
<script>
import * as Analytics from '@/libs/analytics';
import { mapState } from '@/libs/store';
import BaseBanner from './base';
@@ -95,13 +94,6 @@ export default {
},
methods: {
showSelectUser () {
Analytics.track({
hitType: 'event',
eventCategory: 'button',
eventAction: 'click',
eventLabel: 'Gift Promo Banner',
});
this.$root.$emit('bv::show::modal', 'select-user-modal');
},
},