From bf25e82f2246b9c9cf4418dbfead91a34fecafc9 Mon Sep 17 00:00:00 2001 From: insectengine Date: Mon, 13 May 2024 06:39:30 -0500 Subject: [PATCH] Matomo POC Closing (#67) * Remove Matomo POC tracking code * remove from CSP --- _includes/head.html | 14 +------------- js/tracking.js | 8 -------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 js/tracking.js diff --git a/_includes/head.html b/_includes/head.html index 309b62f..cfcea61 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -9,7 +9,7 @@ + content="default-src https://www.youtube.com https://www.google-analytics.com; style-src 'self' https://cdnjs.cloudflare.com; img-src 'self' https://static.jboss.org https://www.google-analytics.com; font-src 'self' https://cdnjs.cloudflare.com; script-src 'self' https://maxcdn.bootstrapcdn.com https://www.google-analytics.com https://cdnjs.cloudflare.com https://www.apicurio.io https://www.googletagmanager.com; frame-ancestors 'none'; base-uri 'none'; form-action 'none';"> @@ -25,16 +25,4 @@ {% seo %} - - - - - - - - diff --git a/js/tracking.js b/js/tracking.js deleted file mode 100644 index 10c2b5e..0000000 --- a/js/tracking.js +++ /dev/null @@ -1,8 +0,0 @@ -var idSite = 3; -var matomoTrackingApiUrl = 'https://analytics.ossupstream.org/matomo.php'; - -var _paq = window._paq = window._paq || []; -_paq.push(['setTrackerUrl', matomoTrackingApiUrl]); -_paq.push(['setSiteId', idSite]); -_paq.push(['trackPageView']); -_paq.push(['enableLinkTracking']); \ No newline at end of file