add tracking

This commit is contained in:
2023-04-01 19:47:16 +02:00
parent a915dd7efb
commit 5038381b65
4 changed files with 7 additions and 0 deletions

View File

@@ -35,6 +35,7 @@
$("#send").click(function(){
data = $("#ins").val();
if(data != ""){
umami.trackEvent('Admin send chat message', { type: 'chatadminmessage', code: kod});
$.post("index.php?chat=1&send=1",
{
text: data