Stop tracking Simulator events to Mixpanel.

This commit is contained in:
Nick Winter 2014-06-21 09:17:46 -07:00
parent 52b2e756ef
commit 564c463431

View file

@ -141,7 +141,7 @@ module.exports = class Simulator extends CocoClass
console.log info
@trigger 'statusUpdate', info
@fetchAndSimulateOneGame()
application.tracker?.trackEvent 'Simulator Result', label: "No Games"
application.tracker?.trackEvent 'Simulator Result', label: "No Games", ['Google Analytics']
simulateAnotherTaskAfterDelay: =>
console.log "Retrying in #{@retryDelayInSeconds}"
@ -264,7 +264,7 @@ module.exports = class Simulator extends CocoClass
unless @options.headlessClient
simulatedBy = parseInt($('#simulated-by-you').text(), 10) + 1
$('#simulated-by-you').text(simulatedBy)
application.tracker?.trackEvent 'Simulator Result', label: "Success"
application.tracker?.trackEvent 'Simulator Result', label: "Success", ['Google Analytics']
handleTaskResultsTransferError: (error) =>
return if @destroyed