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:
Matt Lott 2014-11-09 21:47:51 -08:00
parent 9c6485b142
commit a3d88eb975
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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