diff --git a/js/html_actuator.js b/js/html_actuator.js
index 3452be98bade620c8c121b8a03e7a823c27c74ab..2b855179c81f048d2885fa75e1a6db02ee5fa3fe 100644
--- a/js/html_actuator.js
+++ b/js/html_actuator.js
@@ -111,6 +111,8 @@ HTMLActuator.prototype.message = function (won) {
var type = won ? "game-won" : "game-over";
var message = won ? "You win!" : "Game over!"
+ if (ga) ga("send", "event", "game", "end", type, this.score);
+
this.messageContainer.classList.add(type);
this.messageContainer.getElementsByTagName("p")[0].textContent = message;