mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #1818 from overleaf/jel-trial-impression-timeout
Send timeout trial impression event GitOrigin-RevId: 6931c3063c094cff843ffa7fac5a513af8f6b8f5
This commit is contained in:
parent
f0e39f7a86
commit
81c3f1919e
1 changed files with 10 additions and 0 deletions
|
@ -407,6 +407,16 @@ define([
|
|||
$scope.pdf.view = 'errors'
|
||||
$scope.pdf.timedout = true
|
||||
fetchLogs(fileByPath, { pdfDownloadDomain })
|
||||
if (
|
||||
!$scope.hasPremiumCompile &&
|
||||
ide.$scope.project.owner._id === ide.$scope.user.id
|
||||
) {
|
||||
event_tracking.send(
|
||||
'subscription-funnel',
|
||||
'editor-click-feature',
|
||||
'compile-timeout'
|
||||
)
|
||||
}
|
||||
} else if (response.status === 'terminated') {
|
||||
$scope.pdf.view = 'errors'
|
||||
$scope.pdf.compileTerminated = true
|
||||
|
|
Loading…
Reference in a new issue