mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-26 12:50:31 -04:00
Stop tracking Simulator events to Mixpanel.
This commit is contained in:
parent
52b2e756ef
commit
564c463431
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue