mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Update a/b test tracking data
cast button text was missing group auto first level and cast button text didn’t need action property
This commit is contained in:
parent
9c6485b142
commit
a3d88eb975
2 changed files with 4 additions and 4 deletions
|
@ -140,9 +140,9 @@ module.exports = class WorldMapView extends RootView
|
|||
levelElement = $(target).parents('.level')
|
||||
levelID = levelElement.data('level-id')
|
||||
@startLevel levelElement
|
||||
window.tracker?.trackEvent 'World Map', Action: 'ABAutoFirst', levelID: firstLevelID, directFirstGroup: testGroup
|
||||
window.tracker?.trackEvent 'World Map', levelID: firstLevelID, directFirstGroup: testGroup
|
||||
else if not me.isAdmin()
|
||||
window.tracker?.trackEvent 'World Map', Action: 'ABAutoFirst', levelID: firstLevelID, directFirstGroup: testGroup
|
||||
window.tracker?.trackEvent 'World Map', levelID: firstLevelID, directFirstGroup: testGroup
|
||||
@ABTestSkipHighlight = false
|
||||
else
|
||||
@ABTestSkipHighlight = false
|
||||
|
|
|
@ -156,7 +156,7 @@ module.exports = class CastButtonView extends CocoView
|
|||
when 4 then run: 'Test', submit: 'Continue'
|
||||
when 5 then run: 'Run', submit: 'Finish'
|
||||
when 6 then run: 'Test', submit: 'Finish'
|
||||
application.tracker?.trackEvent 'Spell View',
|
||||
Action: 'Loaded'
|
||||
application.tracker?.trackEvent 'Cast Button',
|
||||
levelID: @levelID
|
||||
castButtonText: @testButtonsText.run + ' ' + @testButtonsText.submit
|
||||
castButtonTextGroup: @testGroup
|
||||
|
|
Loading…
Reference in a new issue