From a8f4baebbc47031d555aa3df6cdb27b370fb614e Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Sat, 21 Jun 2014 09:47:48 -0700 Subject: [PATCH] Restricted some more analytics. --- app/views/play/level_view.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: ->