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

sdelamo pushed a commit to branch remove-google-analytics
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git

commit 0d8957314af7a6995ba8e5c66ed564f763c0ca45
Author: Sergio del Amo <[email protected]>
AuthorDate: Thu Feb 6 11:16:38 2025 +0100

    remove google analytics script
---
 doc/manual/src/docs/asciidoc/docinfo.html | 17 -----------------
 doc/site/templates/main.html              | 20 --------------------
 2 files changed, 37 deletions(-)

diff --git a/doc/manual/src/docs/asciidoc/docinfo.html 
b/doc/manual/src/docs/asciidoc/docinfo.html
index 73236bf2..e69de29b 100644
--- a/doc/manual/src/docs/asciidoc/docinfo.html
+++ b/doc/manual/src/docs/asciidoc/docinfo.html
@@ -1,17 +0,0 @@
-<script type="text/javascript">
-
-    var _gaq = _gaq || [];
-    _gaq.push(['_setAccount', 'UA-15031038-2']);
-    _gaq.push(['_trackPageview', location.pathname + location.hash]);
-
-    window.onhashchange = function() {
-        _gaq.push(['_trackPageview', location.pathname + location.hash]);
-    };
-
-    (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>
\ No newline at end of file
diff --git a/doc/site/templates/main.html b/doc/site/templates/main.html
index 3446a9e3..112e2896 100644
--- a/doc/site/templates/main.html
+++ b/doc/site/templates/main.html
@@ -4,28 +4,8 @@
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <meta name="Robots" content="index,follow" />
-    <script type="text/javascript">
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-15031038-2']);
-        _gaq.push(['_trackPageview', location.pathname + location.hash]);
-
-        window.onhashchange = function() {
-            _gaq.push(['_trackPageview', location.pathname + location.hash]);
-        };
-
-        (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>
-
     <link rel="stylesheet" href="/css/semantic.min.css">
     <link rel="stylesheet" href="/css/base.css">
-
     <link type="text/css" rel="stylesheet" href="/css/shCore.css" />
     <link type="text/css" rel="stylesheet" href="/css/shThemeEclipse.css" />
     <title>Geb - Very Groovy Browser Automation</title>

Reply via email to