Merge pull request #4100 from overleaf/ab-sub-page-click-event

Add event on subscription page upgrade button click

GitOrigin-RevId: 964eb6ad2d6ee7eceb3aac54501a61601d4948ac
This commit is contained in:
Jakob Ackermann 2021-05-27 11:30:12 +02:00 committed by Copybot
parent 8e9776fe3d
commit 614734c3e1

View file

@ -5,6 +5,7 @@ export default App.controller(
function ($scope, eventTracking) { function ($scope, eventTracking) {
$scope.upgradeSubscription = function () { $scope.upgradeSubscription = function () {
eventTracking.send('subscription-funnel', 'subscription-page', 'upgrade') eventTracking.send('subscription-funnel', 'subscription-page', 'upgrade')
eventTracking.sendMB('subscription-page-upgrade-button-click')
} }
} }
) )