mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05: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')
|
|
}
|
|
}
|
|
)
|