mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 05:12:22 +00:00
614734c3e1
Add event on subscription page upgrade button click GitOrigin-RevId: 964eb6ad2d6ee7eceb3aac54501a61601d4948ac
11 lines
341 B
JavaScript
11 lines
341 B
JavaScript
import App from '../../base'
|
|
|
|
export default App.controller(
|
|
'UpgradeSubscriptionController',
|
|
function ($scope, eventTracking) {
|
|
$scope.upgradeSubscription = function () {
|
|
eventTracking.send('subscription-funnel', 'subscription-page', 'upgrade')
|
|
eventTracking.sendMB('subscription-page-upgrade-button-click')
|
|
}
|
|
}
|
|
)
|