feat(analytics): "motivate yourself" 3 variants @lemoness

This commit is contained in:
Tyler Renelle
2015-05-04 15:31:00 -04:00
parent 41a6818ea8
commit a090fed10b
4 changed files with 7 additions and 4 deletions

View File

@@ -185,13 +185,14 @@ function($rootScope, User, $timeout, $state) {
var showFinish = step.final || k == 'classes';
var showCounter = k=='intro' && !step.final;
$rootScope.variant=2; // temporarily set finish & counter on until we can get experiment working
// Experiment wud1Ba5qT1m9qR3PP0-Mmg , remove this when experiment complete
// 0=No Finish; Yes Counter 1=No Finish; No Counter 2=Yes Finish; Yes Counter 3=Yes Finish; No Counter
showFinish = showFinish || $rootScope.variant==2 || $rootScope.variant==3;
showCounter = showCounter && ($rootScope.variant==0 || $rootScope.variant==2);
// FIXME temporarily set finish & counter on until we can get experiment working
showFinish=true;showCounter=true;
return '<div class="popover" role="tooltip">' +
'<div class="arrow"></div>' +
'<h3 class="popover-title"></h3>' +