]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/matomo.js
Add social sharing functionality
[rails.git] / app / assets / javascripts / matomo.js
index a48d9477d90a2c36516989f88af0e871a5ed58fa..7d147a55cfb3b36dc21ccd8929526d8ff5d2967e 100644 (file)
@@ -26,6 +26,7 @@ if (OSM.MATOMO) {
           matomoTracker.setSessionCookieTimeout(OSM.MATOMO.session_cookie_timeout);
         }
 
           matomoTracker.setSessionCookieTimeout(OSM.MATOMO.session_cookie_timeout);
         }
 
+        matomoTracker.setSecureCookie(true);
         matomoTracker.trackPageView();
         matomoTracker.enableLinkTracking();
 
         matomoTracker.trackPageView();
         matomoTracker.enableLinkTracking();