From 2d311b17da4d8c20f9f16937854c96b3f01ca982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 1 Apr 2023 22:27:26 +0200 Subject: [PATCH] add one tracker --- templates/login.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/login.html b/templates/login.html index 5da4396..f2e680a 100755 --- a/templates/login.html +++ b/templates/login.html @@ -31,6 +31,9 @@ }, function(data, status){ if (data == "verified"){ + try{ + umami.trackEvent('Good code', { type: 'goodcode', code: kod }); + } catch(e) {} $("#firstQuestion").fadeOut("slow", function(){ $("#secondQuestion").fadeIn("slow", function(){ $("#ini").focus();