fix(analytics): remove testing code

This commit is contained in:
Tyler Renelle
2015-03-20 17:02:45 -06:00
parent fbcf8e9a6f
commit 5de42b03c9

View File

@@ -26,7 +26,7 @@ function($scope, $rootScope, User, $http, Notification, ApiUrl) {
$.getScript('//checkout.stripe.com/v2/checkout.js'); $.getScript('//checkout.stripe.com/v2/checkout.js');
// Google Analytics, only in production // Google Analytics, only in production
if (true || window.env.NODE_ENV === 'production') { if (window.env.NODE_ENV === 'production') {
// Get experiments API // Get experiments API
$.getScript('//www.google-analytics.com/cx/api.js?experiment=OPMHlSzSTj2gVYwUS72wlQ', function(){ $.getScript('//www.google-analytics.com/cx/api.js?experiment=OPMHlSzSTj2gVYwUS72wlQ', function(){
$rootScope.chosenVariation = cxApi.chooseVariation(); $rootScope.chosenVariation = cxApi.chooseVariation();