[Scummvm-git-logs] scummvm-web master -> ce0648ca0120470861939926a88bb14f3707fd3f
lotharsm
mail at serra.me
Sat Apr 24 14:46:18 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .
Summary:
ce0648ca01 WEB: Remove Google Analytics integration
Commit: ce0648ca0120470861939926a88bb14f3707fd3f
https://github.com/scummvm/scummvm-web/commit/ce0648ca0120470861939926a88bb14f3707fd3f
Author: Lothar Serra Mari (mail at serra.me)
Date: 2021-04-24T16:37:55+02:00
Commit Message:
WEB: Remove Google Analytics integration
Changed paths:
templates/pages/index.tpl
diff --git a/templates/pages/index.tpl b/templates/pages/index.tpl
index 21361495..def83425 100644
--- a/templates/pages/index.tpl
+++ b/templates/pages/index.tpl
@@ -155,18 +155,7 @@
}
})
</script>
- {if isset($smarty.cookies.cookie_consent) && $smarty.cookies.cookie_consent == "true"}
- {* Google analytics javascript. *}
- <script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
- <script type="text/javascript">
- _uacct = "UA-1455743-1";
- _udn = "scummvm.org";
- urchinTracker();
- </script>
- {* End Google analytics javascript. *}
- {else if isset($smarty.cookies.cookie_consent) && $smarty.cookies.cookie_consent == "false"}
- {* Do nothing *}
- {else}
+ {if !isset($smarty.cookies.cookie_consent)}
{include file='components/cookie.tpl'}
{/if}
</body>
More information about the Scummvm-git-logs
mailing list