From bf249af5b3ceab602bb910c5a6717bfc23f44ff3 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 8 Dec 2022 22:45:02 +0000 Subject: [PATCH 1/1] Set secure flag for matomo cookies --- app/assets/javascripts/matomo.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/matomo.js b/app/assets/javascripts/matomo.js index a48d9477d..c89cfd3e7 100644 --- a/app/assets/javascripts/matomo.js +++ b/app/assets/javascripts/matomo.js @@ -26,6 +26,7 @@ if (OSM.MATOMO) { matomoTracker.setSessionCookieTimeout(OSM.MATOMO.session_cookie_timeout); } + matomoTracker.setSecureCookie( true ); matomoTracker.trackPageView(); matomoTracker.enableLinkTracking(); -- 2.39.5