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

@@ -28,7 +28,7 @@ function($scope, $rootScope, User, $http, Notification, ApiUrl) {
// Google Analytics, only in production
if (window.env.NODE_ENV === 'production') {
// Get experiments API
$.getScript('//www.google-analytics.com/cx/api.js?experiment=pi26hZ3rRFaEPNiKqXbhqA', function(){
$.getScript('//www.google-analytics.com/cx/api.js?experiment=t-AFggRWQnuJ6Teck_x1-Q', function(){
$rootScope.variant = cxApi.chooseVariation();
$rootScope.$apply();