mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Disable tracking of a few high frequency events.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user