[Scummvm-git-logs] scummvm-web master -> 11d4612fbaeb84e66d21771faf4c245d9bcb0bfe

lotharsm mail at serra.me
Fri Jul 23 14:23:44 UTC 2021


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
0a0b625a4b WEB: Remove Matomo integration
11d4612fba WEB: Remove cookie banner


Commit: 0a0b625a4b80da511eddeca2dffbb369a667bed4
    https://github.com/scummvm/scummvm-web/commit/0a0b625a4b80da511eddeca2dffbb369a667bed4
Author: Lothar Serra Mari (mail at serra.me)
Date: 2021-07-23T16:22:28+02:00

Commit Message:
WEB: Remove Matomo integration

Changed paths:
    templates/pages/index.tpl


diff --git a/templates/pages/index.tpl b/templates/pages/index.tpl
index def83425..3fb4f97c 100644
--- a/templates/pages/index.tpl
+++ b/templates/pages/index.tpl
@@ -42,31 +42,6 @@
     {/foreach}
 
     {if isset($smarty.cookies.cookie_consent) && $smarty.cookies.cookie_consent == "true"}
-    <!-- Matomo -->
-    <script type="text/javascript">
-        var _paq = _paq || [];
-        /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
-        _paq.push(["setCookieDomain", "*.scummvm.org"]);
-        _paq.push(['trackPageView']);
-        _paq.push(['enableLinkTracking']);
-        (function() {
-            var u = "https://analytics.scummvm.org/";
-            _paq.push(['setTrackerUrl', u + 'piwik.php']);
-            _paq.push(['setSiteId', '1']);
-            var d = document,
-                g = d.createElement('script'),
-                s = d.getElementsByTagName('script')[0];
-            g.type = 'text/javascript';
-            g.async = true;
-            g.defer = true;
-            g.src = u + 'piwik.js';
-            s.parentNode.insertBefore(g, s);
-        })();
-    </script>
-    <noscript>
-        <p><img src="https://analytics.scummvm.org/piwik.php?idsite=1&rec=1" style="border:0;" alt="" /></p>
-    </noscript>
-    <!-- End Matomo Code -->
     {/if}
 </head>
 


Commit: 11d4612fbaeb84e66d21771faf4c245d9bcb0bfe
    https://github.com/scummvm/scummvm-web/commit/11d4612fbaeb84e66d21771faf4c245d9bcb0bfe
Author: Lothar Serra Mari (mail at serra.me)
Date: 2021-07-23T16:23:30+02:00

Commit Message:
WEB: Remove cookie banner

Changed paths:
    templates/pages/index.tpl


diff --git a/templates/pages/index.tpl b/templates/pages/index.tpl
index 3fb4f97c..6d0888a1 100644
--- a/templates/pages/index.tpl
+++ b/templates/pages/index.tpl
@@ -41,8 +41,6 @@
     <link rel="stylesheet" href="/css/{$filename}">
     {/foreach}
 
-    {if isset($smarty.cookies.cookie_consent) && $smarty.cookies.cookie_consent == "true"}
-    {/if}
 </head>
 
 <body>
@@ -130,9 +128,6 @@
             }
         })
     </script>
-    {if !isset($smarty.cookies.cookie_consent)}
-    {include file='components/cookie.tpl'}
-    {/if}
 </body>
 
 </html>




More information about the Scummvm-git-logs mailing list