From a48e50dab8220baff13d582798745852fed42d81 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Wed, 26 Apr 2023 13:10:50 +0200 Subject: [PATCH] [mirotalksfu] - improve umami --- public/js/Umami.js | 7 +++++++ public/views/404.html | 9 +-------- public/views/50X.html | 9 +-------- public/views/Room.html | 10 ++-------- public/views/about.html | 9 +-------- public/views/landing.html | 9 +-------- public/views/login.html | 9 +-------- public/views/newroom.html | 9 +-------- public/views/permission.html | 9 +-------- public/views/privacy.html | 9 +-------- 10 files changed, 17 insertions(+), 72 deletions(-) create mode 100644 public/js/Umami.js diff --git a/public/js/Umami.js b/public/js/Umami.js new file mode 100644 index 00000000..026c4dcc --- /dev/null +++ b/public/js/Umami.js @@ -0,0 +1,7 @@ +// https://github.com/mikecao/umami + +const script = document.createElement('script'); +script.setAttribute('async', ''); +script.setAttribute('src', 'https://stats.mirotalk.com/script.js'); +script.setAttribute('data-website-id', '41d26670-f275-45bb-af82-3ce91fe57756'); +document.head.appendChild(script); diff --git a/public/views/404.html b/public/views/404.html index e3cee78f..5a3895fd 100755 --- a/public/views/404.html +++ b/public/views/404.html @@ -1,14 +1,6 @@ - - - - MiroTalk SFU - 404 Page not found. @@ -39,6 +31,7 @@ + diff --git a/public/views/50X.html b/public/views/50X.html index fd5296d5..a546a192 100755 --- a/public/views/50X.html +++ b/public/views/50X.html @@ -1,14 +1,6 @@ - - - - MiroTalk SFU - 50X Under Maintenance. @@ -39,6 +31,7 @@ + diff --git a/public/views/Room.html b/public/views/Room.html index 1cbdd90a..e70371fe 100644 --- a/public/views/Room.html +++ b/public/views/Room.html @@ -1,14 +1,6 @@ - - - - MiroTalk SFU - Room Video Calls, Messaging and Screen Sharing. @@ -68,6 +60,8 @@ crossorigin="anonymous" > + + diff --git a/public/views/about.html b/public/views/about.html index 93d4eb5e..c7c00c2b 100644 --- a/public/views/about.html +++ b/public/views/about.html @@ -1,14 +1,6 @@ - - - - MiroTalk SFU - About. @@ -48,6 +40,7 @@ + diff --git a/public/views/landing.html b/public/views/landing.html index 90549a11..b262c398 100644 --- a/public/views/landing.html +++ b/public/views/landing.html @@ -1,14 +1,6 @@ - - - - MiroTalk SFU, Free Video Calls, Messaging and Screen Sharing @@ -49,6 +41,7 @@ + diff --git a/public/views/login.html b/public/views/login.html index 370d97e4..0b0dd222 100644 --- a/public/views/login.html +++ b/public/views/login.html @@ -1,14 +1,6 @@ - - - - MiroTalk SFU - Host Protected login required. @@ -48,6 +40,7 @@ + diff --git a/public/views/newroom.html b/public/views/newroom.html index b0fd205c..d3b2c9fe 100755 --- a/public/views/newroom.html +++ b/public/views/newroom.html @@ -1,14 +1,6 @@ - - - - MiroTalk SFU - Create your Room name and start the new call. @@ -49,6 +41,7 @@ + diff --git a/public/views/permission.html b/public/views/permission.html index 7e408258..690ad01d 100755 --- a/public/views/permission.html +++ b/public/views/permission.html @@ -1,14 +1,6 @@ - - - - MiroTalk SFU - Allow Video or Audio access to join in the Room. @@ -39,6 +31,7 @@ + diff --git a/public/views/privacy.html b/public/views/privacy.html index df3339a2..ace5cd7b 100755 --- a/public/views/privacy.html +++ b/public/views/privacy.html @@ -1,14 +1,6 @@ - - - - MiroTalk SFU - privacy policy. @@ -39,6 +31,7 @@ +