mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #7331 from overleaf/ab-upgrade-button-event
[web] Add upgrade-button-click event with source segmentation key GitOrigin-RevId: c095e2e8e521b6aad40509b49cedd1cd6afc0e66
This commit is contained in:
parent
b28271082c
commit
9cd5922cef
2 changed files with 6 additions and 1 deletions
|
@ -8,6 +8,9 @@ export default App.controller(
|
|||
|
||||
$scope.upgradeSubscription = function () {
|
||||
eventTracking.send('subscription-funnel', 'project-page', 'upgrade')
|
||||
eventTracking.sendMB('upgrade-button-click', {
|
||||
source: 'dashboard',
|
||||
})
|
||||
}
|
||||
|
||||
$scope.share = function () {
|
||||
|
|
|
@ -5,7 +5,9 @@ export default App.controller(
|
|||
function ($scope, eventTracking) {
|
||||
$scope.upgradeSubscription = function () {
|
||||
eventTracking.send('subscription-funnel', 'subscription-page', 'upgrade')
|
||||
eventTracking.sendMB('subscription-page-upgrade-button-click')
|
||||
eventTracking.sendMB('upgrade-button-click', {
|
||||
source: 'subscription-page',
|
||||
})
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue