overleaf/services/web/frontend/js/main/subscription/upgrade-subscription.js
nate stemen dda4ce18d3 Merge pull request #2556 from overleaf/cmg-missing-analytics
Add missing Google Analytics events

GitOrigin-RevId: 37f8ca52829ea00bd73b2cd1e0045c48839ea970
2020-02-04 04:18:59 +00:00

9 lines
258 B
JavaScript

define(['base'], App =>
App.controller('UpgradeSubscriptionController', function(
$scope,
eventTracking
) {
$scope.upgradeSubscription = function() {
eventTracking.send('subscription-funnel', 'subscription-page', 'upgrade')
}
}))