mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-15 04:24:52 +00:00
Disable tracking of a few high frequency events.
This commit is contained in:
parent
5349ea6ed8
commit
acd95b6215
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ define [
|
|||
|
||||
# Tracking code.
|
||||
$scope.$watch "ui.view", (newView, oldView) ->
|
||||
event_tracking.sendCountly "ide-open-view-#{ newView }" if newView?
|
||||
if newView? and newView != "editor" and newView != "pdf"
|
||||
event_tracking.sendCountly "ide-open-view-#{ newView }"
|
||||
|
||||
$scope.$watch "ui.chatOpen", (isOpen) ->
|
||||
event_tracking.sendCountly "ide-open-chat" if isOpen
|
||||
|
|
Loading…
Reference in a new issue