1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-08 18:40:35 +00:00

changed label to send to GA

This commit is contained in:
Henry Oswald 2014-09-02 10:47:58 +01:00
parent 326900c467
commit f25dba10ea

View file

@ -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