diff --git a/app/views/play/level_view.coffee b/app/views/play/level_view.coffee index aed4a768b..70f5d7e47 100644 --- a/app/views/play/level_view.coffee +++ b/app/views/play/level_view.coffee @@ -89,7 +89,7 @@ module.exports = class PlayLevelView extends View setTimeout f, 100 else @load() - application.tracker?.trackEvent 'Started Level Load', level: @levelID, label: @levelID + application.tracker?.trackEvent 'Started Level Load', level: @levelID, label: @levelID, ['Google Analytics'] setUpHourOfCode: -> me.set 'hourOfCode', true @@ -291,7 +291,7 @@ module.exports = class PlayLevelView extends View @loadEndTime = new Date() loadDuration = @loadEndTime - @loadStartTime console.debug "Level unveiled after #{(loadDuration / 1000).toFixed(2)}s" - application.tracker?.trackEvent 'Finished Level Load', level: @levelID, label: @levelID, loadDuration: loadDuration + application.tracker?.trackEvent 'Finished Level Load', level: @levelID, label: @levelID, loadDuration: loadDuration, ['Google Analytics'] application.tracker?.trackTiming loadDuration, 'Level Load Time', @levelID, @levelID onSurfaceSetUpNewWorld: ->