Fixed analytics tracking a whole level instead of just its name in one case. Fixed a Sarven typo.
This commit is contained in:
parent
68678a6057
commit
72d4cad858
2 changed files with 3 additions and 3 deletions
app
|
@ -311,10 +311,10 @@ module.exports = LevelOptions =
|
|||
'oasis':
|
||||
requiredGear: {}
|
||||
restrictedGear: {}
|
||||
'savern-road':
|
||||
'sarven-road':
|
||||
requiredGear: {}
|
||||
restrictedGear: {}
|
||||
'savern-gaps':
|
||||
'sarven-gaps':
|
||||
requiredGear: {}
|
||||
restrictedGear: {}
|
||||
'thunderhooves':
|
||||
|
|
|
@ -110,7 +110,7 @@ module.exports = class LevelLoadingView extends CocoView
|
|||
|
||||
onClickStartSubscription: (e) ->
|
||||
@openModalView new SubscribeModal()
|
||||
window.tracker?.trackEvent 'Show subscription modal', category: 'Subscription', label: 'level loading', level: @options.level ? 'unknown'
|
||||
window.tracker?.trackEvent 'Show subscription modal', category: 'Subscription', label: 'level loading', level: @options.level.get('name') ? 'unknown'
|
||||
window.tracker?.trackPageView "subscription/show-modal", ['Google Analytics']
|
||||
|
||||
onSubscribed: ->
|
||||
|
|
Reference in a new issue