You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gr...@apache.org on 2022/03/28 09:52:18 UTC

[logging-site] branch asf-staging updated: removed Google Analytics

This is an automated email from the ASF dual-hosted git repository.

grobmeier pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/logging-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new bf71703  removed Google Analytics
bf71703 is described below

commit bf71703702f9e4718137911f1002bfb0cf521080
Author: Christian Grobmeier <cg...@grobmeier.de>
AuthorDate: Mon Mar 28 11:51:47 2022 +0200

    removed Google Analytics
---
 sources/src/main/jbake/templates/header.ftl | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/sources/src/main/jbake/templates/header.ftl b/sources/src/main/jbake/templates/header.ftl
index 4b8af9e..6f0fa5c 100644
--- a/sources/src/main/jbake/templates/header.ftl
+++ b/sources/src/main/jbake/templates/header.ftl
@@ -10,17 +10,4 @@
     <script src="js/bootstrap.min.js"></script>
     <script src="js/site.js"></script>
 
-    <!-- Google Analytics -->
-    <script type="text/javascript">
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', '{{ googleAnalyticsID }}']);
-        _gaq.push (['_gat._anonymizeIp']);
-        _gaq.push(['_trackPageview']);
-
-        (function() {
-            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-        })();
-    </script>
 </head>