Reset to new analytics key

This commit is contained in:
Alasdair Smith 2017-11-08 11:01:36 +00:00
parent 76e3f0ab9f
commit 8174a849a1
2 changed files with 2 additions and 2 deletions

View file

@ -268,7 +268,7 @@ module.exports = ProjectController =
# Don't show for users who registered after it was released
return cb(null, { enabled: true, showOnboarding: false })
timeout = setTimeout cb, 500
AnalyticsManager.getLastOccurance user_id, "shown-autocompile-onboarding", (error, event) ->
AnalyticsManager.getLastOccurance user_id, "shown-autocompile-onboarding-2", (error, event) ->
clearTimeout timeout
if error?
return cb(null, { enabled: true, showOnboarding: false })

View file

@ -23,4 +23,4 @@ define [
$scope.dismiss = () ->
$scope.onboarding.autoCompile = 'dismissed'
event_tracking.sendMB "shown-autocompile-onboarding"
event_tracking.sendMB "shown-autocompile-onboarding-2"