diff --git a/index.html b/index.html index 07bba55b1..07af9be4a 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,8 @@ + Hextris diff --git a/js_prod_v3/main.js b/js_prod_v3/main.js index c98320a1e..6862e3a74 100644 --- a/js_prod_v3/main.js +++ b/js_prod_v3/main.js @@ -67,6 +67,7 @@ function hideUIElements() { function init(b) { if (b) { + mixpanel.track("Restart"); hidebottombar(); @@ -80,6 +81,10 @@ function init(b) { }, 7000); clearSaveState(); } + else{ + mixpanel.track("Game Started"); + } + $("#pauseBtnInner").html(''); hideUIElements(); diff --git a/js_prod_v3/view.js b/js_prod_v3/view.js index db46371ad..d3a7533f4 100644 --- a/js_prod_v3/view.js +++ b/js_prod_v3/view.js @@ -132,7 +132,7 @@ function showText(text) { } } } - messages['gameover'] += "
Share Your Score on Twitter!!!
" + messages['gameover'] += "
Share Your Score on Twitter!!!
" $("#overlay").html(messages[text]); $("#overlay").fadeIn("1000", "swing");