mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Set variant when sixpack request successful
This commit is contained in:
parent
b9e63421a8
commit
356e31caec
1 changed files with 3 additions and 2 deletions
|
@ -152,8 +152,9 @@ define [
|
||||||
|
|
||||||
if $scope.shouldABTestPlans
|
if $scope.shouldABTestPlans
|
||||||
sixpack.participate 'plans-details', ['default', 'more-details'], (chosenVariation, rawResponse)->
|
sixpack.participate 'plans-details', ['default', 'more-details'], (chosenVariation, rawResponse)->
|
||||||
$scope.plansVariant = chosenVariation
|
if rawResponse?.status != 'failed'
|
||||||
event_tracking.send 'subscription-funnel', 'plans-page-loaded', chosenVariation
|
$scope.plansVariant = chosenVariation
|
||||||
|
event_tracking.send 'subscription-funnel', 'plans-page-loaded', chosenVariation
|
||||||
|
|
||||||
$scope.showPlans = true
|
$scope.showPlans = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue