mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #1761 from overleaf/jel-trial-impression-collab
Send event on collaborator trial impression event GitOrigin-RevId: f19feaf2a00ef5728d7a190f0736efe76e417230
This commit is contained in:
parent
59cce6b52e
commit
7763427cea
1 changed files with 10 additions and 0 deletions
|
@ -58,6 +58,16 @@ define(['base'], App =>
|
|||
}
|
||||
$scope.refreshCanAddCollaborators()
|
||||
|
||||
$scope.$watch('canAddCollaborators', function() {
|
||||
if (!$scope.canAddCollaborators) {
|
||||
event_tracking.send(
|
||||
'subscription-funnel',
|
||||
'editor-click-feature',
|
||||
'projectMembers'
|
||||
)
|
||||
}
|
||||
})
|
||||
|
||||
$scope.$watch(
|
||||
'(project.members.length + project.invites.length)',
|
||||
_noOfMembers => $scope.refreshCanAddCollaborators()
|
||||
|
|
Loading…
Reference in a new issue