From 67076e13d7591cc0092496a08b9753db71c8e804 Mon Sep 17 00:00:00 2001 From: Bill Stumbo Date: Wed, 14 Jun 2023 23:28:08 -0400 Subject: [PATCH 1/2] Add Google Analytics to Online Interlisp. --- web-portal/client/views/layout.pug | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web-portal/client/views/layout.pug b/web-portal/client/views/layout.pug index 20ebdad..b11a59f 100644 --- a/web-portal/client/views/layout.pug +++ b/web-portal/client/views/layout.pug @@ -47,6 +47,14 @@ html(lang="en") document.querySelectorAll('dialog').forEach(dialogEl => dialogPolyfill.registerDialog(dialogEl)); }); + // Google tag (gtag.js) + script(async='' src="https://www.googletagmanager.com/gtag/js?id=G-JXK20KN1W1") + script. + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + gtag('config', 'G-JXK20KN1W1'); + script. var targetSystem = "#{targetSystem}"; var $buoop = { From 5c926cb32cabf5e4c1089ea2938b150ecc2050c5 Mon Sep 17 00:00:00 2001 From: Bill Stumbo Date: Sat, 17 Jun 2023 00:28:52 -0400 Subject: [PATCH 2/2] Add Google Analytics to vnc.html --- web-portal/client/novnc_oio/vnc.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/web-portal/client/novnc_oio/vnc.html b/web-portal/client/novnc_oio/vnc.html index 4ae487f..52bd846 100644 --- a/web-portal/client/novnc_oio/vnc.html +++ b/web-portal/client/novnc_oio/vnc.html @@ -57,6 +57,18 @@ + + + + + +