mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1812 from overleaf/jel-trial-impression-history
Send history trial impression event GitOrigin-RevId: 7256738eda99bae2b2be11459e5eba164afdc2f4
This commit is contained in:
parent
48b5c7e209
commit
0fe129f3f5
1 changed files with 9 additions and 0 deletions
|
@ -869,6 +869,15 @@ define([
|
|||
) {
|
||||
cutOffIndex = i || 1 // Make sure that we show at least one entry (to allow labelling).
|
||||
this.$scope.history.freeHistoryLimitHit = true
|
||||
if (this.$scope.project.owner._id === this.$scope.user.id) {
|
||||
ga(
|
||||
'send',
|
||||
'event',
|
||||
'subscription-funnel',
|
||||
'editor-click-feature',
|
||||
'history'
|
||||
)
|
||||
}
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue