mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 05:11:34 +02:00
Merge pull request #1728 from sharelatex/jel-feature-event
Track events that display "Start Free Trial" buttons GitOrigin-RevId: 4890d8f1da8b0cd47d7c97eab322e6048f774d30
This commit is contained in:
committed by
sharelatex
parent
cc96ecfd74
commit
6c04bc8712
@@ -907,10 +907,19 @@ define([
|
||||
return ($scope.reviewPanel.fullTCStateCollapsed = !$scope.reviewPanel
|
||||
.fullTCStateCollapsed)
|
||||
} else {
|
||||
_sendAnalytics()
|
||||
return $scope.openTrackChangesUpgradeModal()
|
||||
}
|
||||
}
|
||||
|
||||
const _sendAnalytics = () => {
|
||||
event_tracking.send(
|
||||
'subscription-funnel',
|
||||
'editor-click-feature',
|
||||
'real-time-track-changes'
|
||||
)
|
||||
}
|
||||
|
||||
const _setUserTCState = function(userId, newValue, isLocal) {
|
||||
if (isLocal == null) {
|
||||
isLocal = false
|
||||
|
||||
Reference in New Issue
Block a user