Merge pull request #1812 from overleaf/jel-trial-impression-history

Send history trial impression event

GitOrigin-RevId: 7256738eda99bae2b2be11459e5eba164afdc2f4
This commit is contained in:
Jessica Lawshe 2019-06-06 10:32:54 -05:00 committed by sharelatex
parent 48b5c7e209
commit 0fe129f3f5

View file

@ -869,6 +869,15 @@ define([
) { ) {
cutOffIndex = i || 1 // Make sure that we show at least one entry (to allow labelling). cutOffIndex = i || 1 // Make sure that we show at least one entry (to allow labelling).
this.$scope.history.freeHistoryLimitHit = true 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 break
} }
} }