mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix analytics event label for when shouldABTestPlans: false
This commit is contained in:
parent
484ee9ad61
commit
6c92238f37
1 changed files with 2 additions and 2 deletions
|
@ -210,9 +210,9 @@ define [
|
|||
event_tracking.send 'subscription-funnel', 'plans-page', 'group-inquiry-potential'
|
||||
|
||||
eventLabel = (label, location) ->
|
||||
if location && $scope.plansVariant != 'default'
|
||||
if $scope.plansVariant && location && $scope.plansVariant != 'default'
|
||||
label = label + '-' + location
|
||||
if $scope.plansVariant != 'default'
|
||||
if $scope.plansVariant && $scope.plansVariant != 'default'
|
||||
label += '-exp-' + $scope.plansVariant
|
||||
label
|
||||
|
||||
|
|
Loading…
Reference in a new issue