mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix(analytics): remove testing code
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user