From: Tom Hughes Date: Thu, 8 Dec 2022 22:45:02 +0000 (+0000) Subject: Set secure flag for matomo cookies X-Git-Tag: live~1386 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/bf249af5b3ceab602bb910c5a6717bfc23f44ff3?ds=sidebyside;hp=f20b250ba97e5330d83fc2fdd421f0bbcb4aacba Set secure flag for matomo cookies --- 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();