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':
|
'oasis':
|
||||||
requiredGear: {}
|
requiredGear: {}
|
||||||
restrictedGear: {}
|
restrictedGear: {}
|
||||||
'savern-road':
|
'sarven-road':
|
||||||
requiredGear: {}
|
requiredGear: {}
|
||||||
restrictedGear: {}
|
restrictedGear: {}
|
||||||
'savern-gaps':
|
'sarven-gaps':
|
||||||
requiredGear: {}
|
requiredGear: {}
|
||||||
restrictedGear: {}
|
restrictedGear: {}
|
||||||
'thunderhooves':
|
'thunderhooves':
|
||||||
|
|
|
@ -110,7 +110,7 @@ module.exports = class LevelLoadingView extends CocoView
|
||||||
|
|
||||||
onClickStartSubscription: (e) ->
|
onClickStartSubscription: (e) ->
|
||||||
@openModalView new SubscribeModal()
|
@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']
|
window.tracker?.trackPageView "subscription/show-modal", ['Google Analytics']
|
||||||
|
|
||||||
onSubscribed: ->
|
onSubscribed: ->
|
||||||
|
|
Reference in a new issue