mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 18:03:43 +00:00
Reset to new analytics key
This commit is contained in:
parent
76e3f0ab9f
commit
8174a849a1
2 changed files with 2 additions and 2 deletions
|
@ -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 })
|
||||
|
|
|
@ -23,4 +23,4 @@ define [
|
|||
|
||||
$scope.dismiss = () ->
|
||||
$scope.onboarding.autoCompile = 'dismissed'
|
||||
event_tracking.sendMB "shown-autocompile-onboarding"
|
||||
event_tracking.sendMB "shown-autocompile-onboarding-2"
|
||||
|
|
Loading…
Reference in a new issue