Send event to Google Analytics when variant selected

This commit is contained in:
Jessica Lawshe 2018-06-15 16:11:45 -05:00
parent 07aedaa92b
commit 3de1721aa2

View file

@ -153,6 +153,7 @@ define [
if $scope.shouldABTestPlans
sixpack.participate 'plans-details', ['default', 'more-details'], (chosenVariation, rawResponse)->
$scope.plansVariant = chosenVariation
event_tracking.send 'subscription-funnel', 'plans-page-loaded', chosenVariation
$scope.showPlans = true