You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rz...@apache.org on 2021/05/22 19:41:00 UTC

[tomee-site-generator] branch master updated: Revert "Removes Google Analytics according to https://privacy.apache.org/faq/committers.html"

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

rzo1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-site-generator.git


The following commit(s) were added to refs/heads/master by this push:
     new 1788641  Revert "Removes Google Analytics according to https://privacy.apache.org/faq/committers.html"
1788641 is described below

commit 178864187e963ce50a0d34f1ec8d38c9d51a0dc7
Author: Richard Zowalla <rz...@apache.org>
AuthorDate: Sat May 22 21:40:47 2021 +0200

    Revert "Removes Google Analytics according to https://privacy.apache.org/faq/committers.html"
    
    This reverts commit 3070c45d
---
 src/main/jbake/content/privacy-policy.adoc |  4 +++-
 src/main/jbake/templates/header.gsp        | 19 +++++++++++++++++--
 2 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/src/main/jbake/content/privacy-policy.adoc b/src/main/jbake/content/privacy-policy.adoc
index e0bb61f..d7c992f 100644
--- a/src/main/jbake/content/privacy-policy.adoc
+++ b/src/main/jbake/content/privacy-policy.adoc
@@ -11,7 +11,9 @@ The collected information consists of the following:
 and
 . The addresses of pages from where you followed a link to our site.
 
+Part of this information is gathered using a tracking cookie set by the http://www.google.com/analytics/[Google Analytics]  service and handled by Google as described in their [privacy policy|http://www.google.com/privacy.html] . See your browser documentation for instructions on how to disable the cookie if you prefer not to share this data with Google.
+
 We use the gathered information to help us make our site more useful to visitors and to better understand how and when our site is used.
 We do not track or collect personally identifiable information or associate gathered data with any personally identifying information from other sources.
 
-By using this website, you consent to the collection of this data in the manner and for the purpose described above.
\ No newline at end of file
+By using this website, you consent to the collection of this data in the manner and for the purpose described above.
diff --git a/src/main/jbake/templates/header.gsp b/src/main/jbake/templates/header.gsp
index 6be773b..2f0d662 100755
--- a/src/main/jbake/templates/header.gsp
+++ b/src/main/jbake/templates/header.gsp
@@ -7,8 +7,8 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<title>Apache TomEE</title>
 	<meta name="description"
-		  content="Apache TomEE is a lightweight, yet powerful, JavaEE / JakartaEE Application server with feature rich tooling." />
-	<meta name="keywords" content="tomee,asf,apache,javaee,jakartaee,jee,shade,embedded,test,junit,applicationcomposer,maven,arquillian" />
+		  content="Apache TomEE is a lightweight, yet powerful, JavaEE Application server with feature rich tooling." />
+	<meta name="keywords" content="tomee,asf,apache,javaee,jee,shade,embedded,test,junit,applicationcomposer,maven,arquillian" />
 	<meta name="author" content="Luka Cvetinovic for Codrops" />
 	<link rel="icon" href="<%if (content.rootpath) {%>${content.rootpath}<% } else { %><% }%>favicon.ico">
 	<link rel="icon"  type="image/png" href="<%if (content.rootpath) {%>${content.rootpath}<% } else { %><% }%>favicon.png">
@@ -23,6 +23,21 @@
 	<link rel="stylesheet" type="text/css" href="<%if (content.rootpath) {%>${content.rootpath}<% } else { %><% }%>css/jqtree.css">
 	<link rel="stylesheet" type="text/css" href="<%if (content.rootpath) {%>${content.rootpath}<% } else { %><% }%>css/idea.css">
 	<link rel="stylesheet" type="text/css" href="<%if (content.rootpath) {%>${content.rootpath}<% } else { %><% }%>css/cardio.css">
+
+	<script type="text/javascript">
+
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-2717626-1']);
+      _gaq.push(['_setDomainName', 'apache.org']);
+      _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>
 
 <body>