Browse Source

changed label to send to GA

Henry Oswald 12 năm trước cách đây
mục cha
commit
f25dba10ea

+ 1 - 1
services/web/public/coffee/analytics/AbTestingManager.coffee

@@ -13,7 +13,7 @@ define [
 
 		_persistCookieStep = (testName, bucket, newStep)->
 			ipCookie(_buildCookieKey(testName, bucket), {step:newStep}, {expires:100})
-			ga('send', 'event', 'ab_tests', "#{testName}:#{bucket}", {step:newStep})
+			ga('send', 'event', 'ab_tests', "#{testName}:#{bucket}", "step-#{newStep}")
 
 		_checkIfStepIsNext = (cookieStep, newStep)->
 			if !cookieStep? and newStep != 0