diff options
Diffstat (limited to 'static/js/home.js')
| -rwxr-xr-x | static/js/home.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/static/js/home.js b/static/js/home.js index b37bc8d..107486c 100755 --- a/static/js/home.js +++ b/static/js/home.js @@ -152,6 +152,9 @@ function login() { var hash = hex_sha1(nick + '$' + password + '$dumpfm'); var onSuccess = function(json) { + if (typeof pageTracker !== 'undefined') { + pageTracker._setCustomVar(1, "logged-in", nick, 1); + } location.href = "/chat"; }; |
