mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 10:21:30 +00:00
removed some editor actions sent to google analytics as we are sending too much data
This commit is contained in:
parent
6c75a6dbe5
commit
2d03410c42
3 changed files with 0 additions and 15 deletions
|
@ -117,9 +117,6 @@ block content
|
||||||
};
|
};
|
||||||
window.aceFingerprint = "#{fingerprint(jsPath + 'ace/ace.js')}"
|
window.aceFingerprint = "#{fingerprint(jsPath + 'ace/ace.js')}"
|
||||||
|
|
||||||
script(type='text/javascript').
|
|
||||||
ga('send', 'event', 'editor-interaction', 'editor-opened')
|
|
||||||
|
|
||||||
- locals.suppressDefaultJs = true
|
- locals.suppressDefaultJs = true
|
||||||
|
|
||||||
- var pdfPath = 'libs/pdfjs-1.0.1040/pdf.worker.js'
|
- var pdfPath = 'libs/pdfjs-1.0.1040/pdf.worker.js'
|
||||||
|
|
|
@ -78,10 +78,6 @@ define [], () ->
|
||||||
@$scope.$apply () =>
|
@$scope.$apply () =>
|
||||||
@$scope.connection.reconnecting = false
|
@$scope.connection.reconnecting = false
|
||||||
|
|
||||||
setTimeout(=>
|
|
||||||
ga('send', 'event', 'editor-interaction', 'disconnect')
|
|
||||||
, 2000)
|
|
||||||
|
|
||||||
if !$scope.connection.forced_disconnect and !@userIsInactive
|
if !$scope.connection.forced_disconnect and !@userIsInactive
|
||||||
@startAutoReconnectCountdown()
|
@startAutoReconnectCountdown()
|
||||||
|
|
||||||
|
|
|
@ -118,20 +118,12 @@ define [
|
||||||
|
|
||||||
return path
|
return path
|
||||||
|
|
||||||
compileCount = 0
|
|
||||||
$scope.recompile = (options = {}) ->
|
$scope.recompile = (options = {}) ->
|
||||||
return if $scope.pdf.compiling
|
return if $scope.pdf.compiling
|
||||||
$scope.pdf.compiling = true
|
$scope.pdf.compiling = true
|
||||||
|
|
||||||
ide.$scope.$broadcast("flush-changes")
|
ide.$scope.$broadcast("flush-changes")
|
||||||
|
|
||||||
if !options.isAutoCompile
|
|
||||||
compileCount++
|
|
||||||
if compileCount == 1
|
|
||||||
event_tracking.send('editor-interaction', 'single-compile')
|
|
||||||
else if compileCount == 3
|
|
||||||
event_tracking.send('editor-interaction', 'multi-compile')
|
|
||||||
|
|
||||||
options.rootDocOverride_id = getRootDocOverride_id()
|
options.rootDocOverride_id = getRootDocOverride_id()
|
||||||
|
|
||||||
sendCompileRequest(options)
|
sendCompileRequest(options)
|
||||||
|
|
Loading…
Reference in a new issue