ga completion event modif

This commit is contained in:
evaristoc
2015-12-23 23:31:48 +01:00
parent 235d55fbbf
commit c681c2e858
6 changed files with 2 additions and 11 deletions

View File

@ -13,8 +13,6 @@ window.common = (function(global) {
challengeTypes
} = common;
let attempts = 0;
common.executeChallenge$ = function executeChallenge$() {
const code = common.editor.getValue();
const originalCode = code;
@ -22,8 +20,6 @@ window.common = (function(global) {
const tail = common.arrayToNewLineString(common.tail);
const combinedCode = head + code + tail;
attempts++;
ga('send', 'event', 'Challenge', 'ran-code', common.challengeName);
// run checks for unsafe code